Skip to main content
Glama

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

apidiff_precheck

Read-onlyIdempotent

FREE headline breaking-change pre-check of one submitted document pair (100/day per wallet; pass caller). Submit two versions of one API-surface document (OpenAPI 3.0.x/3.1.x JSON, or a standalone JSON Schema pair); get the headline only: whether the pair can be graded, the census, the verdict line, and the count of recorded changes per class. Located findings are in the paid report. The check is a deterministic mechanical comparison of the two documents you submitted — it does not establish that an upgrade will break, or will not break, any code.

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": {
      "caller": "<caller>"
    },
    "name": "apidiff_precheck"
  }
}

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.
callerYesSolana base58 wallet of the operator; keys the free allowance (100/day per wallet).
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
Behavior4/5

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

Beyond the readOnly/idempotent/non-destructive annotations, it discloses the free-allowance quota, the deterministic mechanical nature of the comparison, and a scope disclaimer that the check does not prove an upgrade will or will not break code. It still does not describe failure modes or what 'cannot be graded' means in practice.

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?

A single front-loaded paragraph with no filler; each sentence adds scope, pricing/quota, return scope, or a caveat. Density is high but nothing needs removing.

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?

With no output schema, the description carries the return-shape burden and does so by naming the gradability flag, census, verdict line, and per-class change counts. Terms like 'census' and 'verdict line' remain undefined, so an agent knows what categories come back but not their structure.

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 coverage is 100%, so the schemas already document caller, version_a, version_b, and pairs in detail, including accepted formats and in-memory processing. The description adds only the notion of 'one submitted document pair' and that caller keys the allowance, which is largely redundant with the schema text.

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 gives a specific verb and resource (breaking-change pre-check of a submitted document pair) and scopes the output to the headline only, explicitly noting that located findings live in the paid report. It separates itself from the paid report but does not name or distinguish itself from nearby siblings such as apidiff_diff or apidiff_criteria.

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?

It states the conditions clearly: free, 100/day per wallet, one pair per call, headline only, with the paid report as the alternative when located findings are needed. There is no explicit when-not-to-use statement or named sibling alternative, which keeps it below a 5.

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