Skip to main content
Glama

ExchangeRebel — pay-per-call APIs for AI agents (x402 on Solana)

apidiff_diff

$0.02 USDC on Solana per document pair — the payment buys one signed breaking-change diff report for one pair of submitted documents: counts per published token and located findings for every element the rules of breaking-change-diff/v1 record as removed, added, or changed between the two versions you submitted, each item stated as it appears in the documents. Submitted documents are processed in memory only and never stored; the paid retry re-sends both documents. The report establishes only the differences between the two documents you submitted, under the published rules; it is not a 'safe to upgrade' certification.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "apidiff_diff"
  }
}

Input Schema

NameRequiredDescriptionDefault
pairsNoAlternative multi-pair form: an array of {version_a, version_b} pairs; each pair is charged at $0.02 on the paid endpoint. Mutually exclusive in effect with the single-pair version_a/version_b fields.
version_aNoVersion A of the API-surface document: an OpenAPI 3.0.x/3.1.x document in JSON form, or a standalone JSON Schema document (draft-07, 2019-09, or 2020-12). Submitted content is processed in memory only and never stored.
version_bNoVersion B of the same API-surface document, in the same form as version A. Submitted content is processed in memory only and never stored.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: exact cost ($0.02 USDC on Solana per pair, with the multi-pair array charged per element), that the report is signed, that documents are processed in memory and never stored, and that a paid retry re-sends and re-charges. This also explains why idempotentHint=false and readOnlyHint=false are set, which the annotations alone leave opaque.

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?

Front-loaded with price and deliverable, then scope, then data handling, then the limitation — a sensible order for a metered tool. Every sentence carries distinct information, and the repeated 'in memory only and never stored' phrasing mirrors the schema but reinforces a materially important guarantee.

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?

There is no output schema, and the description compensates by specifying the report's contents and itemization granularity. With 100% schema coverage and meaningful annotations, the main remaining gap is workflow placement — whether a quote or precheck should precede the paid call — plus any refund/failure 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%, and the schema already documents the single-pair vs. multi-pair mutual exclusivity and accepted document formats. The description adds only that a pair is the billing unit and that the retry re-submits both documents; it adds no format or constraint detail beyond the schema, so the baseline of 3 applies.

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?

States a specific verb-and-resource: a signed breaking-change diff report for one pair of submitted API-surface documents, including what the report contains (counts per published token, located findings for removed/added/changed elements). It does not differentiate itself from near siblings such as quote_diff_diff or apidiff_precheck, so an agent cannot tell from the text alone why it would pick this over the quoted variant.

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?

Usage is only implied: the pricing and 'paid retry re-sends both documents' framing signals this is the chargeable execution step, but no alternative is named and no prerequisite (e.g., obtain a quote or run a precheck first) is stated. The one explicit exclusion — it is 'not a safe to upgrade certification' — is a scope caveat rather than when-to-use guidance.

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