Skip to content

Tool-Using Agents Fail in the Plumbing, Not the Reasoning

#llm-agents #tool-calling #context-management #function-calling #agent-reliability

Tool-Using Agents Fail in the Plumbing, Not the Reasoning ​

Six API-hosted models from two vendors. One fixed monitoring pipeline, wrapped in a tool interface. Six batch-level tasks on ultrasonic welding sensor data, graded by exact match against a reference computed from that pipeline. Everything held constant except the model, and correctness landed anywhere from 39% to 100%.

I keep coming back to that spread. A perfect score proves the tool interface can express the task and that the reference is reachable. A 39% proves the same interface is a trap for a different model. Neither number tells you anything about welding.

The paper behind it (arXiv 2611.41691) makes a sharper argument than most agent writeups: separate the tool from the agent, grade against a computable reference, and you can attribute every failure to orchestration. Do that and the picture gets uncomfortable.

Fifteen failures, all in the wrong layer ​

The authors audited 72 attempts at trace level. All 15 failures came from orchestration. Not one came from the classifier or the sensor pipeline.

The modes were mundane:

  • Incomplete cohort coverage. The agent answered about a subset of cycles without ever enumerating the full set.
  • First-listed answers. After loading every cycle into context in one shot, the model returned the first one in the list. Not the most worn. The first.
  • Fabricated arguments. The agent invented parameters for a zero-argument tool, got error returns, and answered anyway.

Several of these recurred across replicates. That matters more than the count. A one-off parsing glitch is noise. A failure that reproduces every time you run the same prompt is a design flaw in how you present state.

The model-group ranking stayed stable across a 27-prompt sensitivity sweep, so prompt tweaking did not rearrange the leaderboard. Turning on extended thinking produced zero accuracy gain on tasks the models had already saturated. Read that as a diagnosis: the errors were in argument construction and enumeration, not in depth of reasoning. Thinking longer about which cycle is most worn does not help if you never loaded all of them.

Per-task cost varied roughly 16x across the six models. Input tokens dominated, because every turn resends the entire accumulated tool-result history. That is the double bind of stateful agents: the thing that makes them accurate, a growing history of tool outputs, is the same thing that makes them expensive and eventually pushes them past the window. And it is also what caused the first-listed-answer failure. Load everything, and the model's attention lands wherever the most recent block starts.

Quick Take: Every failure in this benchmark traced to how the agent managed state and tool calls, not to the quality of its reasoning, which means the cheapest reliability wins are schema and plumbing work rather than better models.

Knowing when not to call a tool ​

T-Lens (arXiv 2611.41747) attacks a separate failure: the model calls a tool when no available tool applies.

The obvious guard is uncertainty. Withhold the call when the model looks unsure. On Berkeley Function-Calling Leaderboard, that guard leaks badly. At a 5% false positive rate, the best label-free uncertainty baseline stops at most 37% of inappropriate calls. The model is confidently wrong about tool applicability, because a request that sounds tool-shaped still might not match anything in your inventory.

The paper's finding is that hidden states carry a second, complementary signal: applicability. Necessity and compatibility show up as directions you can recover from the model's vocabulary, without labels and without training. Combine that with output entropy and you get a withholding decision that stops 52% of bad calls at the same 5% false positive rate.

The spread across benchmarks is the interesting part. RelyToolBench moves 55% versus 23%, a wide gap. MetaTool moves 17% versus 13%, which is barely a win. MetaTool asks the model to pick the right tool from a set, so the request is almost always tool-shaped and the applicability signal has less to bite on. My read: the method pays off in proportion to how often your traffic contains requests no tool should handle. If yours is a closed pipeline where every request maps to a known tool, skip it. If you're routing open-ended user text into a tool registry, the 5% false positive constraint is what makes it deployable, since false positives here mean refusing legitimate calls.

Because the signal is expressed as named directions rather than a scalar, you can explain the refusal. That is not cosmetic. A withholding system that says "not necessary for this request" gives you something to log and review. A bare threshold gives you a number to argue with.

Key Numbers

  • 52% of inappropriate BFCL calls withheld at a 5% false positive rate, versus 37% for the best label-free baseline.
  • 26.7 points separate exact accuracy under conventional and reversed field-omission rules across 120 held-out task families.
  • 3.8% accuracy when an omitted field reset to default, against 76.9% when it meant unchanged.
  • 15 of 15 orchestration failures in a 72-attempt trace audit traced to agent behavior, not tools.
  • 16x spread in per-task cost across six models running the same tasks.

Omission is not a null ​

LeaveItOutBench (arXiv 2611.41768) is the paper I'd hand to anyone writing a tool schema this week.

The setup: a tool updates a record, and the call leaves a field out. Does the field stay as it was, or reset to a default? Real APIs do both. The benchmark pairs tasks that are identical in request, schema, and target state, then flips exactly one update rule.

Across five pre-registered models on 120 held-out task families, exact accuracy was 76.2% under conventional rules and 49.5% under reversed rules. That is a 26.7-point gap produced by nothing but an unstated convention.

