Skip to main content
Glama

Crypto & Web Data API for Agents

IBAN validation and formatting (ISO 13616)

registry_iban
Read-only

IBAN validation and formatting (ISO 13616). Validates an IBAN by ISO 13616: checks country code length, recomputes the mod-97 check digits and returns the formatted IBAN with country, check digits, BBAN and a reason when invalid. No external source is used — pure computation. An invalid IBAN returns valid: false. Price $0.005 per call (x402: USDC on Base or Solana).

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": {
      "iban": "<iban>"
    },
    "name": "registry_iban"
  }
}

Input Schema

NameRequiredDescriptionDefault
txNoAlternative to the X-Payment-Tx header
ibanYesIBAN with or without spaces

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint, so the description carries the real burden — and it delivers: it discloses the internal behavior (mod-97 recomputation, country-code length check), the failure contract (invalid IBAN returns valid: false plus a reason), and the access/payment requirement ($0.005 per call via x402 USDC on Base or Solana). The one soft tension is 'No external source is used' against openWorldHint=true, which an agent could read as conflicting even though the sentence is about data sources rather than the paid endpoint.

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

Conciseness4/5

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

Four sentences, front-loaded with purpose, then validation mechanics, then the failure contract, then price — a sensible order with little filler. The opening sentence duplicates the title verbatim, which is minor waste but not harmful.

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 usefully enumerates the return payload (formatted IBAN, country, check digits, BBAN, reason). It omits how the tx parameter relates to the X-Payment-Tx header and any error behavior for malformed/unsupported-country input beyond the invalid case, 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%, so both the iban field ('with or without spaces', with a pattern and example) and the tx field ('Alternative to the X-Payment-Tx header') are already documented. The description adds no parameter-level detail beyond that — notably it never connects the x402 price mention to the tx parameter, so the payment parameter's role must be inferred from the schema alone.

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+resource pair ('validates an IBAN') anchored to a named standard (ISO 13616) and adds formatting as a second function. It is clearly distinguishable from registry_isin, registry_lei, and registry_vat by resource, so an agent can pick it without inspecting 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 Guidelines3/5

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

Usage is implied by the resource (this is the IBAN tool among the registry_* family), and 'pure computation — no external source' hints that it is cheap and offline-checkable. However, there is no explicit when-to-use statement, no naming of an alternative for non-IBAN account validation, and no guidance for when to skip validation entirely.

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