BACK_TO_FEEDAICRIER_2
Anthropic slashes MCP token bloat with code
OPEN_SOURCE ↗
REDDIT · REDDIT// 24d agoINFRASTRUCTURE

Anthropic slashes MCP token bloat with code

Anthropic says agents should write code to call MCP servers instead of dragging every tool definition and intermediate result through the model. In its example, the shift cut token usage from 150,000 to 2,000 while keeping filtering, loops, retries, and sensitive data in the sandbox.

// ANALYSIS

This feels like the point where MCP stops being a better tool-calling interface and becomes a runtime architecture story. The model should plan and write code; the sandbox should handle the repetitive, stateful work.

  • Progressive disclosure keeps tool catalogs proportional to the task, not the total number of integrations.
  • Filtering and summarizing data locally means the model sees fewer tokens and less raw customer data.
  • Moving loops, retries, and conditionals into code should make multi-step agent workflows far less brittle.
  • The pattern is model-agnostic, so teams can adopt it without betting on a single vendor stack.
  • The real tradeoff shifts to sandbox security, permissions, and observability, which now matter as much as prompt quality.
// TAGS
anthropicmcpagentapiautomationsdkdata-tools

DISCOVERED

24d ago

2026-03-18

PUBLISHED

24d ago

2026-03-18

RELEVANCE

8/ 10

AUTHOR

Ok-Constant6488