Skip to main content
Glama

Compare two schema versions

askiso_diff

Compare two ISO 20022 schema versions path by path and classify each difference as breaking or compatible so you can assess message upgrade impact.

Instructions

Compare two schema versions path by path and classify every difference as breaking or compatible. A change is breaking when a message that satisfied the old schema can be rejected by the new one. Use this for any question about upgrading between versions.

Needs the ISO 20022 schemas the user downloaded from iso20022.org. If none are installed the tool says so and names the message set to download.

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "askiso_diff"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesThe version it must now satisfy, for example "pacs.008.001.10".
fromYesThe version a message was built against, for example "pacs.008.001.09".
breaking_onlyNoReturn only the changes that can reject a message.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.8

TDQS

A4/5.0
Behavior3/5

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

With no annotations supplied, the description must carry the behavioral load: it defines what 'breaking' means precisely (a message valid under the old schema can be rejected by the new one), discloses the local-schema dependency, and states the tool reports the missing message set to download rather than failing silently — useful context that annotations could not have supplied. It stops short of saying whether the tool writes anything, how large a diff can be, or how results are ordered, so a 3 is appropriate.

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 short paragraphs, front-loaded with purpose and the classification rule, followed only by the prerequisite and its failure mode. Every sentence carries information an agent needs; there is no repetition of the schema or filler.

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?

For a three-parameter read-style comparison tool with no output schema, the description covers what the result contains at a high level and the installation precondition that most often blocks a first call. It could say more about result volume or ordering, but nothing essential to calling it correctly is missing.

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 each of the three parameters is documented with an example (pacs.008.001.09 / .10), so the baseline is 3. The description's definition of 'breaking' adds a little meaning to breaking_only beyond the schema's own wording, but from/to directionality and the breaking_only filter are already fully explained in the schema.

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?

States a specific verb and resource — comparing two schema versions path by path — plus the output semantics (each difference classified as breaking or compatible). 'Schema version diff' is clearly distinct from the validation, linting and conversion siblings, so an agent can route correctly without opening the 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?

'Use this for any question about upgrading between versions' gives a clear positive trigger, and the second paragraph states a hard precondition (ISO 20022 schemas must be installed locally) plus the failure behavior when they are not. It does not explicitly exclude or name alternatives such as askiso_validate, 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.