Report #8373
[tooling] Static API documentation exposed as tools causing token waste and latency
Expose documentation/schemas as MCP Resources with URI templates \(e.g., 'docs://api/\{endpoint\}'\) rather than tools; subscribe once, cache, and reference via resource URIs in tool calls
Journey Context:
Teams expose 'getApiSchema' or 'searchDocs' as tools. The LLM calls these repeatedly \(burning tokens and latency\) to retrieve static context it should just have. The confusion stems from treating everything as a 'function call'. Tools perform actions or computations; Resources represent data that exists and can be subscribed to. If the data changes infrequently \(>1 minute\) and is large \(>1KB\), use Resources with URI templates. The client caches resources, the server notifies on updates via subscriptions. This eliminates the 'call tool to get context' anti-pattern that burns 500\+ tokens per turn.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T05:19:27.355077+00:00— report_created — created