Choose an agent’s tools by working backward from the outcomes it must produce. Give it the smallest set of capabilities that can complete those tasks with acceptable quality, cost, and recovery. A large catalog is useful for discovery, but exposing everything at once is rarely a good application design.
This guide provides a selection worksheet and a practical evaluation method. It applies to direct integrations, MCP servers, and shared tool platforms such as o11. It does not report a measured optimum tool count or assume every catalog operation is live and wallet-funded.
Define the outcomes and boundaries
List the user tasks the agent must complete. A research assistant may need to find sources, read selected pages, extract facts, and produce a cited brief. It may not need to send email, edit a CRM, generate video, or provision infrastructure.
For each task, define acceptance and limits. What counts as a useful result? Which data may leave the workspace? Which actions need explicit authorization? How much may the task spend, and how should it stop when evidence is insufficient?
Separate required outcomes from speculative future features. A tool should earn its place by solving an observed capability gap. If you cannot identify the task that needs it, leave it available for later discovery rather than adding it to the active set.
The company-research workflow illustrates this method. The agent’s useful tool set follows the brief’s requirements rather than the number of providers the developer can connect.
Map tasks to capabilities
Create a matrix with tasks as rows and capabilities as columns. Mark which capabilities are necessary, optional, or irrelevant. Then identify operations that can satisfy the necessary cells.
| Task | Necessary capability | Optional escalation |
|---|---|---|
| Find an unknown company domain | Web discovery | Structured company lookup |
| Read a known documentation page | Page retrieval | Browser rendering for required interaction |
| Fill a missing company attribute | Authorized enrichment | Human review of ambiguous identity |
| Produce a cited brief | Synthesis and evidence validation | Additional targeted retrieval |
| Narrate the approved brief | Speech generation | Pronunciation-specific repair |
Keep capabilities distinct even when one provider supplies several. This makes substitution and evaluation easier. It also prevents a broad provider connection from implying that the agent may use every action the provider exposes.
Use the gateway architecture guide to separate discovery and execution access from your application’s decision policy.
Inspect operation contracts
For every candidate, inspect required inputs, output shape, account requirements, pricing units, side effects, lifecycle, and recovery. A clear name is helpful but cannot replace the actual contract.
The MCP tools specification describes tool schemas and invocation. OpenAPI describes HTTP operation interfaces. These standards help expose contracts, while your application still needs to decide whether an operation fits its task.
Check whether the operation requires an existing resource identifier, customer account, file upload, or asynchronous follow-up. A tool that looks simple in discovery may depend on another capability your workflow does not yet have.
Keep provider identity and limitations visible. Two search operations may differ in source coverage, freshness, content extraction, and output detail. Two image operations may differ in reference controls and job lifecycle. Normalize only what is genuinely comparable.
For o11, a wired contract is not a successful live supplier test. Confirm the exact operation’s availability, selected account, and authorization before presenting it as usable in the target environment.
Remove overlap that does not help the agent
Several nearly identical operations can make selection ambiguous. Start with one default for each required capability and an explicit escalation path. Add alternatives when evaluation shows a meaningful coverage, quality, cost, or reliability benefit.
Write the routing rule in terms of the task. Use a page reader when the URL is known. Use discovery when the source is unknown. Use an authorized browser when interaction is necessary. Do not let a model choose an expensive browser session merely because its description sounds more powerful.
Keep a fallback from becoming silent semantic drift. If the replacement returns less evidence or has different data rights, the application must account for that. A fallback should satisfy the original acceptance condition or produce a visible limitation.
Avoid claims that a particular count of tools is universally optimal. The right set depends on task diversity, schema clarity, model behavior, and permission boundaries. Measure the actual failure modes instead of choosing a number because it sounds disciplined.
Scope tools by stage and authority
An agent may need different capabilities during research, drafting, and publication. Expose the current stage’s useful operations and retain a controlled path to request another capability. This can keep the active context understandable without removing flexibility.
Keep read-only work separate from external actions. Researching a company does not authorize contacting it. Preparing a website does not authorize publishing it. A large spending allowance does not grant either permission.
Use server-side authorization. In o11’s current source, an application key authenticates access to a service-credit card whose active policy and budget govern spending. Rotating that credential does not create a new allowance or reset history. The card is an authorization object, not a bank card.
Treat retrieved material as data. A website cannot expand the agent’s tool scopes, reveal secrets, or authorize a new purchase. The execution layer must enforce those boundaries independently of model instructions. The credential guide covers the access lifecycle.
Evaluate on representative tasks
Build a small task set with clear acceptance criteria, including difficult and ambiguous examples. Compare a minimal tool set with any proposed expansion. Keep model, instructions, inputs, account conditions, and review rubric consistent where possible.
OpenAI’s evaluation guide describes structured evaluation workflows. A simple reviewed worksheet is enough to begin if it records the same evidence consistently.
Measure accepted outputs, unsupported claims, unnecessary calls, incorrect tool choices, end-to-end latency, cost, and manual intervention. Review failed tasks to understand whether the problem was missing capability, confusing descriptions, invalid inputs, or output quality.
For illustration, adding a second search provider is useful if it resolves a recurring evidence gap under the same acceptance rubric. It is not automatically useful because the agent calls both providers on every task. The experiment should show what the additional operation contributes.
Budget the tool set as a workflow
Price the required path, conditional branches, retries, and optional outputs. A cheap default can become expensive if the agent habitually calls every alternative. Keep maximum steps and per-task allowance alongside per-operation maximums.
Use hypothetical calculations only as planning examples. Suppose a workflow allows two searches at $0.02, four retrievals at $0.01, and one optional lookup at $0.08. The maximum planned tool subtotal is $0.16 before inference and other charges. These invented rates do not establish any provider’s current prices.
Record actual quantities and accepted results during evaluation. If an optional tool rarely changes the decision, remove it from the default path. If a higher-cost operation consistently reduces rework, it may improve total economics.
The workflow cost worksheet gives a fuller model. Keep customer-account charges separate from wallet debits so the reported total does not imply that direct provider usage was free.
Maintain a capability register
For each active operation, record purpose, owner, contract revision, account mode, required permissions, evaluation evidence, known limitations, and recovery path. This makes tool selection a maintainable product decision rather than a list embedded in a prompt.
Review the register when tasks change, provider contracts move, or recurring failures appear. Retire operations that no longer serve a useful outcome, preserving the history needed for existing jobs and charges. Add capabilities through a small evaluation instead of expanding the set by default.
Start with the minimum set that completes one real workflow. A shared tool platform can make new capabilities easier to discover and try. Your application becomes reliable when it turns that breadth into a deliberate, tested selection that helps the agent finish the job.
Example: a capability register entry
For a fictional research agent, a page-reading entry might state: purpose, read a known public URL; default operation, the reviewed extraction contract; required account mode, verified for this workspace; acceptance, readable main content with source reference; escalation, an authorized browser only when interaction is necessary.
Add a cost boundary, freshness policy, known limitations, and recovery rule. If retrieval fails, preserve the failed URL and continue other sources. If the paid outcome is unknown, inspect the existing invocation before another purchase. If the result is readable but irrelevant, treat it as a quality issue and select a more appropriate source.
This entry gives the model a useful routing policy and gives a developer a maintenance target. When a supplier changes, the team can review the affected capability without rewriting every product prompt. When a new operation is proposed, the owner must explain the gap it fills and the evidence that justifies adding it.
Keep the register close to evaluation tasks. A capability that looks complete on paper should still demonstrate useful task coverage under its actual permissions, account conditions, and output constraints before joining the default production path.





