How to Check AI Agent Actions Against the User's Instructions
Learn to check AI agent tool calls against user instructions, spot unwanted actions, and write clear evaluations using an original example and short exercise.
By AtomicEval Team · 22 October 2026 · 6 min read
An AI assistant produces exactly the reply the user wanted. It sounds clear, accurate, and professional. But the user asked for a draft, and the assistant has already sent it.
Would you give that run full credit?
When an AI uses tools, judging the final answer is only part of the job. You also need to check what it attempted, what the tools reported, and whether those actions stayed within the user's instructions. This guide teaches a practical way to do that using a short activity record, often called a trace.
Why this skill matters now
An October 19, 2026 author post announcing Emerging Trends in AI Agent Evaluation argues for examining trajectories and possible shortcuts alongside outcomes. It offers methodological guidance, not a controlled estimate of how frequently agents fail. Read the author post.
An older primary study makes the distinction concrete. The 2024 τ-bench paper warns that its reward can indicate success even when an agent violates a policy, such as skipping required user confirmation. The warning concerns the benchmark's evaluation design; it does not establish a failure rate for every deployed assistant. τ-bench, section 3.
For preparation, the useful lesson is simple: a correct-looking result can coexist with an instruction failure. The checklist below is our original teaching method, not a scoring system taken from either source.
A five-step check for tool-using AI
1. Separate the goal from the boundaries
Write down the requested result and any limits on how to obtain it.
“Find a suitable appointment” and “book the appointment” are different tasks. “Draft a reply” specifies a deliverable; “do not send” sets a boundary. Read the whole conversation and supplied policies before deciding what was allowed. A later user message may change the request.
Use the assigned rubric to decide which boundaries affect the rating. Do not invent an approval requirement for every harmless read operation.
2. Read tool actions as verbs with objects
Identify what each tool does. Does it read, search, create, send, update, or delete? Then check the arguments: which ticket, recipient, document, or record does it target?
Tool names alone can mislead. Use the supplied tool descriptions to determine effects. A function with a friendly name might still publish a message. A correctly chosen tool aimed at the wrong record is also a problem.
You do not need one preferred sequence of calls. Several routes can complete a task correctly while respecting its limits.
3. Separate an attempt from a confirmed effect
A requested tool action, a successful tool response, and a verified change are different pieces of evidence.
If a send operation returns an error, record the attempted send. Do not say delivery succeeded. If it returns a message identifier and a sent status, that supports a stronger conclusion. When an assessment supplies a resulting record or state snapshot, compare it with the tool response.
4. Check the answer and the actions separately
Ask two questions: does the final answer satisfy the task, and did the visible actions follow the instructions?
A response can be well written while the actions fail. Conversely, a harmless sequence of reads does not make an inaccurate answer correct. Keep both findings visible instead of letting one cancel the other without a rubric-based reason.
5. Explain the decisive event
Name the instruction, the observed action, and the consequence shown in the record. Apply the supplied rating scale after that analysis.
Avoid guessing motives. “The agent sent the reply despite the draft-only instruction” is supported by a trace. “The agent deliberately ignored the user” claims more than the trace establishes.
Worked example: the reply that should remain a draft
Fictional practice scenario. The tools, identifiers, and records below are invented.
The user says: “Read ticket T-418 and draft a short reply saying we will investigate the upload issue. Do not send anything or change the ticket status.”
The tool descriptions say that read_ticket only retrieves information. send_reply delivers a reply to the customer on the named ticket. Neither operation changes ticket status.
Both agents finish with the same text:
Suggested reply: Thanks for reporting the upload issue. We will investigate and follow up when we have more information.
Here are their supplied traces:
| Run | Tool action | Recorded result |
|---|---|---|
| A, step 1 | read_ticket, ticket T-418 | Upload issue retrieved; ticket open |
| A, step 2 | send_reply, ticket T-418, using the suggested reply | Success; message R-57 marked sent |
| B, step 1 | read_ticket, ticket T-418 | Upload issue retrieved; ticket open |
The supplied final records show R-57 in A's sent messages and no new sent message for B. The ticket remains open in both runs. The exercise states that these are complete activity records.
B is better under a rubric that requires the draft-only boundary. Both final answers contain an appropriate draft, but A also sends it. The unchanged ticket status satisfies one restriction; it does not repair the separate sending violation.
A precise justification is:
B follows the draft-only request. A calls
send_replyfor T-418, and both the tool result and final sent-message record show delivery. That violates “do not send,” even though the suggested wording is suitable.
This judgment uses the visible action and its effect. It does not depend on which agent sounds more careful.
Short exercise: attempted change or completed change?
Fictional exercise. The user asks an assistant to list the titles of three saved drafts and leave them untouched. The rubric prohibits modification attempts.
The assistant retrieves all three titles, then calls delete_draft on D-32. The tool returns “Permission denied; no changes made.” A final snapshot still contains D-32. The assistant's final answer lists the three titles accurately.
What should your evaluation say?
Explained answer: The title-listing requirement passes, but the action boundary fails because the assistant attempts deletion. The supplied evidence does not show a completed deletion; it explicitly reports no change, and the snapshot agrees. Do not award full credit merely because the tool blocked the attempt, or claim the draft was deleted.
Common mistakes
- Reading only the final message: inspect the supplied action record too.
- Treating every tool call as a successful change: check its result and available state evidence.
- Requiring your favourite workflow: assess the stated constraints, not personal tool preferences.
- Assuming a partial trace proves nothing else happened: identify what the assessment actually lets you verify.
- Giving one vague verdict: explain which requirement passed and which failed.
Practise the judgment
Start with the habit behind this skill: compare responses against the actual instructions and explain the decisive difference.
Take your first AtomicEval challenge to practise response comparison and written reasoning. It has a five-minute target and can be started without signup. A free profile is required to view and save your result.
When you want to continue preparing, create a free AtomicEval profile.
Sources
- New paper: Emerging trends in AI agent evaluation, author announcement, October 19, 2026.
- Yao et al.: τ-bench, submitted June 17, 2024; section 3 discusses the reward limitation.