TECHNOLOGY

AgentCheck: replaying an MCP fault to test a proposed fix

In this article
THE QUICK TAKE

A fix is confirmed against a specified injected fault and check; successful retries do not establish resistance to plausible but incorrect tool data.

A tool response can be valid JSON and still mislead an agent. AgentCheck makes that problem inspectable by changing a selected response and comparing what happens next. The EMNLP demonstration record, published in October 2026, describes a workbench for reproducing failures and testing mitigations against the same fault. Its results distinguish explicit execution errors from silent data-quality problems.

Hold the intervention constant

A clean run records the tool responses. The faulted run reuses matching calls while perturbing a selected response; a mitigated run applies the same intervention again. Matching depends on the call and its arguments, and new calls after trajectory divergence can go live. This is controlled replay of the shared portion, rather than a promise that every later external observation remains identical.

The paper describes 120 scenarios across 12 fault types, with 10 examples per type. The categories cover execution failures, data quality and security. A timeout, a contradictory answer and an injected outbound instruction therefore have different pass conditions. A single overall score hides which kind of failure a configuration actually handles.

Separate a check from a diagnosis

Primary pass/fail checks examine the resulting behavior. An LLM judge adds interpretive labels such as detection, recovery and uncertainty communication. The authors validate those labels against human annotations but explicitly describe both signals as fallible. A deterministic implementation is repeatable; that property alone does not make its criterion a complete definition of correct agent behavior.

The public repository provides scenarios, experiment outputs and a seeded interface for exploring recorded comparisons. Live reruns have different requirements from inspecting those examples. Reviewing a stored successful trace is not evidence that a newly configured agent has passed the suite.

Retry repairs some faults and misses others

Across the authors’ 5 configurations, the strongest passes 105/120 scenarios and the weakest 77/120. On the weakest configuration, retry raises timeout success from 30% to 100%. Stale-data results remain around 3–4 successes per 10 cases despite mitigation.

That difference has a practical explanation without inventing an additional benchmark: an explicit error supplies a reason to retry, while a plausible obsolete value may appear successful. Repeating a call does not guarantee the replacement is newer. A freshness-sensitive task needs a relevant date or version and a rule for handling uncertainty, not merely a transport success flag.

Preserve the exact meaning of confirmation

AgentCheck tests one injected fault at a time; compound and cascading failures are outside the reported evaluation. The data-quality scenarios are authored, and the authors caution against treating their pattern as a universal deployment measurement. A confirmed fix means that the previously failed checks pass under the repeated intervention, not that every task outcome or security policy has been verified.

For a local assessment, a useful record would retain the original response, injection point, clean and changed trajectories, mitigation configuration and scorer version. That is a proposed reporting protocol. The boundary discipline also appears in stream fault tests and reproducible inference measurements. AgentCheck adds a concrete way to ask whether the same failure remains after a proposed change, while keeping broader reliability claims conditional on the cases actually exercised.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles