Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pkg/github/__toolsnaps__/search_issues.snap
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"readOnlyHint": true,
"title": "Search issues"
},
"description": "Search for issues in GitHub repositories using issues search syntax already scoped to is:issue",
"description": "Search issues using natural-language semantic matching. Best for conceptual or paraphrased queries (e.g. \"login fails after password reset\"). Already scoped to is:issue. Avoid boolean OR operators, which fall back to lexical search.",
"inputSchema": {
"properties": {
"order": {
Expand All @@ -31,7 +31,7 @@
"type": "number"
},
"query": {
"description": "Search query using GitHub issues search syntax",
"description": "The search query. Write it as natural language for semantic and hybrid variants.",
"type": "string"
},
"repo": {
Expand Down
4 changes: 2 additions & 2 deletions pkg/github/__toolsnaps__/search_issues_ff_fields_param.snap
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"readOnlyHint": true,
"title": "Search issues"
},
"description": "Search for issues in GitHub repositories using issues search syntax already scoped to is:issue",
"description": "Search issues using natural-language semantic matching. Best for conceptual or paraphrased queries (e.g. \"login fails after password reset\"). Already scoped to is:issue. Avoid boolean OR operators, which fall back to lexical search.",
"inputSchema": {
"properties": {
"fields": {
Expand Down Expand Up @@ -64,7 +64,7 @@
"type": "number"
},
"query": {
"description": "Search query using GitHub issues search syntax",
"description": "The search query. Write it as natural language for semantic and hybrid variants.",
"type": "string"
},
"repo": {
Expand Down
4 changes: 2 additions & 2 deletions pkg/github/issues.go
Original file line number Diff line number Diff line change
Expand Up @@ -1628,7 +1628,7 @@ func searchIssuesTool(t translations.TranslationHelperFunc, includeFields bool)
Properties: map[string]*jsonschema.Schema{
"query": {
Type: "string",
Description: "Search query using GitHub issues search syntax",
Description: "The search query. Write it as natural language for semantic and hybrid variants.",
},
"owner": {
Type: "string",
Expand Down Expand Up @@ -1675,7 +1675,7 @@ func searchIssuesTool(t translations.TranslationHelperFunc, includeFields bool)
ToolsetMetadataIssues,
mcp.Tool{
Name: "search_issues",
Description: t("TOOL_SEARCH_ISSUES_DESCRIPTION", "Search for issues in GitHub repositories using issues search syntax already scoped to is:issue"),
Description: t("TOOL_SEARCH_ISSUES_DESCRIPTION", "Search issues using natural-language semantic matching. Best for conceptual or paraphrased queries (e.g. \"login fails after password reset\"). Already scoped to is:issue. Avoid boolean OR operators, which fall back to lexical search."),
Annotations: &mcp.ToolAnnotations{
Title: t("TOOL_SEARCH_ISSUES_USER_TITLE", "Search issues"),
ReadOnlyHint: true,
Expand Down
Loading