An AI agent doesn't fail the way traditional software fails. It doesn't throw — it produces a tool call with the wrong parameter type, references a tool name that doesn't exist in the manifest, or returns a 200 with an error JSON that the parent agent cheerfully absorbs. The HTTP request succeeds. The latency looks fine. The monitoring dashboard is green. The user's refund didn't happen.
Tool-calling accuracy is the property that determines whether an agent's outputs translate into real actions on real systems — calendar events, database writes, payment calls. When it degrades, the agent still looks alive. It just isn't doing its job. And unless you're benchmarking it at the parameter and tool-name level, you won't know.
Why tool-calling accuracy degrades in multi-step agents
Single-turn tool calling is the easy case. The model is shown a list of tools, picks one, fills in parameters, returns the structured call. Models do this reasonably well — OpenAI, Anthropic, and Google all report function-calling accuracy well above 90% on standard evals. The real-world number, in production agents, is much lower. Three things compound to push you there:
Error rates chain multiplicatively. A 5-tool agent with 95% per-call accuracy has a composite end-to-end reliability of 0.95^5 = 77%. Add the parent LLM's interpretation of tool outputs and you're well under that on most workloads. Most teams measure per-call accuracy in a vacuum and never see the cumulative gap.
Context drift across turns. A multi-step agent carries conversation state that grows with each tool call. By turn five, the prompt is wider, the tool list reframed by past reasoning, and the model is anchoring on partial output from earlier failed calls. Tool-selection logic that's stable on a single-shot prompt becomes inconsistent mid-chain. A benchmark that runs a scenario once can't see this — only a cohort does.
Tool-selection models silently swap. When you change the model behind an agent — say, to a faster or cheaper one — the tool-selection behavior changes in subtle ways. The new model may be slightly biased toward a different tool in ambiguous cases, may format parameters slightly differently, or may be more tolerant of edge inputs. None of this surfaces as an error. It surfaces as a tool-calling accuracy regression that your integration tests don't catch.
Three common failure modes
Tool-calling failures aren't random. They cluster into three patterns that account for the bulk of degradation in production agents — and each is measurable with a targeted grader.
1. Wrong parameter types
The agent picked the right tool but produced the wrong shape of arguments. The schema says amount: number, the agent passes a string. The schema says filters: object with {"status": "open"}, the agent serializes it as a JSON string instead of a real object. The schema says priority: "low" | "medium" | "high", the agent invents "urgent". These usually fail downstream with cryptic errors — or worse, fail silently with type coercion that produces nonsense values.
{
"tool": "create_invoice",
"arguments": {
"amount": "1299.00",
"currency": "USD",
"line_items": '[{"sku": "X1", "qty": 2}]'
}
}
{
"tool": "create_invoice",
"arguments": {
"amount": 1299.00,
"currency": "USD",
"line_items": [{"sku": "X1", "qty": 2}]
}
}
To the model, those two calls look structurally similar. To the downstream billing system, the first one either errors or writes garbage. This is the most common tool-calling failure mode, and it's invisible to latency and error-rate monitoring — the call succeeds at the tool layer, but the action is invalid.
2. Hallucinated tool names
The agent picks a tool that isn't in the manifest. Sometimes it's an obvious misspell — get_user_infoo instead of get_user_info. Sometimes it's a plausible-looking name for an entirely fictional tool — fetch_user_subscription_history when only get_subscription exists. Sometimes it's a partial match — the tool is named cancel_subscription but the embedding similarity pulls in cancel_premium_subscription, which doesn't exist.
Common hallucination patterns
get_user_infoo — typo on a real tool name. The tool dispatcher returns "tool not found," but a permissive agent interprets empty output as "user doesn't exist" and proceeds.
cancel_premium_subscription — partial match with a real tool. Looks right to the model; runtime fails because the manifest only contains cancel_subscription.
send_email_to_user — fabricated name for a tool that doesn't exist. The agent assumes it works and reports success to the user.
Hallucinated tool names are particularly nasty because they often produce runtime errors that get swallowed by the orchestrator. The agent logs "tool call failed" internally and either retries with a different hallucinated name or proceeds as if nothing happened. End-to-end reliability drops, but no exception bubbles up to your error tracker.
3. Silent failures
The tool returns a 200 HTTP status with an error payload. Or it returns an empty list and the agent reads "no information" instead of "API timed out." Or the agent catches an exception, logs it to a buffer the orchestrator never reads, and continues with stale state. All three look fine on the wire. None of them produce an alert.
The shapes silent failure takes
HTTP 200 + error JSON: {"ok": false, "error": "rate_limited"}. Agent checks HTTP status only and assumes success.
Empty result treated as truth: [] returned for a list-query becomes "no records match" rather than "the query errored out."
Caught and swallowed: try { ... } catch (e) { /* await never sees this */ }. Agent resumes with whatever was last in scope.
All three produce the same symptom: the agent reports a confident, wrong answer. None of them appear in your error dashboard.
This is the failure mode that most directly corrupts downstream user experience, because the agent's final response looks plausible. The user takes action on bad information. By the time anyone notices, the agent has handled fifty more cases the same way.
The shape of the problem
None of these failure modes show up as HTTP errors, latency spikes, or 5xx rates. They show up as tool-calling accuracy — the rate at which tool calls actually do what they were meant to do. You can't unit-test your way out of this. You can only measure it, scenario by scenario, against an expected-behavior spec.
How BaselineForge baselines catch regressions before prod
Each of the three failure modes above maps cleanly to a grader type in BaselineForge. None of them rely on inspecting your agent's code — they assert on the tool-call output itself.
Schema and type validation graders catch failure mode #1. Define the expected JSON schema for each tool's arguments — types, required fields, enum constraints. The grader checks that every tool call produced by the agent matches. A regression in parameter type formatting (string "1299.00" instead of number 1299.00) immediately drops the scenario's score.
Tool-manifest assertion graders catch failure mode #2. Provide the manifest of tools your agent should have access to. The grader asserts that every tool name in the agent's output exists in the manifest. Misspellings, fabrications, and partial-name matches all fail the assertion.
Expected-behavior graders catch failure mode #3. For each scenario, define what a "non-silent failure" looks like — assert non-empty result, assert error-payload shape when the tool fails, assert the agent's stated conclusion matches the tool's actual response. The grader returns 0 when the agent ignores an error response and proceeds confidently anyway.
Run this scenario as part of your CI pipeline via the /api/gate endpoint. A score below threshold blocks the deploy and — if configured — fires the regression webhook defined per scenario. Slack is auto-detected and formatted with the failing scenario, composite score, threshold, and delta. Delivery is retried with exponential backoff so transient webhook failures don't lose the alert.
What a tool-call baseline covers
- Parameter type conformance — does the call shape match the tool schema?
- Tool manifest adherence — does every tool name exist in the available toolset?
- Silent-failure detection — does the agent surface error payloads, not swallow them?
- Per-tool reliability — which specific tools are degrading across runs?
- Regression delta over time — how much tool-calling accuracy has shifted since the last baseline?
The composite score from a cohort run is the most reliable tool-calling accuracy number your team can have. When it moves, you know it moved on validated, schema-checked evidence — not on a single noisy sample. That's the difference between guessing whether your agent still works and knowing whether it does.
Stop shipping tool-calling regressions. Compare Starter and Pro →
Starter gives you 3 scenarios and 100 runs a month — enough to baseline your highest-stakes tool calls. Pro unlocks unlimited scenarios, longer trend windows, and team-wide webhook routing.
See Pricing →Compare BaselineForge against other AI quality tools — Arize Phoenix, LangSmith, Braintrust, AutoGen, CrewAI — feature by feature.
See all comparisons →Run your first baseline in 10 minutes →
Define a tool-call scenario, run it as a cohort, and see the parameter-type, tool-manifest, and silent-failure graders score it — free, no card required.
Get Started Free →