LLM-as-a-judge for agents: does it see the tool calls?
What DeepEval, promptfoo, Inspect, Opik and Phoenix actually send their LLM judge, and how a real judge grades 40 agent runs with and without tool calls.
Tested 1 Dec 2026 on DeepEval, promptfoo, Inspect, Opik and Phoenix
Short answer: often not. We sent one support-agent run through the LLM-as-a-judge features of DeepEval, promptfoo, Inspect, Opik and Arize Phoenix and recorded exactly what each judge received. Some send every tool call and result. Inspect's default and both promptfoo routes we tested never show the judge what the tools returned.
Then we measured what that costs. A real LLM judge graded 40 support-bot runs, 24 of them deliberately wrong, with and without the tool calls, with reasoning off and on.
- Without the tool calls, the grade tracked whether the bot offered money, not whether it was right. The judge failed all 8 correct credit offers and passed a bot that said an order was "out for delivery" when it was held at a hub.
- Turning reasoning on without the tool calls made it worse. The blind judge passed a third of the wrong replies, including $25 credits the policy never allows.
- With the tool calls and reasoning on, the same small judge was near-perfect. It failed all 72 gradings of wrong replies and passed 47 of 48 correct ones. With reasoning off, it still passed about a third of the wrong credit offers.
Evidence first, then a judge that works through it. Reasoning can't recover what the judge was never sent.
Why LLM judges miss tool calls: the input-assurance paper
On 2 November 2026, researchers from Adelaide University, CSIRO and UNSW Sydney posted "Does the Judge See What the Evaluation Requires? Input Assurance for LLM Agent Evaluation" (arXiv 2611.02676). In their own pipeline, the step that turns an agent's run into text for the judge left out every structured tool call. 53 of 60 judged steps reached the judge blank. Every hash check still passed: the checks confirmed the bytes hadn't changed, not that the right content was in them.
They propose four obligations for any pipeline that uses an LLM judge on agents:
- Required content survives rendering.
- Each checker covers the requirements assigned to it.
- A failed check blocks later use.
- The judge reads the same bytes that were last checked.
The paper links its study materials and scripts. It has no funding or competing-interest statement, and we found no author tied to an eval company.
Their bug was in a research pipeline. The practical question is whether the same gap exists in the eval tools teams ship with.
What each eval tool sends its LLM judge
We wrote one support-bot run by hand, with no model involved. One run is enough here, because this test is about plumbing, not model behaviour:
- The customer asks where their late order is and whether they get anything for the delay.
- The bot calls
lookup_order, thensearch_help_center. The second call returns a 9,892-character help-center article whose last section holds the rule: US orders more than 5 days late get a $10 store credit. - The final reply promises the credit.
Each part of the run carries a unique canary string, so finding the canary in a judge's prompt proves that part arrived.
We pushed the run through each tool's documented agent or tool-call judging feature, with default settings. In place of the model, each tool called a local OpenAI-compatible stub that records the exact request body and returns a fixed pass, so the grades mean nothing and the captured inputs are the evidence. Nothing left the machine. The run, the code and every captured prompt are in the five-tools example.
| Tool and route | Tool names | Arguments | Tool results | User message | Final reply |
|---|---|---|---|---|---|
DeepEval TaskCompletionMetric | yes | yes | full | yes | yes |
Inspect model_graded_qa, default | no | no | no | yes | yes |
Inspect model_graded_qa, include_history=True | yes | yes | full | yes | yes |
promptfoo trajectory:goal-success | yes | no | no | no | yes |
promptfoo llm-rubric | no | no | no | no | yes |
Opik AgentTaskCompletionJudge, TrajectoryAccuracy¹ | yes | yes | full | yes | yes |
Phoenix ToolResponseHandlingEvaluator¹ | yes | yes | full | yes | yes |
Phoenix ToolSelectionEvaluator, ToolInvocationEvaluator¹ | yes | yes | not asked² | yes | not asked² |
¹ You write the text these judges read; the row shows that what we passed arrived intact. DeepEval, Inspect and promptfoo build the judge's text from the run themselves (DeepEval from a test case or an @observe trace, promptfoo from the OpenTelemetry trace).
² By design: these evaluators judge the choice of tool and its arguments.
What stands out:
- Nothing was cut short. Wherever a tool passed the long article on, all 9,892 characters arrived. The differences come from what each tool chooses to send.
- DeepEval's task completion metric sends everything, but its judge is called twice. The second call, which gives the score, reads only a short summary the first call wrote. With a real model, the score depends on what that summary keeps.
- Inspect's
model_graded_qashows the judge the question and the final reply only, by default. Its documentation saysinclude_historydefaults to False, "which presents only the original sample input." It's a sensible default for Q&A evals. For agents, it means the judge never sees the work, and one argument turns the full run on. - promptfoo's trajectory judge gets a list of step names, not their contents. In the code, arguments are extracted for the deterministic
trajectory:*checks but aren't passed to the judge.llm-rubricsees the output and your rubric; the docs show how to add more with test variables orrubricPrompt. - Opik and Phoenix pass on whatever you give them, intact. What their judge sees is up to you. Phoenix's selection and invocation evaluators judge the choice of tool, so they don't ask for results.
Our rubric asked whether the bot "promises a store credit only if the help-center policy allows it". Inspect's default and both promptfoo routes put that question to the judge without ever showing it the policy.
We left Langfuse out. Its LLM-as-a-judge evaluators run server-side (Langfuse Cloud or self-hosted), not in your code, so capturing what its judge receives needs a different setup from the one we used for the other five.
Does hiding tool calls change an LLM judge's grade?
We built 40 runs from templates, in the same shape as the first: a lookup, the same help-center article, a final reply. Order numbers, dates, countries and wording vary. 16 replies are correct and 24 are wrong in a specific way: a credit on an order only 2–5 days late, a credit on an international order, a $25 credit, a delivery date that doesn't match the lookup, or "out for delivery" when the lookup says held.
Each run was graded through Inspect's model_graded_qa in two modes:
- Default: the judge sees the customer's question and the bot's final reply.
include_history=True: the judge also sees the tool calls and their results, including the policy.
We ran OpenAI's gpt-5.4-mini in both modes, first with the API's default reasoning setting (which spent zero reasoning tokens on every call) and then with reasoning_effort="medium", three gradings per run each time. As a check, the larger gpt-5.4 graded each run once with the full history. Same rubric and template throughout.
| Judge setup | Correct replies passed | Wrong replies passed |
|---|---|---|
| gpt-5.4-mini, question + reply only | 24/48 (50%) | 10/72 (14%) |
| gpt-5.4-mini, question + reply only, reasoning on | 26/48 (54%) | 23/72 (32%) |
| gpt-5.4-mini, with tool calls | 48/48 (100%) | 17/72 (24%) |
| gpt-5.4-mini, with tool calls, reasoning on | 47/48 (98%) | 0/72 (0%) |
| gpt-5.4, with tool calls | 16/16 (100%) | 0/24 (0%) |
Each cell counts gradings that passed (grade C). By type of error:
| Runs | n | Question + reply only | Question + reply only, reasoning on | With tool calls | With tool calls, reasoning on |
|---|---|---|---|---|---|
| Correct: credit promised, order more than 5 days late | 8 | 0/24 | 2/24 | 24/24 | 24/24 |
| Correct: no credit, order 5 days late or less | 8 | 24/24 | 24/24 | 24/24 | 23/24 |
| Wrong: $10 credit, but only 2–5 days late | 8 | 0/24 | 3/24 | 10/24 | 0/24 |
| Wrong: $10 credit on an international order | 4 | 0/12 | 3/12 | 5/12 | 0/12 |
| Wrong: $25 credit (policy says $10) | 4 | 0/12 | 5/12 | 0/12 | 0/12 |
| Wrong: delivery date doesn't match the lookup | 4 | 6/12 | 8/12 | 2/12 | 0/12 |
| Wrong: "out for delivery", but the lookup says held | 4 | 4/12 | 4/12 | 0/12 | 0/12 |
All columns are gpt-5.4-mini, three gradings per run.
Without the tool calls, the judge graded the wrong thing
On its face, the blind judge looks strict: with reasoning off it passed only 14% of the wrong replies. Look at what it passed and failed, though:
- Replies that promised a credit: passed 1 of 87 gradings, right or wrong.
- Replies that promised no credit: passed 33 of 33.
It couldn't check the policy, so it failed every credit, including all 8 correct ones. On a correct reply it wrote: "there is no evidence in the submission that this matches the policy." It couldn't check the lookup either, so a reply that sounded careful passed even when the facts were invented. When a bot told a customer their delayed order was "out for delivery today", the judge noted the claim had no "evidence from the lookup", then passed it anyway, 3 times out of 3.
Turning reasoning on didn't help; it changed which way the judge failed. It started giving unverifiable claims the benefit of the doubt. A $25 credit, under a policy that only ever allows $10, was "consistent with that requirement unless the policy forbids it." Wrong replies passed went from 10 to 23 of 72.
Which way a blind judge errs depends on the rubric and the settings, and you can't tell from its score which way yours is going.
With the tool calls, a small reasoning judge got it right
Given the full run with reasoning off, gpt-5.4-mini passed every correct reply but also passed 15 of the 48 gradings of wrong credit offers:
- 3-day delays treated as more than 5: one "appears to qualify based on the original ETA versus the new ETA."
- An order exactly 5 days late: it said "the credit is allowed under the policy", which says "more than 5".
- An order to Canada: "the delay is 7 days, which qualifies." In three gradings of that run, the policy's US-only condition never came up.
Its grades were also unstable: 9 of the 40 runs got different grades across the three attempts. With reasoning_effort="medium" on the same inputs, it failed all 72 gradings of wrong replies, passed 47 of 48 correct ones, and only 1 run got mixed grades. gpt-5.4 got all 40 right with reasoning off.
So the evidence is necessary, and for a small judge, so is letting it reason. Check what your eval tool sets: our judges spent zero reasoning tokens until we asked for them.
How to make your LLM judge see the tool calls
1. Look at what your judge actually receives. Do a dry run: point your eval tool's judge at a local server that records requests, and read one. Our free, MIT-licensed judgeproof includes one (judgeproof capture). Its input check command turns the paper's four obligations into CI checks on that captured input:
pip install judgeproof
judgeproof input check \
--run run.json --packet sent.json
It exits 1 if any tool name, argument, result or the final reply is missing, so CI stops before the judge's score is used. judgeproof input verify then confirms the bytes sent to the judge match the ones that were checked (the paper's fourth obligation).
2. Turn on the documented option. In Inspect, that's one argument:
from inspect_ai.scorer import model_graded_qa
# judge sees the question and the final reply only
scorer = model_graded_qa()
# judge also sees every tool call and its result
scorer = model_graded_qa(include_history=True)
In promptfoo, put the tool results into the rubric with test variables, or write your own rubricPrompt. In Opik and Phoenix, pass the tool results yourself. They'll deliver what you give them.
3. Check computable rules in code, not with a judge. "More than 5 days late, US only, $10" is a subtraction and two comparisons:
from datetime import date
def credit_allowed(lookup):
late = (date.fromisoformat(lookup["new_eta"])
- date.fromisoformat(lookup["original_eta"])).days
return lookup["ship_to_country"] == "United States" and late > 5
def check_credit(lookup, promised_amount):
# promised_amount: None if the reply offers no credit
if promised_amount is None:
return not credit_allowed(lookup)
return credit_allowed(lookup) and promised_amount == 10
In production, don't parse prose: have the agent issue credits through a tool, and assert on that call's arguments. Leave the judge the parts that need judgement: tone, whether the reply answered the question, whether it made something up.
4. Set the judge's reasoning explicitly. Small reasoning models can run with reasoning off by default. Ours did, and that was the difference between passing a third of the wrong credit offers and passing none. Set it, and pin it with the judge's model version.
5. Know what your scorer is scoring. If your judge runs in two steps like DeepEval's, read what the first step hands the second. If your trajectory judge gets step names but not contents, it can tell you the bot called the right tools, not that it used their results correctly.
How we tested, and the limits
- Versions. What each tool sends was recorded on 13 November 2026 with DeepEval 4.3.4, promptfoo 0.125.1 (Node 22.23.5), Inspect 0.3.289, Opik 2.2.143 and arize-phoenix-evals 3.10.0. On 1 December we reread the relevant code on each tool's current main branch, and the behaviour described above still matches. The judge test ran on 1 December through Inspect 0.3.289 with OpenAI's gpt-5.4-mini and gpt-5.4.
- Small numbers. 40 runs, 3 gradings per setup (1 for gpt-5.4). Read the percentages as direction, not precise rates.
- One store, one policy, template-built runs. Real agent runs are longer and messier. We didn't test long or parallel tool calls, images or multi-agent hand-offs.
- The judge test ran through Inspect only. Other tools' judge prompts differ, and so would their behaviour without the evidence. The first test shows what each tool sends, not how its judge would grade.
- Two OpenAI judges, two reasoning settings. We didn't try other providers, other reasoning levels or temperatures. gpt-5.4 graded once per run, with the tool calls and reasoning off only.
- Default configurations, chosen in good faith. Each tool's documented agent-judging route, plus the one option that changes inputs (Inspect's
include_history). Other settings may send more. - Not tested: Langfuse; Opik's trace-reading judge and Phoenix's trace workflow, which need their servers; promptfoo's
agent-rubric; DeepEval's other agent metrics.
Everything is rerunnable: the five-tools example has the first test, and the real-judge example has the 40 runs, every judge prompt and grade, and the spend log.
LLM-as-a-judge FAQ
What is LLM-as-a-judge?
LLM-as-a-judge is using one language model to grade another model's output against a rubric, instead of a person or an exact-match check. It scales to thousands of cases, but the judge only knows what's in its prompt. For agents, that means the tool calls and results have to be in the text it's sent.
Is LLM-as-a-judge reliable for evaluating AI agents?
Only if it sees the evidence and you've checked it against cases you know the answer to. In our test, a judge without the tool calls passed 14–32% of wrong replies depending on its settings. With the tool calls and reasoning on, it passed none of the 72 wrong ones.
How do you evaluate an AI agent's tool calls?
In two layers. Check in code what code can check: the right tool, valid arguments, rules that are arithmetic. Use an LLM judge for what needs judgement, give it the tool calls and their results, and confirm it receives them by reading one request it was sent.
Does a reasoning model make a better LLM judge?
Only when it can see the evidence. With the tool calls, turning on reasoning took gpt-5.4-mini from passing 17 of 72 wrong replies to none. Without them, reasoning made it worse: 23 of 72, up from 10. It reasoned its way to giving unverifiable claims the benefit of the doubt.
What's the difference between LLM-as-a-judge and agent-as-a-judge?
LLM-as-a-judge sends a text version of the run to a model and asks for a grade. Agent-as-a-judge gives the judge tools to go and look, for example to read more of a trace. Opik's newer trace judge is built that way, judging from its source code. Either way, what the judge can see decides what it can grade.
What is agent trajectory evaluation?
Grading the steps an agent took (which tools, in what order, with what arguments), not just its final answer. Check whether your trajectory judge sees each step's contents or only its name: promptfoo's trajectory:goal-success sends step names and the final output, not arguments or results.
What should an LLM-as-a-judge prompt include for an agent?
The user's request, every tool call with its arguments, every tool result the rubric depends on (in full, not summarized), and the final reply. Then name the evidence in the rubric, for example "check the credit against the policy in the search result", so the judge knows where to look.
Does DeepEval's LLM-as-a-judge see tool calls?
Yes. In our test, TaskCompletionMetric sent the whole run: tool names, arguments and full results. The score comes from a second call that reads a summary written by the first, so the verdict depends on what that summary keeps.
Does promptfoo's llm-rubric see tool calls?
Not by default. Its grader sees the output and your rubric. Add tool results to the rubric with test variables, or replace the grader prompt with rubricPrompt. promptfoo's trajectory:goal-success reads the trace but passes the judge step names, not arguments or results.
Disclosure
Woq sells eval work to startups, including judge checks and CI gates like the ones above. We sell no eval tool and take no affiliate or vendor money. We pay OpenAI for API use, including the judge calls in this post; OpenAI agreed to buy promptfoo in March 2026. We plan to apply, later, to the partner programmes of Langfuse (ClickHouse), Comet (Opik) and Arize (Phoenix). We have no partnership, payment, investment or advisory tie with any tool named here.

