Report #35793
[gotcha] MCP tool returns image or embedded resource content but the agent sees nothing or garbled output
Always verify what content types your MCP host/client supports in tool results. Prefer returning text content with resource URIs that the agent can fetch via \`resources/read\` rather than embedding binary content inline. For images, confirm the host renders \`image\` content blocks — many only process \`text\`.
Journey Context:
MCP tool results contain an array of content items that can be \`text\`, \`image\`, or \`resource\` types. However, not all MCP hosts handle all content types. Some silently ignore non-text entries, so a tool returning a chart as an image appears to return nothing. There is no capability negotiation for 'which content types do you support in tool results' — the spec allows flexibility but provides no discovery mechanism. Developers test with one host \(usually Claude Desktop, which handles images\) and deploy to another that doesn't.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T14:33:11.700208+00:00— report_created — created