Narrow to the 32 omission families and it gets brutal. When omission meant "keep the field unchanged," accuracy was 76.9%. When omission meant "reset to default," it was 3.8%. The models have learned the common convention so thoroughly that they apply it even when the schema says otherwise. Empty strings, falsy values, explicit nulls, and values that happen to match the default all cluster into the same confusion.

The fix works, partially. Defining the operations and adding a rule table raised accuracy under reversed rules by 39.8 points without worked examples and 43.7 points with them. Both are large. Neither is complete.

Two follow-ups should temper your optimism. Three later models from two vendors still showed the gap when given only the short tool description. And in a dedicated Qwen3-14B run, two interfaces with explicit operations gained 5.8 and 6.7 points over full documentation, both short of the pre-registered eight-point threshold. Documentation helps. It does not override a prior this strong.

Practical version: if your tool mutates state, the omission rule belongs in the parameter description of the field itself, in the same string the model reads at call time. A sentence in a README does nothing. A rule table in the system prompt does a lot more than you'd expect.

Compaction needs a local reward ​

SuffiCE (arXiv 2611.41420) handles the other half of the context problem: what happens when the history outgrows the window and you summarize.

Compaction inside agentic reinforcement learning has a credit assignment flaw. If a rollout fails, an outcome reward cannot tell you whether the summary dropped a critical fact or whether the policy made a wrong decision after reading a fine summary. With only sparse outcome signal, the model has no gradient telling it what a good summary looks like. Cold start.

The method is worth understanding even if you never train a model. SuffiCE defers the summary's application, obtains reference actions under the original full context, then scores how likely those same actions are under the compacted context. The gap becomes a local reward for the summary. No summary labels, no human annotation. Across benchmarks and backbones it beats outcome-only baselines and learns a distinct summarization pattern rather than a generic one.

Here's the part you can steal without an RL stack. Take a failed long-horizon trace. Re-run the critical decision twice, once with the full history and once with your compacted version, and compare what the model would have done. If the actions diverge, your summary is the problem. If they match and the answer is still wrong, your policy is. That is a diagnostic, and it takes an afternoon.

What trips people up ​

Putting omission rules in prose instead of the schema. The 3.8% number above exists because models read the parameter description, not your documentation site. Move the rule into the field description string.

Shipping an uncertainty threshold as your only tool-call guard. Best label-free baseline at a 5% false positive rate stops 37% of bad calls. You will still be paying for tool invocations that should never have happened, plus the latency.

Dumping a full result set into context and asking the model to pick. The first-listed-answer failure reproduced across replicates. Filter and paginate in code before the model sees anything. If a task needs "the most worn cycle," compute a ranked shortlist and hand over five rows.

Measuring only end-task accuracy. Fifteen failures out of 72 attempts were invisible in the aggregate correctness number and obvious in a trace audit. Log tool arguments and error returns, then read twenty traces by hand.

Reaching for extended thinking as a reliability fix. It produced no accuracy gain on tasks that were already saturated. Enumeration and argument construction are not reasoning-depth problems.

Where visual agents fit ​

The survey paper (arXiv 2611.41879) frames visual agents as one or more models operating inside an associated agent harness, and sorts improvement mechanisms into three levels by how deep the experience-driven change goes: within-task adaptation, self-evolution, and recursive self-improvement. It covers visual understanding, generation, computer use, and embodied interaction on the same axis, with benchmarks for each.

The framing is useful because it puts a floor under the other three papers. Recursive self-improvement assumes the system can attribute its own failures. A pipeline that returns the first listed cycle when asked for the most worn one cannot self-improve, because its feedback signal is wrong at the source. SuffiCE is the same argument applied to memory: without a local reward for the summary, there is nothing to improve.

Reliability work looks unglamorous next to self-evolving agents. It is the prerequisite. You cannot climb to level three from a system that fabricates arguments to a zero-argument tool and answers anyway.

One thing to remember ​

The model is rarely the thing standing between you and a working agent. In these four papers, the levers that moved accuracy by tens of points were a rule table in a schema, an applicability check on a hidden state, a shortlist computed in code, and a reward signal attached to a summary. All of them live outside the weights.

The bottom line ​

If you own a stateful tool schema, edit it today. Add an explicit operations section and a rule table covering omitted fields, empty values, explicit nulls, and defaults. That single change moved reversed-rule accuracy by 39.8 points without worked examples, which is the largest return on effort in this cluster and costs you a JSON edit.

If you're routing open-ended requests into a tool registry, add an applicability check before you tighten your uncertainty threshold. T-Lens stops 52% of bad calls at a 5% false positive rate against 37% for uncertainty alone, and it needs no labels, no training, and no extra model calls. If your traffic is a closed pipeline where every request maps to a known tool, skip it and spend the effort on trace auditing instead.

If you're running long-horizon agents, instrument token cost per task now. A 16x cost spread across models on identical tasks means input tokens, not model quality, will decide whether your unit economics work, and the growing tool-result history is the driver. Watch compaction closely: SuffiCE shows the credit assignment problem for summaries is solvable during training, so expect hosted APIs to expose summarization-aware context management within the next couple of quarters.