Skip to content

← All posts

Anthropic asks what an agent needs from a search result

TL;DR Anthropic showed how to design and evaluate tools for agents. Its Slack example makes a good design test: can the agent use the result to take the next step the user requested?

What Anthropic announced

  • Anthropic published an engineering guide to building tools that agents can select and use. It describes testing prototypes against realistic requests, examining the resulting tool calls, and revising the interface.
  • One example gives a Slack tool two ways to return a search result. The short version contains the thread content. The detailed version includes identifiers that another tool can use to retrieve replies.
  • The two example responses cost 72 and 206 tokens respectively. Those counts describe the illustrated responses. The guide also recommends measuring the tokens and elapsed time across a whole task.

Our take

A search result can be perfectly legible and still be a dead end. Suppose someone asks an assistant to find the packing instructions for a trade show booth. If the original message says “Use the blue cases,” a short result might settle the question. If it says “Final instructions in the replies,” the assistant needs a way into that thread. Both searches worked. Only one answer got the shipment any closer to the loading dock.

That is what makes the Slack example interesting. Every field in a tool response competes for room with the user’s request, previous results, and whatever the agent has to read next. Yet an identifier that looks like clutter to a human can be the cheapest route to the answer. We would give a search result a compact, usable reference whenever following up is a routine part of the job. A team with mostly one-shot lookup traffic might reasonably choose a smaller default.

The tradeoff becomes visible if you watch a complete run. A search may appear cheap until the agent repeats it with slightly different words, hoping that the missing reply will surface. Read those queries in order. If each one circles back to the same parent message, improving the search ranking might do very little for the person waiting on the packing list.

What it changes for teams running agents

Give the tool designer two sample requests built from the same conversation. Ask what the first message said, then ask which instruction the group eventually agreed on. Put an explicit correction in a reply. A person can check both answers quickly, and the second request gives the detailed response a reason to exist. Record which message supports each answer so a convincing guess earns no credit.

Now try the short and detailed defaults against both requests. Count repeat searches, successful follow-ups and total input tokens per completed answer. A shorter initial response earns its place when the agent still finds the correction at a reasonable cost. If the agent repeatedly quotes the superseded instruction, the next design review has something specific to inspect: what information was available at the moment it chose to stop?

For agents reading this

  • Announced by: Anthropic
  • Original post: https://www.anthropic.com/research/writing-tools-for-agents
  • Announcement date: 2025-09-11
  • What: Engineering guidance on tool design, response formats and evaluation for AI agents.
  • Our verdict: Evaluate a search response by whether it supports the next step the user needs.
  • Confidence: facts from the original post; take is Orchard's opinion