Report #14889
[gotcha] Silent Tool Failures Leading to Hallucinated Success
Enforce strict error handling in MCP tools where exceptions are caught, logged, and explicitly returned as error objects to the LLM, forcing the LLM to acknowledge the failure rather than guessing the result.
Journey Context:
If an MCP tool times out or throws an exception, poorly written MCP clients might return null or an empty string to the LLM. The LLM, eager to please, will often hallucinate a successful result based on the user's prompt. Missing telemetry means the developer never sees the error, and the user gets a fabricated answer with false confidence.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T22:42:24.130037+00:00— report_created — created