A business API may expose hundreds of operations without giving an agent a useful way to complete a task. The agent still has to choose the right operation, supply the right context, and interpret the response. Tool design is therefore part of product design: it shapes the actions the system can take and the mistakes users may have to resolve.

Name the business action

Choose names and descriptions that make an operation's purpose and boundaries easy to understand. A tool that retrieves a campaign summary should say which campaign, time range, and account it expects. A tool that changes a record should make its effects explicit.

Anthropic's tool-design guidance highlights clear functional boundaries, meaningful responses, and evaluation. For an enterprise workflow, those ideas translate into interfaces that match the user's work rather than exposing every internal implementation detail.

Writing effective tools for AI agents \ Anthropic

Return enough information to make the next decision

A response such as success may be too vague. The next step may need the object identifier, the state reached, the time observed, and whether another process still has work to do. Return the facts that let the agent continue accurately.

Errors deserve the same care. Distinguish missing input, unavailable capability, expired authority, and a temporary service failure. Each suggests a different next step. A message that encourages blind retries can create more work than the original failure.

Design for recovery and review

Give operations a stable reference when their status may need to be checked later. Make it possible to determine whether a requested action happened before trying again. For changes with external consequences, a clear read-back path is often as important as the write operation.

Evaluate tools using realistic tasks. Observe where the agent chooses the wrong operation, lacks required context, or misunderstands the response. Improving those interfaces can make the whole system easier to operate, even when the underlying model stays the same.