Skip to content

Commit fdc1cb4

Browse files
committed
make instructions for flexible around search tools
1 parent 23fa0dd commit fdc1cb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/github/instructions.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ func GenerateInstructions(enabledToolsets []string) string {
2828
}
2929

3030
// Base instruction with context management
31-
baseInstruction := `The GitHub MCP Server provides tools to interact with GitHub platform.
31+
baseInstruction := `The GitHub MCP Server provides tools to interact with GitHub.
3232
3333
Tool selection guidance:
3434
1. Use 'list_*' tools for broad, simple retrieval and pagination of all items of a type (e.g., all issues, all PRs, all branches) with basic filtering.
35-
2. Use 'search_*' tools for targeted queries with specific criteria, keywords, or complex filters (e.g., issues with certain text, PRs by author, code containing functions).
35+
2. Use tools containing 'search' in their name for targeted queries with specific criteria, keywords, or complex filters (e.g., issues with certain text, PRs by author, code containing functions).
3636
3737
Context management:
3838
1. Use pagination whenever possible with batches of 5-10 items.

0 commit comments

Comments
 (0)