Back to catalog / Agent workflows
Compare tool designs against a task set
Run agent tool calls on a fixed task set and measure success, latency, and tool feedback.
Goal
Goal: Run agent tool calls on a fixed task set and measure success, latency, and tool feedback.
Steps
- Prepare answer-checkable task fixtures and candidate tool schemas; pin model, prompt, and run limits. [tool-eval]
- Run each task through
agent_loop(prompt, tools=...); record tool sequence, inputs, latency, and final answer. [tool-eval] - Check answers against expected outputs and summarize actionable feedback on names/parameters/descriptions; repeat cases to estimate variance. [tool-eval]
How to verify
Report per-case success/failure, tool use, and latency; compare schema revisions on the same baseline.
Troubleshooting
Count unparsable output as a failed check, refine the contract, and assess tool quality from validated results and execution evidence.
Permissions
Prerequisites
- Python 3.11+, Anthropic API key, SDK, fixed tasks, and candidate tool schemas.
Permissions
- Use mock or read-only tools; do not connect production write endpoints to the benchmark.
Limitations
Model feedback is diagnostic, not ground truth; cost grows with task and tool count.
Pinned upstream source
- Repository
- anthropics/anthropic-cookbook
- File path
- tool_evaluation/tool_evaluation.ipynb
- Pinned commit
9c1e493ddd2b82df399d2a61b9c806c539e18be6- Source checked
- 2026-10-14 · Reviewed against the pinned upstream source
Repository metrics
These values describe the upstream repository, not popularity or likes for an individual skill or playbook.
- Stars
- Not collected
- Forks
- Not collected
- Observed at
- Not collected
No metrics snapshot is available yet.
License: MIT
Main topic
Turn ecommerce campaign materials into a reviewable weekly brief