Skip to main content
Glama

Check ISO 20022 Postal Address

check_postal_address
Read-onlyIdempotent

Check an ISO 20022 postal address against a payment rail's published rules (SPS, HVPS+/T2, Fedwire) before submitting a payment instruction, with each verdict citing its source document.

Instructions

Check a structured ISO 20022 postal address against a payment rail's published address rules, rule by rule, each verdict citing the document it comes from. USE WHEN: assembling a payment instruction (pain.001, a Fedwire message, a T2 transfer) with a creditor or debtor address, to check conformity with the named document BEFORE submitting. Timetables differ: SPS 2026 in force 14 Nov 2026 requires town and country whenever an address is given, but SIC does not validate addresses and each bank decides what it still accepts. Fedwire moved its release to November 2027. The fetched T2 R2026.NOV does not forbid an AddressLine-only address; the MyStandards usage guideline could not be read. DO NOT USE to verify that a street or a building exists: the findings check conformity with the message format rules, and no street is looked up. For a Swiss or Liechtenstein address (ctry CH or LI, with pst_cd and twn_nm), the API adds postcode_locality: whether postcode and town go together in the official directory of localities of swisstopo (©swisstopo, version date in as_of), informative, without effect on conforms. SCHEMES: 'sps' (Swiss Payment Standards, SIX), 'hvps_plus' (HVPS+ / T2, ECB), 'fedwire' (Federal Reserve). There is deliberately NO 'cbpr+' scheme: that guideline sits behind swift.com, unreachable to automated readers, and a conformity boolean quoting an unread document would be a guess dressed as a verdict — the note field restates this on every answer. VERDICTS per finding: pass, fail, not_applicable — the last marks a rule whose precondition is not met and never counts as a pass. conforms is true when no finding failed. IMPORTANT: relay each finding's source string — it names the exact document, version and validity date the rule is quoted from. That is what makes the verdict auditable. COST: free (routed to POST /v1/address/check). The paid surface is the postal_address block that lookup_bic and validate_iban return for the resolved institution.

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": {
      "scheme": "<scheme>",
      "address": "<address>"
    },
    "name": "check_postal_address"
  }
}

Input Schema

NameRequiredDescriptionDefault
schemeYesWhich rail's rules to check against.
addressYesThe ISO 20022 PostalAddress under test, in ISO tag vocabulary (snake_cased).

Output Schema

NameRequiredDescriptionDefault
noteYesWhy 'cbpr+' is not on the menu. Served on every answer.
schemeYes
conformsYesTrue when no finding failed. not_applicable findings never count against it.
findingsYesOne entry per rule of the scheme, in a stable order.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.4

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only supply the safe-read profile (readOnly, idempotent, non-destructive); the description adds genuinely new behavior: free of cost, routed to POST /v1/address/check, verdict vocabulary (pass/fail/not_applicable with not_applicable never counting as a pass), the semantics of conforms, and the informative-only postcode_locality for CH/LI. It also discloses a negative capability (no 'cbpr+' scheme because the document is unreadable) and that each answer restates this in a note field, which prevents the agent from misreading an absent scheme as a bug.

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?

Well front-loaded — purpose, USE WHEN, DO NOT USE, then schemes and verdict semantics — but it drifts into transient and editorial detail: the Fedwire 2027 release move, the unreadable MyStandards guideline, and the flourish about 'a guess dressed as a verdict' do not help the agent choose or call the tool. The core routing content is buried among version-specific timetable commentary.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, yet the description still supplies the interpretive layer an agent needs — what conforms means, how not_applicable differs from pass, and that source strings must be relayed for auditability. Combined with the scheme list, cost, and endpoint, there is no gap that would cause a correct call to be made incorrectly.

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 baseline is 3, but the description adds real meaning beyond it: the three scheme values are named with their issuers (SPS/SIX, HVPS+/T2/ECB, Fedwire/Fed), and it explains that ctry CH/LI combined with pst_cd and twn_nm is what triggers the extra swisstopo directory check. It does not add much on adr_line/adr_tp beyond the note that SPS forbids sending adr_tp, which is already 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 ('Check a structured ISO 20022 postal address against a payment rail's published address rules, rule by rule') and pins the output shape ('each verdict citing the document it comes from'). It is unmistakably distinct from siblings like lookup_bic or validate_iban, which resolve institutions rather than test address conformity.

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

Usage Guidelines5/5

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

Explicit USE WHEN names the triggering artifacts (pain.001, Fedwire, T2) and the timing ('BEFORE submitting'), and DO NOT USE explicitly excludes existence/street verification. It also contrasts the free check with the paid postal_address surface returned by lookup_bic and validate_iban, so the agent knows where this sits relative to alternatives.

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