Skip to main content
Glama

Duo Data Utilities: IBAN, VAT, ISIN Validation API

IBAN validator: length, mod-97 check digits, bank/branch/account breakdown (89 countries)

iban_validate
Read-onlyIdempotent

IBAN validator: validate an IBAN's length for its country, permitted character classes per field, and the ISO 7064 mod-97-10 check digits. Returns the verdict with a specific failure reason, the electronic and print formats, and the decomposed bank code, branch code and account number according to that country's registered layout. Covers the 89 countries of the SWIFT IBAN registry. Structure and checksum only, it does not confirm the account exists. Price: $0.05 per successful call, paid over x402 (USDC on Base).

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

Input Schema

NameRequiredDescriptionDefault
ibanYesThe IBAN. Spaces and non-breaking spaces are stripped; lowercase is accepted and uppercased. Accepted: an IBAN of at most 64 characters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the read-only, idempotent, closed-world safety profile, but the description adds genuinely new operational context: a per-call cost of $0.05 charged over x402 in USDC on Base, plus what the response contains (verdict, specific failure reason, formats, decomposition). The only real gap is that it does not explain what happens on a paid-but-failing call, despite saying '$0.05 per successful call.'

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?

Content is front-loaded and information-dense, but there is redundancy: the country coverage appears in the title ('89 countries') and again in the body ('Covers the 89 countries of the SWIFT IBAN registry'), and 'length for its country' is restated by the country-layout clause. Every remaining sentence earns its place, but the overlap trims the score.

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?

With no output schema, the description carries the burden of describing returns and does so fully: verdict, specific failure reason, electronic and print formats, and bank/branch/account decomposition. Combined with the explicit limitation about account existence and the cost model, an agent has everything needed to call and interpret it.

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?

There is one parameter at 100% schema description coverage, and the schema already states that spaces and non-breaking spaces are stripped, lowercase is uppercased, and the limit is 64 characters. The description adds no normalization or format guidance beyond that, so the schema carries the parameter semantics entirely.

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?

Names a specific verb (validate) and resource (IBAN) and enumerates the exact checks performed: country-specific length, per-field character classes, and ISO 7064 mod-97-10 check digits. This clearly separates it from iban_generate and other validators in the sibling list.

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?

The description makes the tool's scope explicit with 'Structure and checksum only, it does not confirm the account exists,' which tells the agent when the tool is insufficient. It does not explicitly name iban_generate or another alternative for producing or existence-checking IBANs, so it stops short of a full when/when-not routing statement.

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.