A Post-Mortem Taxonomy of Tool Errors Orchestrators Convert Into Empty Success Responses
Five ways orchestrators hide failed tool calls, and which layer to fix.

Silent tool failure detection in production multi-agent pipelines requires step-level evidence. An orchestrator can absorb a failed call and continue with empty or plausible output, hiding five distinct failure classes. Distinguishing schema violations, token budget exhaustion, semantic silent failures, workflow loops, and context compaction identifies which layer needs repair and what evidence must verify the fix.
Why tool errors disappear instead of surfacing
The model suggests tool calls, but the orchestrator executes them. That boundary separates intent from execution and creates a place where an error can disappear without reaching the caller. Most orchestrators catch exceptions at the loop level to keep the run going. Continuation is not proof of successful execution. When the failed step is not logged, the same reliability mechanism that preserves the run removes the evidence needed to diagnose it.
In a multi-step chain, the agent can keep reasoning with data that is missing or corrupted without raising another exception. Infrastructure monitoring sees uptime, latency, and error rates rather than whether the answer satisfies the original request. A failed agent workflow can therefore run on a healthy service.
Why "silent failure" is not one thing
Failures at different boundaries can give the caller the same empty success response. The five classes are schema violations, token budget exhaustion, semantic silent failures, workflow loops, and context compaction mid-pipeline. Each has its own cause, trace signature, and fix. Their shared symptom does not make them interchangeable. Naming the class is the prerequisite to assigning responsibility to a layer rather than changing whichever component is easiest to edit.
Self-Healing Agentic Orchestrators for Reliable Tool-Augmented Large Language Model Systems formalizes recovery as a monitor–detect–diagnose–recover–verify loop. Its diagnose step maps observable signals to inferred failure classes so that recovery follows the failure. Without that mapping, an engineer who spots a bad outcome still has to guess what to change. A taxonomy earns its place by narrowing that choice.
Schema violations: when the tool call is structurally wrong before it runs
Schema violations are the most common form of empty-success conversion in this taxonomy. The model uses an older schema to produce arguments after the tool contract changes, perhaps because a field was renamed, a required parameter was removed, or an enum value was added. The current validator rejects those arguments. The framework then catches the validation error, substitutes None, and advances the loop while HTTP 200 is returned at every level.
Arguments are present and well-formed from the model’s perspective, but the tool response is None or empty, no error status is set, and subsequent steps reason over that missing result. The trace therefore shows both an attempted call and a missing response. That distinction separates rejection at the tool boundary from failure to generate a call at all.
Responsibility belongs to the tooling layer, where the schema contract has drifted. A prompt rewrite targets the wrong problem because the prompt is producing valid output against the old contract. The repair belongs at the dispatch boundary. Arguments should be validated against the current schema before execution, tool handlers should reraise rather than permit silent substitution, and validation failures should return structured error payloads the agent can reason over.
Token budget exhaustion: when the tool call never completes
Token budget exhaustion happens before the tool executes, even when the schema and the model’s intended action are correct. When max_tokens is reached mid-call, the API can return HTTP 200 with an empty choices array and no exception. There is no completed tool call object to dispatch.
The decisive completion signal, when present, is finish_reason set to "length" rather than "stop", with usage.completion_tokens at or near the limit. The tool response is absent. The trace must also show an empty choices array as a sign of failure. Capturing the response shape and completion metadata preserves the distinction between incomplete generation and failed execution.
This is an execution-layer resource failure. The repair is correspondingly narrow. Per-step logging should capture finish_reason, response.choices, and usage.completion_tokens, and "length" should surface as a hard failure. Without those fields, engineers lose the most direct evidence for this class.
Semantic silent failures: when the output is plausible but wrong
A tool output or final answer can be syntactically valid, complete, and coherent while remaining stale, unsupported, contradictory, or factually incorrect. Pydantic validation checks structure. Adding it does not establish that a claim follows from the retrieved evidence.
A subtly wrong database query illustrates the gap. The query returns zero rows, the agent interprets the absence of explicit failure text as success, and a confident “Done” appears without an actual result behind it.
The trace typically shows finish_reason set to "stop" and a structurally complete response. Detection requires comparing the final claims with the intermediate tool output, which makes this a verification-layer failure. The self-healing orchestrator paper found that verifier-guided recovery reduced silent failures to zero under its controlled semantic fault model, while non-verifying baselines still returned wrong-but-plausible outputs. That finding supports an answer-to-evidence verifier, with rejection treated as a recoverable failure signal.
Workflow loops: when a failed tool call becomes a retry that never exits
Workflow loops replace an incorrect answer with a lack of productive output. After misreading a tool response or receiving a malformed payload, the agent retries the same action and encounters the same obstruction. Without a hard iteration limit, execution continues until a token budget or orchestration timeout ends it. The harness mistakes repetition for productive work.
HierarchicalSwarm bug #1886 shows how exception handling creates this trap. Its step() logged an exception and returned None, leaving the handler in run() unreachable. A failed step advanced the counter, logged “--- Loop N/M completed ---” despite running nothing, and passed None into the next loop. The outer call returned a transcript without raising, even when the director failed on every loop. A returned transcript was therefore not evidence of completed work.
The signature is progression without progress. Counters advance without corresponding tool output, step durations remain uniform, and successive outputs are highly similar or None while intermediate state stalls. This is a lifecycle-layer failure in loop control. Reaching for a model upgrade or a better prompt misattributes the cause when the harness lacks an exit condition for repeated null results. The fix needs a hard iteration limit, checks for outputs or state that have stalled, and a rule that treats repeated None as loop failure.
Context compaction mid-pipeline: when the orchestrator forgets what it was doing
Context compaction can break a pipeline even when every tool call succeeds. In a long-running workflow, a compaction summary may omit an output format requirement, a constraint, or a schema reference. The agent continues without the instruction that governed how it should use the tool’s result. Tool-level observability can show that all is well throughout the run.
This failure can happen while the contract stays the same, unlike schema drift. The tool still returns valid payloads, but the agent’s output format diverges from the original requirement and leaves the downstream parser or consumer with nothing usable. The diagnostic boundary is the compaction event. The relevant trace comparison is between the original instruction, the retained context, and the output after compaction.
Responsibility therefore belongs to the context layer and its management of working memory. Critical instructions should stay as invariants through compaction, and a summary should always keep them. Output format validation should also occur before results reach downstream consumers, with format assertions included in step validation.
How the five classes share a trace signature pattern — and where they diverge

