@@ -94,7 +94,7 @@ func UpdatePullRequest(getClient GetClientFn, t translations.TranslationHelperFu
94
94
mcp .Description ("New description" ),
95
95
),
96
96
mcp .WithString ("state" ,
97
- mcp .Description ("New state ('open' or 'closed') " ),
97
+ mcp .Description ("New state" ),
98
98
mcp .Enum ("open" , "closed" ),
99
99
),
100
100
mcp .WithString ("base" ,
@@ -201,7 +201,7 @@ func ListPullRequests(getClient GetClientFn, t translations.TranslationHelperFun
201
201
mcp .Description ("Repository name" ),
202
202
),
203
203
mcp .WithString ("state" ,
204
- mcp .Description ("Filter by state ('open', 'closed', 'all') " ),
204
+ mcp .Description ("Filter by state" ),
205
205
mcp .Enum ("open" , "closed" , "all" ),
206
206
),
207
207
mcp .WithString ("head" ,
@@ -211,11 +211,12 @@ func ListPullRequests(getClient GetClientFn, t translations.TranslationHelperFun
211
211
mcp .Description ("Filter by base branch" ),
212
212
),
213
213
mcp .WithString ("sort" ,
214
- mcp .Description ("Sort by ('created', 'updated', 'popularity', 'long-running') " ),
214
+ mcp .Description ("Sort by category " ),
215
215
mcp .Enum ("created" , "updated" , "popularity" , "long-running" ),
216
216
),
217
217
mcp .WithString ("direction" ,
218
- mcp .Description ("Sort direction ('asc', 'desc')" ),
218
+ mcp .Description ("Sort direction" ),
219
+ mcp .Enum ("asc" , "desc" ),
219
220
),
220
221
WithPagination (),
221
222
),
@@ -315,7 +316,7 @@ func MergePullRequest(getClient GetClientFn, t translations.TranslationHelperFun
315
316
mcp .Description ("Extra detail for merge commit" ),
316
317
),
317
318
mcp .WithString ("merge_method" ,
318
- mcp .Description ("Merge method ('merge', 'squash', 'rebase') " ),
319
+ mcp .Description ("Merge method" ),
319
320
mcp .Enum ("merge" , "squash" , "rebase" ),
320
321
),
321
322
),
@@ -674,21 +675,21 @@ func AddPullRequestReviewComment(getClient GetClientFn, t translations.Translati
674
675
mcp .Description ("The relative path to the file that necessitates a comment. Required unless in_reply_to is specified." ),
675
676
),
676
677
mcp .WithString ("subject_type" ,
677
- mcp .Description ("The level at which the comment is targeted ('line', 'file') " ),
678
+ mcp .Description ("The level at which the comment is targeted" ),
678
679
mcp .Enum ("line" , "file" ),
679
680
),
680
681
mcp .WithNumber ("line" ,
681
682
mcp .Description ("The line of the blob in the pull request diff that the comment applies to. For multi-line comments, the last line of the range" ),
682
683
),
683
684
mcp .WithString ("side" ,
684
- mcp .Description ("The side of the diff to comment on ('LEFT', 'RIGHT') " ),
685
+ mcp .Description ("The side of the diff to comment on" ),
685
686
mcp .Enum ("LEFT" , "RIGHT" ),
686
687
),
687
688
mcp .WithNumber ("start_line" ,
688
689
mcp .Description ("For multi-line comments, the first line of the range that the comment applies to" ),
689
690
),
690
691
mcp .WithString ("start_side" ,
691
- mcp .Description ("For multi-line comments, the starting side of the diff that the comment applies to ('LEFT', 'RIGHT') " ),
692
+ mcp .Description ("For multi-line comments, the starting side of the diff that the comment applies to" ),
692
693
mcp .Enum ("LEFT" , "RIGHT" ),
693
694
),
694
695
mcp .WithNumber ("in_reply_to" ,
@@ -896,7 +897,7 @@ func CreatePullRequestReview(getClient GetClientFn, t translations.TranslationHe
896
897
),
897
898
mcp .WithString ("event" ,
898
899
mcp .Required (),
899
- mcp .Description ("Review action ('APPROVE', 'REQUEST_CHANGES', 'COMMENT') " ),
900
+ mcp .Description ("Review action to perform " ),
900
901
mcp .Enum ("APPROVE" , "REQUEST_CHANGES" , "COMMENT" ),
901
902
),
902
903
mcp .WithString ("commitId" ,
0 commit comments