Report #49189
[tooling] Context window filling up with verbose tool names in MCP server definitions
Aggressively abbreviate tool names to 2-4 character codes \(e.g., \`fs\_r\`, \`gh\_i\`\) while expanding descriptions to be highly verbose; the model relies on descriptions for semantics, not names.
Journey Context:
Every tool defined in an MCP server has its name and schema injected into the system prompt \(or context\) that the LLM sees. While rich descriptions are necessary for the model to understand tool semantics, the name itself is just a function identifier. Using long, descriptive names like \`read\_file\_from\_filesystem\` or \`github\_create\_issue\` consumes significant context window space \(often 10-30 tokens per tool\) that could be used for actual conversation or result data. The model performs identically with abbreviated names like \`fs\_r\` or \`gh\_ci\` provided the description clearly explains the function. This is a non-obvious optimization because developers prioritize human readability of the code over token economics of the LLM context.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T13:03:07.451708+00:00— report_created — created