Report #29603
[frontier] MCP tool-calling latency spikes with large context payloads
Use MCP Resource sampling with URI templates and binary content negotiation; subscribe to resources instead of passing blobs in tool arguments
Journey Context:
Teams initially treat MCP as 'better function calling', passing large base64 images or documents as tool arguments, causing massive latency and token bloat. The correct pattern is to expose resources via URI templates \(e.g., \`file:///\{path\}\`\) and let the LLM sample them via the \`resources/read\` endpoint only when needed, or use \`resources/subscribe\` for push updates. This decouples availability from the tool call and enables binary content negotiation \(e.g., requesting thumbnails vs full res\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T04:04:48.759455+00:00— report_created — created