Problem
Currently, the MCP tools return both a summary in the content field, and the full response in the structuredContent field.
However, while the specification is not too clear, it is the content field that is the canonical response meant for the LLM, and structuredContent is meant for programmatic uses.
Some agents, such as OpenCode, only choose one of the two to send to the LLM, and when agents prefer content then LLMs get almost no useful information.
Other agents, such as Codex, send both, which can be considered a waste, especially since the content data is also part of structuredContent.
Solution
Make the MCP configurable: whether to send only content, only structuredContent, or both.
The content data should be enhanced to contain all of the relevant information, and it doesn't need to be structured: it can be any form of plain text, such as bullet points to represent lists.
Problem
Currently, the MCP tools return both a summary in the
contentfield, and the full response in thestructuredContentfield.However, while the specification is not too clear, it is the
contentfield that is the canonical response meant for the LLM, andstructuredContentis meant for programmatic uses.Some agents, such as OpenCode, only choose one of the two to send to the LLM, and when agents prefer
contentthen LLMs get almost no useful information.Other agents, such as Codex, send both, which can be considered a waste, especially since the
contentdata is also part ofstructuredContent.Solution
Make the MCP configurable: whether to send only
content, onlystructuredContent, or both.The
contentdata should be enhanced to contain all of the relevant information, and it doesn't need to be structured: it can be any form of plain text, such as bullet points to represent lists.