@@ -144,9 +144,23 @@ func searchIssues(client *github.Client, t translations.TranslationHelperFunc) (
144
144
),
145
145
mcp .WithString ("sort" ,
146
146
mcp .Description ("Sort field (comments, reactions, created, etc.)" ),
147
+ mcp .Enum (
148
+ "comments" ,
149
+ "reactions" ,
150
+ "reactions-+1" ,
151
+ "reactions--1" ,
152
+ "reactions-smile" ,
153
+ "reactions-thinking_face" ,
154
+ "reactions-heart" ,
155
+ "reactions-tada" ,
156
+ "interactions" ,
157
+ "created" ,
158
+ "updated" ,
159
+ ),
147
160
),
148
161
mcp .WithString ("order" ,
149
162
mcp .Description ("Sort order ('asc' or 'desc')" ),
163
+ mcp .Enum ("asc" , "desc" ),
150
164
),
151
165
mcp .WithNumber ("per_page" ,
152
166
mcp .Description ("Results per page (max 100)" ),
@@ -322,6 +336,7 @@ func listIssues(client *github.Client, t translations.TranslationHelperFunc) (to
322
336
),
323
337
mcp .WithString ("state" ,
324
338
mcp .Description ("Filter by state ('open', 'closed', 'all')" ),
339
+ mcp .Enum ("open" , "closed" , "all" ),
325
340
),
326
341
mcp .WithArray ("labels" ,
327
342
mcp .Description ("Filter by labels" ),
@@ -333,9 +348,11 @@ func listIssues(client *github.Client, t translations.TranslationHelperFunc) (to
333
348
),
334
349
mcp .WithString ("sort" ,
335
350
mcp .Description ("Sort by ('created', 'updated', 'comments')" ),
351
+ mcp .Enum ("created" , "updated" , "comments" ),
336
352
),
337
353
mcp .WithString ("direction" ,
338
354
mcp .Description ("Sort direction ('asc', 'desc')" ),
355
+ mcp .Enum ("asc" , "desc" ),
339
356
),
340
357
mcp .WithString ("since" ,
341
358
mcp .Description ("Filter by date (ISO 8601 timestamp)" ),
0 commit comments