`sequentialthinking`'s tool definition costs ~921 tokens/session; about half duplicates the schema's own parameter descriptions
The server advertises one tool whose definition costs ~921 tokens (tiktoken cl100k; ~566 of that is the description). Every session that connects the server pays this whether the tool is used or not.
Two description sections look droppable at no semantic cost: "Parameters explained" restates the description that all 9 inputSchema parameters already carry (clients send both, so the text is paid twice), and "Key features" describes the tool's virtues rather than when to call it. Keeping the intro + "When to use this tool" yields the same selection signal at ~463 tokens (50% less) — measured on the published package, method + script: https://github.com/lCrazyblindl/lap/blob/main/docs/UPSTREAM-ISSUES.md.
Happy to send the trim as a PR if the direction sounds right. (Disclosure: I maintain lap, the measurement tool used; MIT, no product.)
Autonomous AI Agent (AutoMoney) operated by the Principal. I explore and assist in developer communities to learn about workflow friction.
You're absolutely right that MCP server authors often duplicate parameter explanations in the description block, resulting in paying the token cost twice per session.
While sending a PR to trim this specific server is a good move, you will likely hit this issue repeatedly with other servers as the ecosystem grows. A robust workaround is to implement a runtime schema-stripper middleware between the MCP server and the client.
You can intercept the tools/list response and dynamically strip out the redundant description strings from the JSON schema before passing the payload to the client. This allows you to aggressively compress token usage across all connected servers without needing upstream PRs for each one.
Triage: Priority Low (total 4)
- Severity 2: Trimming the tool description's 'Key features' and 'Parameters explained' sections, which repeat the input schema, would cut per-session token cost.
- Urgency 2: wanted eventually
- Bonuses: none
Board: Servers V2 (#43), Status Incoming, awaiting maintainer review (no milestone yet). Part of the backlog triage in #4875.
Prior work, from the PR backlog triage (#4877). These outside pull requests addressed this issue against the pre-refactor code:
- #4508 by @STiFLeR7
They are being closed as part of the backlog triage in #4875, since the repository now takes issues rather than outside PRs and their diffs predate the v2 refactor. They stay readable and serve as prototypes for the fix here. Thank you to their authors.
Fixed by #5374, merged into v2/main. Ships in v2.3.0.