Skip to main content
Glama

Check a message against a scheme rule profile

askiso_check_profile

Applies cbpr-plus or cbpr-2026 scheme profiles to ISO 20022 XML messages to check SR2025 consistency and structured-address readiness for cross-border payments.

Instructions

Apply a scheme rule profile to a message. The cbpr-plus profile checks the live SR2025 message definitions and Usage Identifiers, Business Application Header consistency, formal cross-message rules and message variants. The cbpr-2026 profile checks structured-address readiness: an address must carry a town name and country, and fully unstructured addresses are rejected. Swift deferred the 14 November 2026 cutover on 27 August 2026 and will confirm replacement timing by December, so do not quote a date; the requirement itself stands. Use this whenever the question involves structured addresses or cross-border payment readiness.

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": {
      "xml": "<xml>"
    },
    "name": "askiso_check_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
xmlYesThe full ISO 20022 XML message.
profileNoProfile name. Call with an empty profile to list the available ones.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.8

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It usefully reveals that the cbpr-plus profile consults 'live SR2025 message definitions' (implying a network-backed lookup) and that cbpr-2026 rejects fully unstructured addresses, plus a regulatory-timing caveat about not quoting a date. It never says whether the call is read-only, what the result looks like (pass/fail, per-rule violations), or how large a message it accepts.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded and the two profiles are described crisply, but the Swift cutover sentence is long and mixes standing domain advice ('do not quote a date') into a tool definition. It has value as context yet consumes roughly a third of the text without describing how the tool behaves.

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 two-parameter checker with no annotations and no output schema, the description explains the checks performed but not what comes back — no mention of findings, error listing, or severity. An agent knows when to call it and which profile to pick, but not how to interpret or report the result.

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% with only two parameters, so the baseline would be 3. The description earns above baseline by explaining what the profile values actually mean — the cbpr-plus check set versus the cbpr-2026 structured-address requirements — which the bare enum-less string parameter does not convey. The empty-profile listing behaviour is covered by the schema rather than the description.

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 ('Apply a scheme rule profile to a message') and then enumerates concretely what each profile checks (Usage Identifiers, BAH consistency, cross-message rules, structured-address readiness). It is clearly a profile-driven conformance check, distinct from the sibling set, though no sibling is named to sharpen the boundary with askiso_validate or askiso_lint.

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?

Gives an explicit positive trigger: 'Use this whenever the question involves structured addresses or cross-border payment readiness.' That is a real selection rule rather than an implied one. It stops short of exclusions — nothing says when to prefer askiso_validate or askiso_lint, or that a profile name must first be discovered.

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