PulseAugur
EN
LIVE 08:59:39

Developer finds tool definitions inflate LLM context by 99.9%

A developer analyzed their Cursor setup and found that the definitions for 209 MCP tools consumed approximately 882,846 tokens, with a significant portion of this being whitespace. By optimizing the tool definitions, such as compacting the formatting and switching to a name index that fetches full specs on demand, the token count was drastically reduced. This optimization, exemplified by a project called mcptoon, is most beneficial for users with a large number of tools, as a few heavily defined tools can account for a substantial portion of the token usage. AI

IMPACT Highlights potential for significant cost savings in LLM API calls through efficient tool definition management.

RANK_REASON Analysis of tool definition token costs within a specific software setup.

Read on dev.to — MCP tag →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

Developer finds tool definitions inflate LLM context by 99.9%

How we ranked this

Signal score
31 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
Analysis of tool definition token costs within a specific software setup.
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
infra, product
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
Breaking (< 6h)
Fresh story with cross-source coverage still developing. Ranking may shift as more sources report.

Full methodology in our editorial standards.

COVERAGE [1]

  1. dev.to — MCP tag TIER_1 English(EN) · MCP Token Saver ·

    I counted the MCP tools in my Cursor setup: 882,846 tokens of tool definitions, re-sent every turn

    <p><strong>882,846</strong></p> <p>That's not my download count. Not my traffic either. It's the full text of the 209 MCP tool definitions I have wired into Cline, Claude Desktop, Cursor, and Hermes Agent. Added up, token by token, on my own machine.</p> <p>Then it hit me. <stron…