Who Verifies the Tools? How Warped Formatters Mislead Agents and Their Verifiers
Abstract
Agents and verifiers often rely on the text a tool prints, and that text can misrepresent what the tool did. We saw such misrepresentations in a production RAG research system used by the Pilsudski Institute in New York, where tool output formatters misled an agent into giving wrong or incomplete information to users. Each tool did its job correctly, but its output omitted search limits, result caps, or identifier namespaces. Within this same production system, we studied whether faulty formatters mislead agents and verifiers and how much repaired wording helps. We fed tool results to agents using two formatter versions: one with key omissions and one with all missing details clearly stated. That difference alone changed what the agents claimed and what the verifiers accepted. Unsupported agent claims dropped substantially for three of the four failure types. In one test, verifiers went from accepting incorrect answers 90 out of 90 times to rejecting them 90 out of 90 times. A control showed the verifiers could catch the errors once they were given the missing facts and asked to judge correctness. We include the audit prompt we used with Codex and Claude Code in an exploratory demonstration, written with prior knowledge of our own system's defects. When pointed at an old version of our own system, it rediscovered the defects that were still live and surfaced twelve more we had not catalogued. When pointed at OpenClaw and Hermes, two of the best-known open-source agentic systems, it found warped formatters in both. We opened PRs to fix both, and the OpenClaw fix has already been merged. Practitioners can run the same prompt on their own systems today.
Create a lesson
Metadata
- Categories
- cs.AI, cs.SE
- Comments
- Accepted as a poster at the Who Verifies the Agents? workshop at NeurIPS 2026 (non-archival). 12 pages, 3 figures. Code and data: https://github.com/williamcodes/who-verifies-the-tools
Related papers
VeriLadder: A Multi-Agent Specification Refinement System for Tool-Verified Verilog Datasets
Shared title terminologycs.AISaeid Rajabi, Chengmo Yang, Satwik Patnaik
When Tools Fail, Agents Fabricate: Silent Failure and Verification-First Oversight in Tool-Using LLM Agents
Shared title terminologycs.AIGün Kaynar, Boshen Yan, Carl Kingsford
MetaRigor: From Agentic Automation to Verifiable End-to-End Meta-Analysis Through Scientific Decision Boundaries
Shared title terminologycs.AIYifeng Xie, Chenke Li, Yangshuo Miao et al.
Proof-of-Agentness: Towards Verifying Agents on the Web
Shared title terminologycs.AIZuyao Xu, Xiang Li
Task Success Is Not Enough: Side-effect-Aware Evaluation of Tool-Using Language Model Agents
Shared title terminologycs.AIJiaju Huang, Shaobin Chen, Xinglong Liang et al.
TACS-RF: Tool-driven Agentic Circuit Synthesis of RF and mmWave Modules
Shared title terminologycs.AITristan Liang, Aravind Nagulu