@@ -21,13 +21,18 @@ func ListRepositories(getClient GetClientFn, t translations.TranslationHelperFun
21
21
mcp .Description ("Organization name" ),
22
22
),
23
23
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" ),
25
27
),
26
28
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" ),
28
32
),
29
33
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" ),
31
36
),
32
37
WithPagination (),
33
38
),
0 commit comments