Skip to main content
Glama

Validates an IBAN and, if it passes, looks up the bank

agent_intel_iban_routing_swift_resolver
Read-only

Validates an IBAN (MOD-97 checksum and country length, computed here) and, if it passes, looks up the bank name, city and BIC (SWIFT) through OpenIBAN's public validation. The bank lookup depends on OpenIBAN's directory and may be missing for some banks; a valid checksum does not prove the account exists. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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": "agent_intel_iban_routing_swift_resolver"
  }
}

Input Schema

NameRequiredDescriptionDefault
ibanYesIBAN, spaces allowed, e.g. DE89 3704 0044 0532 0130 00

Output Schema

NameRequiredDescriptionDefault
bankNo
ibanNo
validNo
sourceNo
lengthOkNo
checkedAtNo
checksumOkNo
openIbanValidNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint/openWorldHint annotations: names the external data source (OpenIBAN), warns the bank directory may be incomplete, and explicitly cautions that a valid checksum does not prove the account exists. It also discloses pricing ($0.002 per successful call), the payment rail (x402/USDC on Base, Solana, and others), and that failed calls are free, which is critical for an agent deciding to invoke a 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.

Conciseness5/5

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

Three sentences, each carrying distinct load: the operation, the data-quality caveat, and the payment terms. The primary behavior is front-loaded and nothing is redundant with the annotations.

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, so return-shape detail is not needed, yet the description still names the fields returned. Combined with the payment model and the accuracy caveat, an agent has everything needed to call this correctly and interpret the result.

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% and the single parameter already documents the IBAN format with a spaced example, so the description is not required to add syntax. It adds only surrounding meaning (checksum and country-length validation) rather than new per-parameter constraints, so the baseline of 3 applies.

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 (validate an IBAN, then look up the bank) and enumerates exactly what is computed here (MOD-97, country length) versus fetched externally (name, city, BIC/SWIFT). The success-conditional flow is spelled out, so an agent knows this is a validate-then-enrich tool rather than a pure lookup.

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?

Gives useful preconditions — the lookup only happens if the checksum passes, and a missing bank entry is possible — but never states when to choose this over adjacent tools such as the LEI or VAT validators. Usage is implied by the input itself rather than guided against alternatives.

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