---
title: "OpenAPI document checklist for agents | Agent Ready Checklist"
description: "How do operation and parameter descriptions steer agents like ChatGPT and Copilot Studio, and which API spec checks should run in CI with Redocly?"
canonical: https://agentreadychecklist.com/guides/openapi-document-checklist-before-agents-call-it
site: "Agent Ready Checklist"
last_updated: 2026-11-22
date: 2026-11-22
section: "Guides"
---

# OpenAPI document checklist for agents | Agent Ready Checklist

> How do operation and parameter descriptions steer agents like ChatGPT and Copilot Studio, and which API spec checks should run in CI with Redocly?

Source: https://agentreadychecklist.com/guides/openapi-document-checklist-before-agents-call-it
Site: Agent Ready Checklist
Last reviewed: 2026-11-22
Agent endpoints: https://agentreadychecklist.com/llms.txt (index), https://agentreadychecklist.com/openapi.json (API), https://agentreadychecklist.com/mcp (MCP server), https://agentreadychecklist.com/ask (search)
Access: https://agentreadychecklist.com/auth.md (no key). Pricing: https://agentreadychecklist.com/pricing.md (free).

# Descriptions decide which API action an agent calls

ChatGPT and Copilot Studio rely on operation and parameter descriptions to choose what to call, and Anthropic ranks detailed descriptions as the most important factor in tool performance. The checklist covers unique case-sensitive operationIds, required path parameters, declared responses and security, and CI linting with Redocly. Copilot Studio blocks progress while any input or output description is blank.

