Skip to main content
Glama

Duo Data Utilities: IBAN, VAT, ISIN Validation API

IBAN generator: build an IBAN from country and BBAN or bank/branch/account, computing check digits

iban_generate
Read-onlyIdempotent

IBAN generator: construct an IBAN from a country code and the domestic account parts, computing the ISO 7064 mod-97-10 check digits. Takes a single BBAN string or named parts (bank code, branch code, account number); digit fields are left-padded with zeros to the country's registered widths. Returns the IBAN in electronic and print formats with its bank, branch and account parts. Covers the 89 SWIFT registry countries. Named parts work only where they span the whole BBAN; else pass the BBAN. 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": {
      "country": "<country>"
    },
    "name": "iban_generate"
  }
}

Input Schema

NameRequiredDescriptionDefault
bankNoBank code. Requires account. Accepted: a bank code of at most 16 characters.
bbanNoThe whole domestic account number (BBAN), alphanumeric. Use this or bank plus account. Accepted: an alphanumeric BBAN of at most 34 characters.
branchNoBranch code, for countries whose layout has a branch field. Accepted: a branch code of at most 16 characters.
accountNoAccount number. Requires bank. Accepted: an account number of at most 32 characters.
countryYesISO 3166-1 alpha-2 country code in the SWIFT IBAN registry, case-insensitive. Accepted: an ISO 3166-1 alpha-2 code in the IBAN registry.

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.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and closed-world, so the safety profile is covered; the description adds real operational context beyond them: zero left-padding of digit fields to country-registered widths, the 89-country SWIFT registry scope, the returned electronic/print formats, and a $0.05 per-successful-call x402/USDC-on-Base price that an agent must know before invoking.

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 dense sentences, front-loaded with purpose then semantics then output then cost; every sentence carries information. Slightly crammed into a single block rather than separated, but no filler.

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 correctly explains the return shape (electronic and print formats plus bank/branch/account parts) and covers country coverage, padding and pricing. Failure behavior on out-of-registry countries or malformed parts is only implied.

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 the baseline is 3, but the description adds meaning the schema does not: which parameters form an alternative pair (bban vs bank+branch+account), that digit fields are zero-padded to country widths, and that branch only applies where the layout has one. It does not resolve precedence if both modes are supplied.

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 ('construct an IBAN'), names the exact algorithm (ISO 7064 mod-97-10 check digits), and the accepted inputs, so the agent can distinguish it from iban_validate without opening 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 Guidelines4/5

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

Gives a concrete selection rule between input modes: 'Named parts work only where they span the whole BBAN; else pass the BBAN,' matching the schema's 'Use this or bank plus account' note. It stops short of explicitly contrasting with the sibling iban_validate, so no exclusion is stated.

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.