api-contract-validator
Server Details
Cloudflare Workers MCP server: api-contract-validator
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
- Repository
- lazymac2x/api-contract-validator-api
- GitHub Stars
- 0
Glama MCP Gateway
Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.
Full call logging
Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.
Tool access control
Enable or disable individual tools per connector, so you decide what your agents can and cannot do.
Managed credentials
Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.
Usage analytics
See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.
Tool Definition Quality
Average 3.6/5 across 5 of 5 tools scored.
Each tool has a clearly distinct purpose: breaking change detection, request/response validation, mock generation, linting, and schema validation. No overlap or ambiguity.
All tool names follow a consistent verb_noun pattern in snake_case, such as check_breaking_changes and lint_api_schema, making them predictable.
With 5 tools, the server covers the essential operations for an API contract validator without being too sparse or overloaded.
The set covers schema validation, linting, breaking changes, request/response validation, and mock generation. Missing spec formatting or conversion, but core workflows are complete.
Available Tools
5 toolscheck_breaking_changesAInspect
Compare two OpenAPI spec versions to detect breaking changes: removed paths/operations, new required parameters, removed response codes, operationId renames.
| Name | Required | Description | Default |
|---|---|---|---|
| spec_new | Yes | New spec version | |
| spec_old | Yes | Previous spec version |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the burden. It describes what the tool detects but does not disclose safety (non-destructive), performance, or side effects. The description is adequate but lacks full behavioral disclosure expected without annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, well-structured sentence that efficiently conveys the tool's purpose and key functionality without extra words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no output schema, the description lists specific detected changes, which is helpful. However, it does not hint at the return format (e.g., list of changes). Still, for a comparison tool, it is reasonably complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema descriptions are minimal ('New spec version', 'Previous spec version'); the description adds significant meaning by explaining that these specs are compared for breaking changes, going beyond the schema's basic type info.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description explicitly states comparing two OpenAPI spec versions to detect breaking changes and lists specific types (removed paths/operations, new required parameters, etc.), making the purpose very clear and distinct from sibling tools like diff_request_response or lint_api_schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage when two spec versions are available and breaking changes need detection, but does not explicitly state when not to use or compare with siblings; however, the specificity in change types provides good contextual guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
diff_request_responseAInspect
Compare a real HTTP request/response against an OpenAPI spec contract. Returns per-field violations.
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | OpenAPI spec JSON object | |
| request | Yes | HTTP request to validate | |
| response | No | HTTP response to validate (optional) |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full burden but only states the action. It does not disclose whether the tool has side effects, requires authentication, or has rate limits. Behavioral traits are minimally addressed.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence with no wasted words. It conveys the main purpose efficiently.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has nested objects and no output schema, the description should explain what 'per-field violations' means or what the return format is. It lacks sufficient detail for an agent to fully understand tool behavior.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents parameters. The description adds no extra meaning beyond what the schema provides, which is acceptable but not superior.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action (compare), resource (real HTTP request/response against OpenAPI spec), and output (per-field violations). It effectively distinguishes from sibling tools like validate_openapi_spec or generate_mock_from_spec.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for validating real traffic against a spec, but does not provide explicit when-not-to-use guidance or mention alternative sibling tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
generate_mock_from_specBInspect
Generate mock response data from an OpenAPI spec. Uses examples, defaults, formats, and type heuristics.
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Target path (optional; generates all if omitted) | |
| spec | Yes | OpenAPI spec JSON object | |
| method | No | HTTP method (used with path) | |
| statusCode | No | Response status code (default: 200) | 200 |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations exist, so the description must disclose behavioral traits. It only mentions generation heuristics but does not explain if the operation is read-only, what happens with invalid specs, or whether it modifies state.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, concise sentence that front-loads the core purpose. Every word is meaningful and no extraneous information is present.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description lacks information about the output format (e.g., structure of mock response) since no output schema is provided. For a tool with nested parameters and no output schema, more detail would help the agent use it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, and the description adds value by explaining that mock data uses examples, defaults, formats, and type heuristics, providing context beyond the parameter names and basic descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool generates mock response data from an OpenAPI spec using heuristics. It is distinct from sibling tools which focus on validation, linting, diffing, and breaking changes.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance provided on when to use this tool versus alternatives like validate_openapi_spec or check_breaking_changes. The description only states what it does, not when it is appropriate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
lint_api_schemaAInspect
Lint an API spec for quality and best practice compliance. Rules: operation-id-kebab-case, response-success-required, tags-defined, no-empty-description, security-defined.
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | OpenAPI spec JSON object | |
| rules | No | Rules to apply (defaults to all) |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so description must cover behavioral traits. Does not mention whether the tool is read-only, whether it modifies the spec, or any side effects. Lacks details on authentication needs or rate limits. Only states the rules applied.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences: first states purpose, second lists rules. No redundant information. Front-loaded with action and resource.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Adequate for a simple linting tool, but missing description of output format (e.g., list of issues, pass/fail). No output schema, so agent cannot infer return structure. Completeness is adequate but not thorough.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so schema already describes parameters. Description adds value by listing example rule names (e.g., operation-id-kebab-case) beyond the schema's generic 'rules' description, helping agents understand valid rule values.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Clearly states verb 'Lint' and resource 'API spec', lists specific rules such as operation-id-kebab-case and response-success-required. Distinguishes from sibling validate_openapi_spec by focusing on best practices rather than syntax validation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance on when to use this tool versus alternatives like validate_openapi_spec or check_breaking_changes. The list of rules implies a quality check use case but does not clarify when linting is appropriate over other validation tasks.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
validate_openapi_specBInspect
Validate an OpenAPI 3.x or AsyncAPI spec JSON. Returns structural errors, missing required fields, and warnings.
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | OpenAPI or AsyncAPI spec as a JSON object | |
| strict | No | Treat warnings as errors (default: false) |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must convey safety and behavior. It implies read-only operation by stating 'Returns...', but it does not explicitly confirm lack of side effects or disclose any other behavioral traits like authentication or rate limits. The description is partially adequate.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single concise sentence that covers the tool's purpose and outputs. It is front-loaded and contains no redundant information. Slight room for improvement by mentioning the strict parameter.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a validation tool with two parameters and no output schema, the description provides basic information about return content (errors, missing fields, warnings) but lacks detail on the return format, possible error types, or examples. It is minimally complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% for both parameters (spec and strict). The description adds no additional meaning beyond what is already in the schema; it does not elaborate on usage or examples. Baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Validate' and the resource 'OpenAPI 3.x or AsyncAPI spec JSON', and specifies the outputs: 'structural errors, missing required fields, and warnings'. This distinguishes it from sibling tools like check_breaking_changes or lint_api_schema, which have different focuses.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No usage guidance is provided. The description does not indicate when to use this tool over alternatives (e.g., lint_api_schema) or mention prerequisites or context. The agent must infer from the tool name alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!