Skip to main content
Glama

Swagger MCP Server

validate_api_response

Validate API responses against Swagger/OpenAPI schemas to ensure compliance with documented specifications, improving API testing accuracy and reliability.

Instructions

Validate an API response against the schema from Swagger documentation

Input Schema

NameRequiredDescriptionDefault
methodYesThe HTTP method
pathYesThe endpoint path
responseBodyYesThe response body to validate
statusCodeYesThe HTTP status code

Input Schema (JSON Schema)

{ "properties": { "method": { "description": "The HTTP method", "type": "string" }, "path": { "description": "The endpoint path", "type": "string" }, "responseBody": { "description": "The response body to validate", "type": "object" }, "statusCode": { "description": "The HTTP status code", "type": "number" } }, "required": [ "path", "method", "statusCode", "responseBody" ], "type": "object" }
Install Server

Other Tools from Swagger MCP Server

Related Tools

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/amrsa1/swagger-mcp'

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