Skip to content
mentoor

Topic 5 of 5 · 5 min read

Evaluating tool designs with agent transcripts

Goal: Compare two versions of a tool set from eval results and transcripts and decide which to ship and what to change next.

You cannot tell whether a tool set is good by reading it; run agents on realistic tasks, measure, and read the transcripts. The author knows what every tool means. The agent does not.

Check yourself · 1 of 3

Which eval task best exposes problems in a tool set?

Choose one answer

Why it matters

Tool designs fail in ways their authors do not see: two tools look distinct to you and identical to the model, a parameter is filled with the wrong kind of value, or a tidy result hides the one id the next call needs. Anthropic's guide describes building a prototype, writing an evaluation from realistic tasks, running it, and iterating on what the transcripts show.

How to do it

  1. Write realistic tasks. Use work a user would give, which needs several calls: "Find the customer who reported the double charge on 2026-11-20 and summarise the thread." Avoid single-call toy tasks.
  2. Give each task a checkable answer. An expected final value, or a state check, so scoring needs no opinion.
  3. Record per task: success or failure, number of tool calls, tokens used, tool errors, and wall time.
  4. Read the transcripts, not only the totals. Look for repeated calls, wrong tool choices, malformed arguments, calls that were needed but skipped, and long results that were ignored.
  5. Change one thing at a time. Rename a tool, shorten a result, add an example, then rerun the same tasks.
  6. Hold out tasks. Keep some tasks unseen while tuning, so you can check you did not just fit the eval.
  7. Let an agent help. Paste the transcripts into an agent and ask for the confusions and a proposed edit to the definitions. Review its proposals; do not apply them blindly.

Before and after

Version Success Avg calls Avg tokens
v1: 12 thin tools 14 of 20 9.1 41k
v2: 5 task tools 18 of 20 4.3 17k

v2 is better on all three. The two failures left in v2 are what to read next.

What goes wrong

  • Only toy tasks. The tools pass easy checks and fail on real, multi-step work.
  • Success rate alone. A version that succeeds by making 30 calls costs more and breaks more under load.
  • Overfitting. Edits that fix the eval tasks but make descriptions narrow or odd for other uses.

Examples

Reading a transcript

In 6 of 20 runs the agent calls customers_search three times with slightly different spellings before succeeding. The transcript shows the description never says the search is exact-match. Adding "exact match on full name; use customers_find_by_email for partial matches" and rerunning cuts the repeats.

Same success, different cost

Two designs both solve 19 of 20 tasks. One averages 5 calls and 12k tokens, the other 14 calls and 55k tokens. Ship the first; the second will cost more and give more chances to fail on harder tasks.

Key points

  • Evaluate with realistic multi-step tasks that have a checkable answer, not one-call toys.
  • Track success rate, number of calls, tokens and tool errors per task, not just whether it finished.
  • Read the transcripts to see why an agent got confused; the totals only show that it did.
  • Change one thing at a time and rerun the same tasks, keeping some tasks held out.
  • An agent can analyse transcripts and propose edits to tool definitions, but a person reviews them.

Common mistakes

  • Declaring a design good because the author can use it.
  • Comparing versions on success rate only and ignoring calls and tokens.
  • Reading only the summary numbers and never opening a transcript.
  • Changing several things between runs, so no one knows what helped.

Check yourself · 2 of 3

Two tool sets both solve 19 of 20 eval tasks. One needs 5 calls and 12k tokens per task on average, the other 14 calls and 55k. Which do you ship?

Choose one answer

Check yourself · 3 of 3

An eval shows the agent fails 6 of 20 tasks. What is the most useful next step?

Choose one answer

Practice items, not counted towards your mastery.

Start here