rust(feat): lower MCP list defaults to 50 - #702
Merged
Conversation
This was referenced Jul 30, 2026
evan-sift
marked this pull request as ready for review
July 30, 2026 16:35
lineville
previously approved these changes
Jul 30, 2026
evan-sift
force-pushed
the
rust/mcp-lower-list-page-defaults
branch
from
July 31, 2026 17:19
aa0918a to
65ab321
Compare
lineville
previously approved these changes
Jul 31, 2026
evan-sift
dismissed
lineville’s stale review
July 31, 2026 18:08
The merge-base changed after approval.
Reduce DEFAULT_LIMIT from 200 to 50 and PAGE_SIZE from 1000 to 200 so a list call cannot flood an agent's context window. Update every list_* tool description, the sift_mcp playbook, and both shipped skill assets to state the new bounds. Add a test asserting every registered list_* description advertises the starting, maximum, and default limits, so a future bound change cannot silently drift from the documentation agents read.
evan-sift
force-pushed
the
rust/mcp-lower-list-page-defaults
branch
from
July 31, 2026 18:08
65ab321 to
6b3d369
Compare
lineville
approved these changes
Jul 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Tightens the MCP list bounds that ENG-13258 (#694) introduced.
DEFAULT_LIMITdrops from 200 to 50 andPAGE_SIZEfrom 1000 to 200, so a singlelist_*call cannot flood an agent's context window.Updates every
list_*tool description, thesift_mcpplaybook, and both shipped skill assets to state the new bounds.Adds a test asserting every registered
list_*description advertises the starting, maximum, and default limits, so a future bound change cannot silently drift from the documentation agents read.Verification
cargo fmt --check --all,cargo clippy --all-features,cargo test --all-featurestool/runs/mod.rstomainfails it withlist_runs does not advertise the starting limit