Skip to content

Commit a5fd807

Browse files
committed
swap sections
1 parent fdc1cb4 commit a5fd807

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pkg/github/instructions.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ func GenerateInstructions(enabledToolsets []string) string {
3030
// Base instruction with context management
3131
baseInstruction := `The GitHub MCP Server provides tools to interact with GitHub.
3232
33-
Tool selection guidance:
34-
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 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).
36-
3733
Context management:
3834
1. Use pagination whenever possible with batches of 5-10 items.
39-
2. Use minimal_output parameter set to true if the full information is not needed to accomplish a task.`
35+
2. Use minimal_output parameter set to true if the full information is not needed to accomplish a task.
36+
37+
Tool selection guidance:
38+
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.
39+
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).`
4040

4141
allInstructions := []string{baseInstruction}
4242
allInstructions = append(allInstructions, instructions...)

0 commit comments

Comments
 (0)