{{ message }}
Repository navigation
fix(server): trim tool and parameter descriptions under client context caps - #486
Open
SavioBS629 wants to merge 2 commits into
Open
SavioBS629 wants to merge 2 commits into
SavioBS629 wants to merge 2 commits into
Conversation
…t caps Every client loads all tool descriptions at connect time. Kiro's power activation renders them into one tool result capped at 30,000 chars; ours was ~41,000, so Kiro truncated it to a 500-char preview and the agent guessed tool names that do not exist. Rewrites descriptions toward the documented budget (tool <=200 chars, param <=120): shared precondition constants, standalone description constants, and the capability-registry tools. Every routing rule is kept (listProducts first, ask on a clash, describe before invoke, weak_match re-search, '*' browse, paging, user_permission for writes, deletes refused), and every phrase pinned by tests is unchanged. Rendered size of the 44 hosted tools: 41,351 -> 27,512 chars. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SavioBS629
marked this pull request as draft
October 14, 2026 14:08
Shorten Percy setup/scan parameter text and the createTestCase / updateTestCase parameter text without changing their meaning. Saves ~500 tokens on the 52-tool list. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
sarve-shreyas
marked this pull request as ready for review
October 21, 2026 10:40
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.

No description provided.