errorbar for agents that call tools
Judge the run, not the last paragraph
Whole-run judging: the right next action, the right arguments, and acting on what came back.
What goes wrong here
None of these throw an error
Every one returns 200, reads well, and passes a schema check. Status codes and latency dashboards cannot see any of it.
The right answer reached by the wrong sequence of calls
A tool called with arguments that were never going to work
A tool result returned and then ignored in the final answer
A run that ends fluently without ever completing the task
The judges that ship for this
Not a rubric. One binary question, and the prompt that asks it
These are the real templates, verbatim — every one states what makes a response FAIL, because vague virtues make judges nobody can calibrate. A template is a starting point, not a truth: it still has to be measured against your own grades before its verdicts earn a correction.
Chooses the right next action
Single-step action fidelity: given the conversation and the available tools, the reply either calls the right tool with grounded arguments or correctly answers directly.
You are judging ONE assistant turn from an agent. Tool calls appear as "[tool call] name(arguments)". FAIL the response if it calls a tool that doesn't serve the user's request, passes arguments invented rather than taken from the conversation, answers from memory when the conversation makes clear a tool lookup was required, or calls a tool when the conversation already contains everything needed to answer directly. PASS responses whose action is the right one for this moment — a correct, well-parameterized tool call, or a direct answer when no tool was needed.
Right tools, right arguments
judges the whole runTool selection + invocation over a whole run: the agent called tools that fit each step's goal, with arguments grounded in the task — not invented.
You are judging a COMPLETE agent run (numbered steps; tool calls appear as "[tool call] name(arguments)"). FAIL the run if any step calls a tool that does not serve that step's goal, passes arguments that are invented rather than grounded in the task or in earlier steps' results, calls the same tool repeatedly with the same arguments expecting a different outcome, or skips an obviously required tool and fabricates the information instead. PASS runs whose every tool call is purposeful and correctly parameterized — including runs that used no tools because none were needed.
Acts on tool results
judges the whole runResponse handling: what a tool returned is reflected in what the agent did and said next — errors handled, results not ignored or contradicted.
You are judging a COMPLETE agent run (numbered steps; tool calls appear as "[tool call] name(arguments)", tool results appear as TOOL messages). FAIL the run if the agent's later steps or final answer ignore what a tool returned, contradict it, silently proceed past a tool error as if it succeeded, or restate tool output incorrectly. PASS runs where each tool result visibly shapes the next action or the final answer — including runs that hit a tool error and handled it honestly (retried differently, or told the user).
And on any traffic
Finishes what it starts
Semantic completeness: catches answers that trail off, stop mid-structure, or promise content that never arrives. (The mechanical finish_reason=length check is the 'completed' assertion; this judge catches the cases the flag can't.)
What the first week looks like
Day one
Point your existing OpenTelemetry at us, swap a base URL, or import a JSONL export. Two of the four paths never touch your request path, and none of them moves your inference.
Day two
Grade real exchanges pass/fail in a keyboard queue that puts the highest-signal traffic first — abandoned streams, answers cut off at the token limit, questions re-asked within minutes. Aim for about a hundred; stop when twenty in a row teach you nothing.
Day three
Calibrate. You get the judge's true-positive and true-negative rates with intervals, Cohen's κ, and a verdict: trustworthy, or exactly how many more grades of which class it needs.
From then on
The judge scores a sample of live traffic continuously, corrected rates go on a dashboard with their intervals, alerts fire on your floor, and one HTTP call gates the next release.
What teams running this ask first
Judge the run, not the last paragraph
Keep the stack you have. Send us the same traces and find out what your evaluator is actually worth on this traffic.
$5 of credit on a verified email. No card.