This post is for engineers and architects building agents that have to work in production. Tool-use orchestration comes down to three decisions, made in sequence. First, decide who picks the next tool. Second, decide where a call gets validated. Third, decide how the model sees the tools once there are many. At each step, take the simplest option that works and move up only when a specific limit forces you to.
Decide who picks the next tool
Anthropic’s guide to building effective agents draws the line I find most useful. Workflows orchestrate LLMs and tools “through predefined code paths.” Agents “dynamically direct their own processes and tool usage.” The guide dates from December 19, 2024, and its own note says much of the tooling landscape has changed since. The distinction still holds. Its workflow patterns are prompt chaining, routing, parallelization and orchestrator-workers. They keep control in code while the model does the reasoning.
I’d default to a workflow. If the task breaks cleanly into fixed steps, chain them and put a programmatic gate between steps. If inputs fall into distinct categories you can classify reliably, route them. Hand the choice of tool to the model only when you cannot write the sequence down in advance. The guide notes that agentic systems often trade latency and cost for better task performance. It adds that for many applications, optimizing single LLM calls with retrieval and in-context examples is usually enough. That is where this advice stops applying. If your problem doesn’t need tools chosen at runtime, don’t build tool orchestration at all.
Even inside an agent, you can narrow the model’s freedom from code. Anthropic’s tool use docs describe three controls for Claude:
- With the default
tool_choiceof auto, Claude decides each turn whether to call a tool. - You can configure
tool_choiceto require a tool call rather than relying on prompting. disable_parallel_tool_uselimits Claude to at most one tool call per turn.
Those settings are specific to Claude, and other APIs have their own. Either way, constrain the loop in code before you try to constrain it with prompt wording.
Put the boundary in a validator, not the prompt
The Tool Use pattern in the Agent Patterns Catalog makes the validator the boundary. The model emits a typed call, and the host checks it against a JSON Schema. Invalid calls come back as a typed error before any executor runs. Its guardrail is the one I’d hold to without exception: the model cannot affect state except through a registered tool with a typed signature.
Read its failure modes before you design anything. The first is a “side-door effect,” where model text changes state outside a registered tool and the audit trail misses it. The second is an over-strict schema, where valid intents fail validation and the agent loops on rejected calls. The catalog’s pseudo-code ends its loop when a step budget is exhausted. Copy that. It is the cheap guard against an agent that keeps retrying a call the schema will never accept.
For any tool that writes, Arcade’s catalog of tool patterns lists three properties I’d check:
- Idempotent operations, so retries are safe.
- Error classification, which separates retryable failures from permanent ones.
- A permission gate, which enforces access control in code, not prompts.
Typed calls are the wrong tool when the deliverable is free prose. The Agent Patterns Catalog calls that overhead.
Scale the tool set only when you hit the limit
The simplest arrangement loads every tool upfront. Microsoft’s multi-agent reference architecture (last updated July 7, 2025) calls this static tools. It is fast, predictable and free of external dependencies. The trade-off is that a large number of tools can hurt the model’s selection and exceed context limits. The page cites the OpenAI Function Calling Guide suggesting 10-20 tools per request. Its next step is vector similarity search over tool descriptions. That keeps context small, but you now have a database to provision and tune. You also risk retrieving tools that look relevant and aren’t, or missing the right tool entirely.
As of the current docs, Anthropic offers a server-side tool search tool for working with thousands of tools by discovering and loading them on demand. Daz’s write-up on advanced tool calling reports Anthropic’s own figures for the approach. One of them is tool-selection accuracy improving from 49% to 74% on Opus 4. That is a vendor measuring its own feature, so treat it as a reason to run your own test, not as a guarantee. The post also describes a client-side version that works with any model: a registry of tool names and descriptions behind a search tool.
The Control Plane as a Tool paper (arXiv, May 11, 2025) goes a step further. You expose a single tool interface to the agent and put the routing logic behind it. Tools can then be added, removed or changed without touching agent code or prompts, and tool usage can be tracked and checked against policy in one place. I’d reach for this only when several teams contribute tools or you need central governance. Below that scale, it is another layer to debug.
What to do
Start with a workflow and a short, static list of typed tools behind a schema validator. Give the loop a step budget, and keep authorization in code. Move to model-driven tool choice only when you can’t write the sequence down. Move to tool search or a control plane only when the tool count measurably hurts selection or context. If you can’t name which limit you’ve hit, you haven’t hit it yet.
