@@ -144,9 +144,23 @@ func searchIssues(client *github.Client, t translations.TranslationHelperFunc) (
144144 ),
145145 mcp .WithString ("sort" ,
146146 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+ ),
147160 ),
148161 mcp .WithString ("order" ,
149162 mcp .Description ("Sort order ('asc' or 'desc')" ),
163+ mcp .Enum ("asc" , "desc" ),
150164 ),
151165 mcp .WithNumber ("per_page" ,
152166 mcp .Description ("Results per page (max 100)" ),
@@ -322,6 +336,7 @@ func listIssues(client *github.Client, t translations.TranslationHelperFunc) (to
322336 ),
323337 mcp .WithString ("state" ,
324338 mcp .Description ("Filter by state ('open', 'closed', 'all')" ),
339+ mcp .Enum ("open" , "closed" , "all" ),
325340 ),
326341 mcp .WithArray ("labels" ,
327342 mcp .Description ("Filter by labels" ),
@@ -333,9 +348,11 @@ func listIssues(client *github.Client, t translations.TranslationHelperFunc) (to
333348 ),
334349 mcp .WithString ("sort" ,
335350 mcp .Description ("Sort by ('created', 'updated', 'comments')" ),
351+ mcp .Enum ("created" , "updated" , "comments" ),
336352 ),
337353 mcp .WithString ("direction" ,
338354 mcp .Description ("Sort direction ('asc', 'desc')" ),
355+ mcp .Enum ("asc" , "desc" ),
339356 ),
340357 mcp .WithString ("since" ,
341358 mcp .Description ("Filter by date (ISO 8601 timestamp)" ),
0 commit comments