Do weak and strong AI models screw up tool use and code the same way, or just at different rates?
How do tool-call failures and code execution errors distribute across model types?
This explores whether different kinds of models (weaker versus frontier, thinking versus non-thinking, text-only versus tool-equipped) break in different ways when they call tools or run code, and not just how often they fail.
This explores whether different kinds of models break in different ways when they use tools or run code, and not just how often. The collection has no head-to-head count of tool-call errors by model. What it does have is something arguably more useful: evidence that model type changes what failure looks like. The clearest case is in document editing, not code, but it carries over. Weaker models damage documents in ways you can see, by deleting content. Frontier models damage them quietly, with small corruptions that leave the surface looking intact Does model capability change how documents degrade?. So a stronger model may make fewer errors, but the errors it does make are harder to catch. That turns any simple 'failure rate by model' table into a misleading measure.
A second pattern is about how errors pile up over time. When a model's own earlier mistakes sit in its context, it gets worse at a faster and faster rate on long tasks. Making the model bigger doesn't fix this. What helps is a 'thinking' model, which reasons before acting, because that keeps the contaminated history from steering the next step Do models fail worse when their own errors fill the context?. For agents that call tools again and again, this suggests the line that matters is not small versus large but reflective versus reactive. One failed tool call that stays in the transcript can drag down everything after it.
Some failures that look like model failures turn out to come from the setup around the model. In production, tools reached through a protocol layer like MCP caused unpredictable failures: the model picked the wrong tool or guessed parameters badly. Switching to explicit direct function calls, with one tool per agent, made the system behave predictably again Why do protocol-based tool integrations fail in production workflows?. In the other direction, reasoning models that seem to 'hit a wall' on hard problems are often failing at execution. They know the method but can't carry out hundreds of steps in plain text. Give them a tool and the wall disappears Are reasoning model collapses really failures of reasoning? Do tools actually expand what language models can reason about?.
Training matters too. When a model learns code-tool use through RL, it can pick up a habit of tolerating errors: trajectories that end correctly but contain messy failed code calls still get rewarded. Filtering successful runs for clean execution, while keeping failed runs as negative examples, let a 14B model match frontier math performance with cleaner tool use Why do correct code trajectories teach models to tolerate errors?. So how often a model's code fails reflects how it was trained as much as how big it is. A related point is that weaker models can match strong ones only when something like tests or type checks can mark which attempts actually worked When can weak models match strong model performance?. Execution errors are useful signals, if the system around the model listens to them.
The gap in the collection: no note compares tool-call or code-error rates across model families on the same tasks. Anyone hoping to simply swap in a different model family to make agents fail independently should also know that diversity of model family alone probably doesn't remove shared failures. Prompts, retrieval sources and provider infrastructure still tie the errors together Does model diversity actually reduce validator agreement failures?.
Sources 8 notes
DELEGATE-52 shows weaker LLMs degrade documents through visible deletion, while frontier models degrade through subtle corruption that preserves surface integrity. This shift makes frontier failures harder to detect and potentially more dangerous at workflow scale.
Error accumulation in context causes non-linear performance degradation in long-horizon tasks. Model scaling does not fix this; only test-time compute through thinking models reduces the effect by preventing error-contaminated context from biasing reasoning.
MCP integration caused non-deterministic failures through ambiguous tool selection and parameter inference. Replacing it with explicit direct function calls and single-tool-per-agent design restored determinism. A 306-practitioner survey confirms 85% of production teams build custom agents, forgoing frameworks.
Models confined to text-only generation cannot execute multi-step procedures at scale, even when they know the underlying algorithm. Tool-enabled models solve problems beyond the supposed reasoning cliff, suggesting the bottleneck is procedural execution bandwidth.
Formal proof shows tool-integrated reasoning enables strategies impossible or prohibitively verbose in text alone, expanding both empirical and feasible support. The advantage spans abstract reasoning, not just arithmetic, and Advantage Shaping Policy Optimization stabilizes training without reward distortion.
Show all 8 sources
GRPO-RoC filters positive trajectories for quality while preserving diverse failures as negative signal, allowing a 14B model to reach frontier math performance in 510 RL steps, surpassing much larger models with cleaner reasoning.
Sampling alone amplifies coverage but cannot select correct solutions. Reliable performance matching requires external soundness signals—tests, proofs, or type checks—that convert latent correct proposals into actual selections.
While different model families address two of eight shared fault channels, correlated epistemic errors likely persist through prompts, retrieval sources, and provider infrastructure. Measuring error correlation across validators differing on one channel at a time could quantify the effect.
Papers this line draws on 8
The research behind the notes this line reads — ranked by how closely each paper relates.
- Large Language Model Reasoning Failures
- A Comment On "The Illusion of Thinking": Reframing the Reasoning Cliff as an Agentic Gap
- Efficient Tool Use with Chain-of-Abstraction Reasoning
- The Illusion of Diminishing Returns: Measuring Long Horizon Execution in LLMs
- Beyond Accuracy: Evaluating the Reasoning Behavior of Large Language Models -- A Survey
- Agentic Systems as Boosting Weak Reasoning Models
- Comment on The Illusion of Thinking: Understanding the Strengths and Limitations of Reasoning Models via the Lens of Problem Complexity
- Understanding Tool-Integrated Reasoning