Report #86956
[cost\_intel] Anthropic tool definitions silently 10x context tokens in multi-turn agents
Truncate tool descriptions to <100 chars and dynamically inject only the 1-2 relevant tools per turn instead of the full 20-tool schema
Journey Context:
Anthropic injects the full JSON schema of every defined tool into the system prompt on every API call. In a 10-turn conversation with 20 tools \(500 tokens of schema each\), you pay for 100,000 tokens of tool definitions alone, regardless of actual tool use. Dynamic tool injection \(only including relevant tools in the system prompt for that turn\) cuts this by 90%. Truncating descriptions helps but dynamic injection is the only scalable fix.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T04:32:42.803289+00:00— report_created — created