How They Use AI  |  Newest

<< Home  |  Tech

13.4% cost reduction and 12.3% faster wall time

AreaTech
AI usedClaude Sonnet 4.6
Sourcer/mcp
Posted2026-04-26

The move

Collapse multiple specific MCP tools into aggregate domain tools that use a help-verb pattern to load full instructions only when needed.

Steps

  1. Identify groups of related tools that can be combined into a single domain tool.
  2. Create a single tool definition for each domain that accepts an 'operation' parameter.
  3. Implement a 'help' operation for each domain tool that returns detailed documentation for its sub-commands.
  4. Update your MCP server to dispatch requests based on the operation verb rather than the tool name.
  5. Verify the reduction in token usage by running a benchmark against your previous implementation.

Prompt for your AI

Refactor my current MCP tool definitions into aggregate domain tools. For each domain (e.g., [Domain Name]), create one tool that takes an 'operation' argument. Include a 'help' operation that returns the full schema, parameters, and examples for all sub-commands within that domain. Ensure the primary tool description remains concise to minimize initial token overhead.

What happened

The developer maintained an MCP server with 32 individual tools, causing high token usage because every tool schema was sent to the model on every turn. By refactoring these into 4 aggregate tools (calendar, mail, account, system), the developer reduced the initial tool schema size from 74 KB to 5.8 KB. This change resulted in a 13.4% cost reduction and a 12.3% improvement in wall time per session.

Watch out

Schema-driven IDE autocomplete for tool parameters will become less effective. Client-side auto-approval logic may become coarser if it relies on tool-level granularity.

Give it to your agent

Read https://howtheyuse.ai/p/13-4-cost-reduction-and-12-3-faster-wall-time.md and help me do this.

Sources



Last updated November 26, 2026.