@@ -21,13 +21,18 @@ func ListRepositories(getClient GetClientFn, t translations.TranslationHelperFun
2121 mcp .Description ("Organization name" ),
2222 ),
2323 mcp .WithString ("type" ,
24- mcp .Description ("Type of repositories to list. Possible values are: all, public, private, forks, sources, member. Default is 'all'." ),
24+ mcp .Description ("Type of repositories to list." ),
25+ mcp .Enum ("all" , "public" , "private" , "forks" , "sources" , "member" ),
26+ mcp .DefaultString ("all" ),
2527 ),
2628 mcp .WithString ("sort" ,
27- mcp .Description ("How to sort the repository list. Can be one of created, updated, pushed, full_name. Default is 'created'" ),
29+ mcp .Description ("How to sort the repository list." ),
30+ mcp .Enum ("created" , "updated" , "pushed" , "full_name" ),
31+ mcp .DefaultString ("created" ),
2832 ),
2933 mcp .WithString ("direction" ,
30- mcp .Description ("Direction in which to sort repositories. Can be one of asc or desc. Default when using full_name: asc; otherwise desc." ),
34+ mcp .Description ("Direction in which to sort repositories. Default when using full_name: asc; otherwise desc." ),
35+ mcp .Enum ("asc" , "desc" ),
3136 ),
3237 WithPagination (),
3338 ),
0 commit comments