MCP Error Messages Written for Developers Hurt the Most Capable Agents Most
Read the original on arXiv AI →The Flow has not summarised this story yet — read it at arXiv AI.
The Flow has not summarised this story yet — read it at arXiv AI.
arXiv:2607. 11098v1 Announce Type: cross Abstract: Tool-using LLM agents are mostly evaluated assuming all tools work.
arXiv:2606. 05339v1 Announce Type: cross Abstract: MCP (Model Context Protocol) enables LLMs (Large Language Models) to interact with external tools and data sources via a standardized protocol.
MCPHallu is a new benchmark that evaluates large language model agents operating under the Model Context Protocol (MCP) for hallucination-prone failures across reasoning, execution, and memory. It comprises 358 tasks in five capability domains, each with a structural trigger that emphasizes one of four failure subtypes—Branch Collapse, Unreachable Goal, Tool Misuse, or Context Forgetting—allowing subtype-level analysis. In tests of fourteen frontier LLM agents on 5,012 trajectories, agents scored an average of 0.642, with significant weaknesses on Unreachable Goal tasks (average 0.458, 23.2% pass rate) and notable variability in subtype rankings.
The paper introduces MCP‑Injector, a fault‑injection middleware that simulates realistic failures in the Model Context Protocol used by large‑language‑model agents. Using data from over 57,000 issue and pull‑request threads, the authors calibrate a fault model and run 1,350 experiments across different backbone sizes, agent stacks, and fault conditions. Results show that permanent‑heavy faults drastically reduce task‑completion scores and that larger models (120B) do not gain fault tolerance, highlighting that framework‑level error handling is more critical than model scale.
The study investigates why small language model agents tend to repeat a tool call that just failed. By recording the failed call and its error message in the transcript, the authors measure a negative corrective gain—agents are more likely to repeat the failed action, with a drop of about 1.03 nats per token. The problem is traced to the harness design rather than the model’s understanding of errors, and the authors show that replacing the verbatim call with a runtime-generated description of the failure can reduce this backfiring effect by 76%.
The paper "Log-To-Leak: Prompt Injection Attacks on Tool-Using LLM Agents via the Model Context Protocol" investigates how natural-language metadata in the Model Context Protocol (MCP) can be exploited to inject malicious post‑hoc logging calls into large language model agents. The authors introduce the Log-To-Leak attack, which adds an attacker‑controlled call after a legitimate tool invocation, targeting user queries, MCP server names, server responses, and agent responses. Experiments across five MCP servers and four LLM agents show high attack success rates (up to 100%) and significant logging accuracy, while existing defenses still leave substantial residual risk.