Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Machine Utility Foundry (x402 + ICP Trust & Safety Oracles). If you published it, claim ownership there.

diff_breaking_openapi

Read-onlyIdempotent

[x402 Paid: $0.01 Base USDC] Audit two OpenAPI 3.x specifications (up to 2 MB) with memoized local $ref and allOf resolution to detect breaking endpoint, parameter, request, and response contract changes.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "previous": "<previous>",
      "current": "<current>"
    },
    "name": "diff_breaking_openapi"
  }
}

Input Schema

NameRequiredDescriptionDefault
currentYesCandidate OpenAPI 3.x specification JSON object (after change).
previousYesBaseline OpenAPI 3.x specification JSON object (before change).

Output Schema

NameRequiredDescriptionDefault
changesYes
summaryYes
breakingCountYes
nonBreakingCountYes
truncatedByBudgetNo
hasBreakingChangesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / current / description
      Added value: +"Candidate OpenAPI 3.x specification JSON object (after change)."
    • addedInput schema / properties / previous / description
      Added value: +"Baseline OpenAPI 3.x specification JSON object (before change)."
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "breakingCount": {
      +      "type": "integer"
      +    },
      +    "changes": {
      +      "items": {
      +        "properties": {
      +          "category": {
      +            "type": "string"
      +          },
      +          "location": {
      +            "type": "string"
      +          },
      +          "message": {
      +            "type": "string"
      +          },
      +          "severity": {
      +            "enum": [
      +              "BREAKING",
      +              "NON_BREAKING"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "severity",
      +          "category",
      +          "location",
      +          "message"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "hasBreakingChanges": {
      +      "type": "boolean"
      +    },
      +    "nonBreakingCount": {
      +      "type": "integer"
      +    },
      +    "summary": {
      +      "type": "string"
      +    },
      +    "truncatedByBudget": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "hasBreakingChanges",
      +    "breakingCount",
      +    "nonBreakingCount",
      +    "changes",
      +    "summary"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The annotations already convey readOnly, idempotent, non-destructive, and closed-world behavior, so the description does not need to repeat them. The description adds real context: the per-call price of $0.01 in Base USDC, the 2 MB input cap, and the fact that $ref and allOf resolution happens locally and is memoized, which tells the agent that the input must be self-contained. The description does not say how remote references or malformed specs are handled, which keeps it below a 5.

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?

There is one dense sentence, and it is front-loaded with the price flag and then the tool's core action, so a reader can stop at any point. The pricing prefix is noise for an agent choosing a tool, but the rest of the sentence is efficient. Nothing is repeated.

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?

Output schema exists, so the description need not explain return values, and the safety profile is covered by annotations. What remains is the input contract (two JSON objects, each up to 2 MB) and the core capability, both stated. The definition is complete for a two-parameter audit tool; only edge-case behavior is missing.

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 the two JSON-object parameters are already documented as the baseline and candidate specs. The description adds a meaningful constraint beyond the schema: each spec may be up to 2 MB and must be OpenAPI 3.x. It does not clarify the version-mismatch behavior or the required spec structure, but for two fully documented parameters, that gap is small.

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 names a specific verb and resource: it audits two OpenAPI 3.x specifications and detects breaking changes in endpoints, parameters, requests, and responses. It also states the implementation detail (memoized local $ref and allOf resolution), which further distinguishes it from a generic diff or validator.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The purpose implies when to use it: compare a baseline against a candidate spec, typically as a CI or pre-release check. However, the description never says when NOT to use it, what to do when the spec uses remote $refs or is larger than 2 MB, or how this tool relates to any sibling. The agent must infer all of this.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources