What Makes an API Ready for AI Agents? A Practical Evaluation Framework

An agent-ready API lets a model find the appropriate operation, construct a valid request, understand the result, and recover when work does not complete normally. A machine-readable schema helps, but it does not establish all of those properties.

This article proposes an evaluation framework you can apply before adding an API to an agent’s tool set. It is a methodology, not a published benchmark result. The examples, weights, and fixtures are illustrative and should be adapted to the decisions your application needs to make.

Method reviewed October 18, 2026. o11 publishes this framework. No paid supplier calls were made to produce it. Documentation review, offline contract checks, controlled fixtures, and authorized live execution should remain separate evidence levels.

The right unit of evaluation is a specific operation under a specific access mode. A provider may offer an excellent search endpoint and a difficult asynchronous export endpoint. A customer-owned account can support operations that a shared funded account cannot safely expose.

Record the provider, operation identifier, contract version, account type, and intended task. Then state the user outcome. For example, retrieve a company’s official website and return the source URL is more evaluable than support research.

Separate prerequisites from quality. Missing credentials make an operation unavailable in your environment; they do not prove that its schema is poor. A correct contract that has never been exercised against the supplier is implemented, not live-certified.

This distinction is material in o11’s own inspected local catalog: source identities, wired contracts, locally audited behavior, and activated supplier operations are different evidence categories. Apply the same standard to your own integrations and any platform you evaluate.

Four evidence levels

LevelWhat it establishesWhat it does not establish
Documentation reviewedPublished inputs, outputs, prerequisites, stated behaviorCurrent account access or runtime success
Contract checked offlineValidation and request construction match the adopted contractSupplier acceptance or actual charge
Controlled lifecycle fixtureYour handling of defined success/error/job statesFrequency of those states in production
Authorized live operationA specific request worked under recorded conditionsAll operations, accounts, or future reliability

Keep these labels in the evaluation report. Combining them into one green status invites readers to infer more evidence than you have. A product page, an adapter build, and a successful supplier request each answer different questions.

Record the date and reviewer at every level. When a contract changes, you can identify which evidence needs renewal without repeating unrelated checks.

Six dimensions to assess

Assess discovery, input clarity, result usefulness, lifecycle behavior, access and economics, and operability. These dimensions are a proposed framework rather than a universal industry score.

Discovery asks whether the agent can distinguish this operation from similar tools. Input clarity asks whether required information, units, enums, and identifiers are understandable. Result usefulness asks whether the output supports the intended user task with adequate provenance.

Lifecycle behavior covers asynchronous state, cancellation, retries, and uncertainty. Access and economics cover account requirements, authorization, price units, and bounded execution. Operability covers versioning, logs, ownership, and a practical recovery path.

The MCP tools specification supplies a common discovery/call structure and schemas, while leaving application behavior to implementations. JSON Schema defines validation mechanisms such as required properties and additional-property handling. Those standards are useful foundations, not proof of semantic usability. MCP tools, JSON Schema objects.

Make a task fixture

Write a fixture before running the agent. It should contain the user request, available context, allowed tools, expected behavior, acceptance criteria, and maximum attempts. Use synthetic data or public information that you are authorized to process.

For illustration, a lookup fixture might ask for the official website of a fictional company identified by a domain hint. The expected behavior is to use the hint, return the matching entity, and mark absent fields unknown. Do not publish the fictional output as if it were a real supplier response.

Add an ambiguous case, a missing-input case, and a case where the correct response is to stop. These reveal whether the contract encourages guessing. Add a fixture with a policy denial so the model learns that syntactic validity is not authorization.

Keep the fixture independent from the adapter implementation. A check that merely reproduces how the code builds its own request may pass even when the contract is confusing to an unfamiliar model.

Score without hiding hard failures

Use a small ordinal scale for documentary review: absent, partial, clear, and verified in the stated environment. Attach evidence to each judgment. A number without a linked observation is difficult to audit.

If a weighted summary helps prioritize work, declare the weights first. An illustrative profile might allocate 20% each to input clarity and result usefulness, 15% each to discovery, lifecycle, access/economics, and operability. The weights sum to 100%; they are a project choice, not a validated predictor of production success.

Apply hard requirements before averaging. An operation that exposes another tenant’s data must not receive a passing grade because its documentation is excellent. Unknown pricing for an uncapped paid operation likewise needs resolution before funded activation.

Report the dimension scores and blocking findings alongside any summary. Do not compress a nuanced review into one readiness badge that hides why the operation is or is not appropriate for your application.

Measure model behavior separately

For agent trials, track selection correctness, argument validity, execution outcome, and accepted task result. These form a sequence but should remain separate metrics.

selection rate = correct operation selections / eligible trials
valid-argument rate = valid requests / attempted requests
task acceptance rate = accepted outputs / all assigned trials

Define eligible trials explicitly. A missing prerequisite should be recorded rather than silently removed from the denominator. If the intended product includes first-time setup, that friction belongs in a separate onboarding measure.

Fix model, tool descriptions, context, and attempt allowance within a comparison. Anthropic’s engineering guidance recommends realistic evaluation tasks and iterative tool improvement; use that principle to inspect failures, not to claim a universal score from a small sample. Anthropic tool evaluation guidance.

Read the schema-only usability protocol for an experiment that isolates what the contract itself communicates.

Test recovery with controlled fixtures

You can evaluate important lifecycle handling without spending supplier money. Define controlled responses for malformed inputs, expired access, rate limiting, delayed jobs, duplicate notifications, and uncertain outcomes after dispatch.

For each fixture, specify the expected action. A validation error should identify what needs correction. A policy denial should stop the prohibited action. An uncertain submitted job should preserve its identifier and trigger reconciliation rather than automatic resubmission.

Record which component owns recovery: client, gateway, application worker, or operator. Include a retry or escalation path with a bounded stopping condition. A permanent blocked state with no owner is an incomplete design.

Controlled fixtures establish that your code handles those defined conditions. They do not establish how often the supplier fails or whether its live behavior matches every fixture. Keep that limitation visible in the report and update fixtures when real evidence justifies a change.

Produce a reviewable evaluation record

A useful record contains the task definition, adopted contract reference, evidence level, reviewer, date, findings by dimension, trial counts, failure examples, and unresolved prerequisites. Preserve input and output artifacts only when you are permitted to retain them, with secrets removed.

Add a decision field: ready for this scope, ready with a named limitation, or needs a specific correction before activation. Include an owner and next action. That makes the evaluation actionable without claiming that an operation is universally safe or reliable.

For changes, retain the previous decision and explain what new evidence caused the revision. A contract update may improve arguments while introducing a different output shape; the history helps consumers understand what they need to adjust.

The time-to-first-tool-call protocol complements this review by measuring setup friction. The workflow cost protocol adds task-level economics. Together they assess usability, effort, and useful output rather than relying on catalog counts.

Use the framework to improve tools

Prioritize the findings that block real tasks. A confusing identifier description may be a small change with a large practical effect. Missing ownership or uncertain billing behavior can require deeper work before an operation should be available to an unattended agent.

Re-run the affected fixtures after a material correction. Broaden the review when the change affects shared authentication, execution, or result handling. Avoid declaring every operation reverified because one common component passed a local check.

The outcome should be a specific, evidence-backed answer: this operation can support this task under these conditions, with these remaining limitations. That is more useful to a developer building productive agents than a broad assertion that an API is agent-ready simply because it exposes a schema.

Sources

Give your agents a wallet.
Open up their world.

The paid web, through one simple API.

Get started
Become a partner Sell your product/API to agents using o11.

Keep reading