{"slug": "minimizing-tokens-in-mcp-tool-descriptions", "title": "Minimizing Tokens in MCP Tool Descriptions", "summary": "A developer reduced the token count of MCP tool descriptions from 2291 to 2125 tokens by removing meaningless short words like 'the' and 'a', improving inference speed with no quality degradation. The optimization is particularly beneficial for local LLM inference, which is slower than other processes.", "body_md": "An **MCP server** provides a **list of tools**, along with their parameters and descriptions, to an AI agent. For example it may have a tool like `load_file`\n\nand a description saying how to use it. This description must be **tokenized** for the LLM to understand the tool.\n\nIt follows that using **shorter descriptions** is going to be **faster**—there is less text to tokenize and process for the LLM. For some words, like \"the\" and \"a,\" tokens are required but the words add no extra meaning—so they can be removed.\n\nWe can write descriptions like \"Load file from folder\" instead of \"Load the file from a folder.\" In removing these **meaningless short words** from my MCP tool descriptions, I reduced the token count from 2291 to 2125 tokens.\n\nAnd given that local LLM inference is slower than most other processes on a computer, this probably was a **worthwhile optimization**. I noticed **no quality degradation** in the output; models are trained on text that has been written this way, so it might even work better.", "url": "https://wpnews.pro/news/minimizing-tokens-in-mcp-tool-descriptions", "canonical_source": "https://www.dotnetperls.com/2026_8_8_minimizing-tokens-mcp-tools", "published_at": "2026-08-08 07:00:00+00:00", "updated_at": "2026-08-09 12:54:21.359489+00:00", "lang": "en", "topics": ["large-language-models", "ai-infrastructure", "developer-tools"], "entities": ["MCP"], "alternates": {"html": "https://wpnews.pro/news/minimizing-tokens-in-mcp-tool-descriptions", "markdown": "https://wpnews.pro/news/minimizing-tokens-in-mcp-tool-descriptions.md", "text": "https://wpnews.pro/news/minimizing-tokens-in-mcp-tool-descriptions.txt", "jsonld": "https://wpnews.pro/news/minimizing-tokens-in-mcp-tool-descriptions.jsonld"}}