Skip to content

Improve search_schemas pagination instructions and fix bug - #317

Merged
alexbainter merged 3 commits into
mainfrom
alex-316-better-pagination-instructions
Aug 3, 2026
Merged

Improve search_schemas pagination instructions and fix bug#317
alexbainter merged 3 commits into
mainfrom
alex-316-better-pagination-instructions

Conversation

@alexbainter

Copy link
Copy Markdown
Collaborator

Closes #316.

Updates the pagination instructions of the search_schemas tool to include the actual search query, so the model knows exactly what tool call to use to get the next page. Also fixes a bug where the last page would still show instructions for getting the non-existent "next page" of results.

@alexbainter
alexbainter requested a review from lisad August 3, 2026 17:49
@alexbainter
alexbainter merged commit 6f5fed8 into main Aug 3, 2026
11 checks passed
@alexbainter
alexbainter deleted the alex-316-better-pagination-instructions branch August 3, 2026 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add more specific pagination instructions to MCP search_schemas result

2 participants