Report #97821
[tooling] Agent asks clarifying questions instead of acting on MCP tool output
Return structured, schema-stable results from tools and document the exact fields the agent should read in the tool description. Avoid dumping prose or ambiguous JSON. Tell the agent in the description what each field means and what decision it drives.
Journey Context:
LLMs do not automatically parse and act on raw JSON; without a declared schema and field semantics they treat the result as opaque text and ask the user for clarification. MCP supports text, image, and embedded resource content, but the consumer still needs a predictable shape. The common mistake is returning ad-hoc JSON with field names that only make sense to the original developer. Schema discipline—consistent keys, documented meaning, and explicit 'use this field for X' guidance—turns the tool from a data firehose into an actionable API.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-26T04:45:58.230424+00:00— report_created — created