ChatGPT uses the schema names and descriptions in your file to understand which API action should be called and which parameter should be used, according to [OpenAI's GPT Actions guide](https://platform.openai.com/docs/actions/getting-started). In Copilot Studio, the agent orchestration uses a tool's description to determine when to use that particular tool ([Microsoft Learn](https://learn.microsoft.com/en-us/microsoft-copilot-studio/agent-extend-action-rest-api)). Start with the operations and their parameters.

Related: [How to publish OpenAPI agents can find](https://agentreadychecklist.com/guides/publish-openapi-agents-can-find/)

## Operations and parameters

1.  **Give every operation a unique operationId.** [OAS 3.1.1](https://spec.openapis.org/oas/v3.1.1.html) requires the id to be unique among all operations described in the API and treats the value as case-sensitive. Because tools and libraries may use the operationId to identify an operation, the spec recommends following common programming naming conventions. To find operations that lack one, lint the file: the sample output in [Redocly's lint documentation](https://redocly.com/docs/cli/commands/lint) includes the warning "Operation object should contain `operationId` field."
2.  **Write a summary and a long description for each operation.** Anthropic's [tool-use documentation](https://docs.anthropic.com/en/docs/agents-and-tools/tool-use/implement-tool-use) calls extremely detailed descriptions "by far the most important factor in tool performance." A description should cover what the tool does and when it should be used (and when it shouldn't), and that vendor's guidance is to aim for at least 3-4 sentences for each tool description, more if the tool is complex. On the OpenAPI side, the [OAS 3.2.0](https://spec.openapis.org/oas/v3.2.0.html) Operation Object defines summary as a short summary of what the operation does and description as a verbose explanation of the operation's behavior. Read each description back and confirm it says when the operation should not be used as well as when it should.
3.  **Mark every path parameter required: true.** For a parameter whose location is "path", OAS 3.1.1 makes the required field REQUIRED, and its value must be true; for other locations the field may be included and defaults to false. Give each parameter a description, which the spec defines as a brief description that could contain examples of use. For a field restricted to certain values, [OpenAI's guide](https://platform.openai.com/docs/actions/getting-started) suggests an enum with descriptive category names.
4.  **Declare the success response and the known errors.** The Responses Object must contain at least one response code, and if only one is provided it should be the response for a successful operation call. Documentation is expected to cover a successful operation response and any known errors, and a default entry may cover all HTTP codes not listed individually.
5.  **Flag retired operations with deprecated: true.** Under OAS 3.2.0, consumers should refrain from using an operation declared deprecated; the default value is false. A deprecated parameter should be transitioned out of usage.

## Root fields

6.  **Set openapi to your version and give info a title.** [OAS 3.2.0](https://spec.openapis.org/oas/v3.2.0.html) marks openapi REQUIRED: it must be the version number of the OpenAPI Specification the document uses, and tooling should use it to interpret the document. Inside info, both title and version are REQUIRED. Take care with the info description too, since ChatGPT uses the info at the top, including the description in particular, to determine whether an action is relevant for the user query ([OpenAI's guide](https://platform.openai.com/docs/actions/getting-started)).
7.  **Point servers at the real base URL.** Leave servers out, or send an empty array, and OAS 3.2.0 defaults to a single Server Object with a url of /. With no servers, all endpoints are assumed relative to the location where the description document is served ([OpenAPI servers page](https://learn.openapis.org/specification/servers.html)). Describing a server keeps your endpoints the same regardless of how the description is organized.

## Security

8.  **Declare security and the schemes it names.** In [OAS 3.2.0](https://spec.openapis.org/oas/v3.2.0.html), the root security field lists alternative Security Requirement Objects, only one of which needs to be satisfied to authorize a request, and individual operations can override it. One requirement that refers to several schemes needs all of them satisfied. An empty requirement ({}) indicates anonymous access is supported. Related: [How to add OAuth metadata](https://agentreadychecklist.com/guides/add-oauth-metadata/)

## Platform intake

9.  **Compare your file with the GPT Actions example.** A GPT Action requires an OpenAPI schema to describe the parameters of the API call, and the weather example on OpenAI's [getting-started page](https://platform.openai.com/docs/actions/getting-started) declares openapi: 3.1.0 with an operationId and a summary on each operation.

```yaml
/gridpoints/{office}/{gridX},{gridY}/forecast:
  get:
    operationId: getGridpointForecast
    summary: Get forecast for a given grid point
    parameters:
      - name: office
        in: path
        required: true
        schema:
          type: string
        description: Weather Forecast Office ID
```

10.  **Upload JSON to Copilot Studio, then fill every blank description.** [Microsoft Learn](https://learn.microsoft.com/en-us/microsoft-copilot-studio/agent-extend-action-rest-api) states that REST API tools must be created from an OpenAPI v2 specification, uploaded as a JSON file, because of how Power Platform processes API specifications. You do not need to convert a v3 file yourself: if you submit one, the creation process automatically translates it to v2. Descriptions are then prepopulated from the descriptions in your file, and if any input or output description is blank, you must complete it before you can move forward. The REST API tool feature is in preview, and preview features aren't meant for production use.

## Linting and drift

11.  **Lint the file in CI with a named ruleset.** [Redocly CLI](https://redocly.com/docs/cli/commands/lint) reports problems in OpenAPI, AsyncAPI and Arazzo descriptions, and its documentation gives these commands.

```text
redocly lint openapi/openapi.yaml
redocly lint --extends=recommended-strict
redocly lint --format=github-actions
```

Its built-in rulesets are spec, minimal, recommended and recommended-strict; with no configuration file, recommended is used. In CI, the github-actions format annotates each problem on the affected files, and the JUnit format is consumed by many CI systems.

Related: [Verify Kit check: openapi](https://agentreadychecklist.com/kit/openapi/)

12.  **Keep a single source of truth.** Information should not be duplicated in different places, or eventually one copy will be updated while the other won't, according to the [OpenAPI best practices](https://learn.openapis.org/best-practices.html) page. A Continuous Integration test can keep two sources consistent. Validation tools that verify the implemented code against the description, run in CI, detect deviations in code behavior promptly.

## Sources

-   [OpenAPI Specification v3.2.0](https://spec.openapis.org/oas/v3.2.0.html)OpenAPI Initiative, read 2026-11-22
-   [OpenAPI Specification v3.1.1](https://spec.openapis.org/oas/v3.1.1.html)OpenAPI Initiative, read 2026-11-22
-   [API Servers (OpenAPI Documentation)](https://learn.openapis.org/specification/servers.html)OpenAPI Initiative, read 2026-11-22
-   [Best Practices (OpenAPI Documentation)](https://learn.openapis.org/best-practices.html)OpenAPI Initiative, read 2026-11-22
-   [Getting started with GPT Actions](https://platform.openai.com/docs/actions/getting-started)OpenAI, read 2026-11-22
-   [Add tools to custom agents using REST APIs (Copilot Studio)](https://learn.microsoft.com/en-us/microsoft-copilot-studio/agent-extend-action-rest-api)Microsoft Learn, read 2026-11-22
-   [How to implement tool use](https://docs.anthropic.com/en/docs/agents-and-tools/tool-use/implement-tool-use)Anthropic, read 2026-11-22
-   [lint (Redocly CLI)](https://redocly.com/docs/cli/commands/lint)Redocly, read 2026-11-22

Edition

Data

2026-11-04

Reviewed

2026-11-22

Spec

AgentReady v2.0.1, db79f10

Crawl

13,071 rows, 2026-11-04

Ora

132 checks, contract 1.38.0, 2026-11-05

Verify with Ora

The scanner this site recommends for the whole checklist. 132 checks, a score out of 100, no account.

`npx ax@0.10 audit <url> --min-score <n>`

[Why Ora, and its limits](https://agentreadychecklist.com/verify-with-ora/)

Method

-   [How rows, commands and rates are made](https://agentreadychecklist.com/method/)
-   [How an Ora check is matched to a row](https://agentreadychecklist.com/checklist/ora-checks/)
-   [Pass rates by rank band](https://agentreadychecklist.com/data/by-rank/)

Sources and read dates sit at the foot of the page.

Last reviewed 2026-11-22. AgentReady v2.0.1, read 2026-11-24.
