Menu

I fault-injected 60 live MCP tool failures: LLMs lied, my verifier hit a 38% false-positive wall, and here is what fixed both
📰

I fault-injected 60 live MCP tool failures: LLMs lied, my verifier hit a 38% false-positive wall, and here is what fixed both

DEV Community: python·Sean Maxwell·13 days ago
#jOQlL9Mn
#devtopython#devto#dev#epistemic#guard
Long article (1297 words) — no AI summary yet.
Reading 0:00
15s threshold

(Paper now live on arXiv: arXiv:2611.27095 . All code, fault-injection harnesses, SHA-256 osaudit provenance logs, and raw failure traces are open-source under MIT at the links below.)

There is an active spec discussion in modelcontextprotocol/modelcontextprotocol#3394 examining what happens when a mutating MCP tools/call commits on the server, the network drops the response, and the agent retries.

That contract tests the wire half of the bug: does a retry trigger a duplicate external side effect ( effect_count == 2 )?

While building epistemic-guard (MIT, pip install epistemic-guard ), I ran into the second half of the exact same failure loop: what the LLM tells the human user after an MCP call fails, gets rejected, or drops on the wire. When I tested my own verifier honestly against live faults, I promptly broke its precision.

Here are the raw numbers, including the ugly ones.

1. The Wire Gap vs. The Narration Gap

MCP standardizes how an agent invokes tools over stdio or Streamable HTTP/SSE.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.