At the outer boundary, HTTP 200 and the absence of a raised exception can conceal all five classes. A completed response or plausible transcript does not establish productive execution, and a running loop may conceal the absence of progress. The useful differences appear inside the trace. Minimum instrumentation includes per-step completion metadata, tool arguments, response content, intermediate state, loop progression, and output format.
The first check in the diagnostic decision tree is whether generation finished. A "length" finish reason points to execution-layer token exhaustion, while "stop" followed by None points toward schema rejection when argument validation confirms the mismatch. If a non-null, valid tool result leads to unsupported final claims, the missing control is verification.
The remaining branches examine behavior across steps. Advancing counters without output or state progress identify a lifecycle problem, while valid tool results followed by format divergence at compaction identify a context-retention problem. Diagnosing with Insights: Structured Analysis of Agent Failures via Behavioral Abstractions reports that classification accuracy more than doubles when structured behavioral abstractions replace unstructured judgment. Each branch must point to a different place to make the fix.
Why root cause attribution must name the layer, not just the symptom
A diagnosis such as “the agent returned nothing” describes an outcome but assigns no repair. Tooling, execution, verification, lifecycle, and context failures require changes to different controls. The repair must follow the causal boundary. A model upgrade cannot correct a handler that swallows validation exceptions or a loop that accepts repeated null results as progress.
The self-healing orchestrator paper makes this distinction concrete through class-conditioned recovery. A timeout may justify retry with backoff, stale retrieval context requires evidence refresh, malformed arguments require repair, and contradictory evidence requires cross-checking. Applying the same retry policy to all of them ignores why the original attempt failed.
Multi-agent pipelines amplify that attribution problem because one agent’s output becomes another agent’s input. Downstream agents can reason coherently over missing or corrupted evidence, obscuring the original failure in the final answer. The diagnostic task is therefore to distinguish the causal step from its downstream symptoms. Naming both the class and the responsible layer gives the repair a specific target.
What a systematic process from observed failure to verified fix looks like
A systematic process begins with production traces that preserve the evidence needed for classification. It identifies steps matching a known failure class, attributes them to the responsible layer, and produces a targeted repair. Classification alone is not enough to ship. The proposed change must then be replayed against historical traces, including adjacent cases that were already working.
A change that resolves a schema mismatch in one failing trace can alter behavior elsewhere, so success on the original incident is insufficient. The self-healing orchestrator paper found that failure-aware, verification-guided orchestration outperformed generic retry and replanning at every tested recovery budget. The advantage came from recovery conditioned on the inferred failure class.
Moda is one option for implementing this process, ingesting production traces, identifying broken steps, attributing failures to responsible layers, and generating reviewable improvements. It validates those changes against historical traces before recommending what to ship.
Harness engineering gives this work a repeatable operational form. Improvements to tools, prompts, workflow logic, and context management should be evidence-backed, reviewable, and validated with the rigor applied to code changes. The taxonomy supplies the diagnostic vocabulary, while trace-driven repair and replay supply the workflow that turns silent failure from indefinite guesswork into a solvable engineering problem.


