Skip to main content
Glama

validate_openapi

Validates OpenAPI 2/3 specifications from files, URLs, or inline content to ensure API documentation correctness before proceeding with MCP server development.

Instructions

Step 1 of 6. Validates OpenAPI 2/3 specs (file path, URL, or inline JSON/YAML). URLs: any public URL that returns the spec. Fetches and reads the response body (no manual download). Works with raw file URLs (e.g. raw.githubusercontent.com/.../ProjectSight-v1.json), Google Drive view or direct links, and any other public URL; both read and download-style URLs work. Returns validation result, analysis (summary + small sample), and scaffolding (description + sample). On success: valid=True, openapi_version, analysis, scaffolding. Completes workflow step 1. On failure: valid=False, validation_errors (list of message, path, context). You must present results to the user and get confirmation before calling step 2.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
openapi_inputYes
input_typeNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Charley-Forey-AI/mcp-builder-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server