Skip to main content
Glama

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.

MCP client
Glama
MCP server

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.

100% free. Your data is private.
Tool DescriptionsB

Average 3.6/5 across 5 of 5 tools scored.

Server CoherenceA
Disambiguation5/5

Each tool has a clearly distinct purpose: breaking change detection, request/response validation, mock generation, linting, and schema validation. No overlap or ambiguity.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case, such as check_breaking_changes and lint_api_schema, making them predictable.

Tool Count5/5

With 5 tools, the server covers the essential operations for an API contract validator without being too sparse or overloaded.

Completeness4/5

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 tools
check_breaking_changesAInspect

Compare two OpenAPI spec versions to detect breaking changes: removed paths/operations, new required parameters, removed response codes, operationId renames.

ParametersJSON Schema
NameRequiredDescriptionDefault
spec_newYesNew spec version
spec_oldYesPrevious spec version
Behavior3/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters4/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
specYesOpenAPI spec JSON object
requestYesHTTP request to validate
responseNoHTTP response to validate (optional)
Behavior2/5

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.

Conciseness5/5

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.

Completeness2/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
pathNoTarget path (optional; generates all if omitted)
specYesOpenAPI spec JSON object
methodNoHTTP method (used with path)
statusCodeNoResponse status code (default: 200)200
Behavior2/5

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.

Conciseness5/5

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.

Completeness3/5

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.

Parameters4/5

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.

Purpose4/5

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.

Usage Guidelines2/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
specYesOpenAPI spec JSON object
rulesNoRules to apply (defaults to all)
Behavior2/5

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.

Conciseness5/5

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.

Completeness3/5

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.

Parameters4/5

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.

Purpose5/5

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.

Usage Guidelines2/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
specYesOpenAPI or AsyncAPI spec as a JSON object
strictNoTreat warnings as errors (default: false)
Behavior3/5

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.

Conciseness4/5

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.

Completeness3/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines2/5

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.

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.