Skip to main content
Glama

Validate IBAN

validate_iban
Read-onlyIdempotent

Validate a single International Bank Account Number (IBAN) against the official ISO 13616 structure for its country.

What it checks: the country code, total length for that country, the national BBAN structure, and the MOD-97 check digits. When the bank/branch code maps to a known institution, the response also includes the bank name, BIC/SWIFT code, and country.

Returns JSON with fields such as valid (boolean), countryCode, checkDigitsValid, the formatted IBAN, and an optional bank object. On a malformed input the call still succeeds with valid: false and a reason (e.g. INVALID_FORMAT, INVALID_CHECKSUM); it does not throw for invalid IBANs.

Use this when you have one account number to verify. For many IBANs prefer validate_bulk_ibans; to pull IBANs out of prose use extract_ibans_from_text first. No account data is stored; validation runs in memory and is discarded.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ibanYesA single IBAN to validate. Case-insensitive; spaces are tolerated and ignored (e.g. 'DE89 3704 0044 0532 0130 00' or 'GB29NWBK60161331926819').

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false. The description adds valuable behavior: returns JSON with valid boolean, countryCode, etc.; on malformed input returns valid:false with reason rather than throwing; and states no storage. No contradiction with annotations.

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?

The description is well-structured in three paragraphs, front-loading core purpose. Each sentence adds value, though a bit verbose. No extraneous information.

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?

Given the single parameter, no output schema, and rich annotations, the description fully covers what the tool does, what it checks, return fields, error handling, and sibling differentiation. It is complete and self-contained.

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% for the single parameter 'iban' with a description. The tool description adds practical details: case-insensitivity, tolerance of spaces, and examples (e.g., 'DE89 3704 0044 0532 0130 00'). This adds value beyond the schema's basic description.

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?

The description clearly states the tool validates a single IBAN against ISO 13616 structure per country. It uses a specific verb (validate) and resource (IBAN), and explicitly distinguishes from siblings by recommending validate_bulk_ibans for many IBANs and extract_ibans_from_text for extracting from text.

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?

The description explicitly says when to use ('when you have one account number to verify') and when not ('for many IBANs prefer validate_bulk_ibans; to pull IBANs out of prose use extract_ibans_from_text first'). It also notes that validation runs in memory and is discarded, providing clear context.

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.

TDQS

A4.8/5.0
Disambiguation5/5

Each tool targets a distinct operation: extracting IBANs from text, retrieving format specs, looking up BICs, and validating single or multiple IBANs. There is no overlap in functionality, so an agent can clearly distinguish which tool to use for a given task.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with snake_case (e.g., extract_ibans_from_text, validate_iban). The naming is predictable and aligns with common conventions, making it easy for an agent to interpret their purposes.

Tool Count5/5

With 5 tools, the server is well-scoped for its purpose. Each tool addresses a necessary function for IBAN checking without being too few or too many, providing a focused and manageable set.

Completeness5/5

The tools cover the full lifecycle of IBAN handling: extraction from text, validation of single and bulk IBANs, format lookup, and BIC enrichment. There are no obvious gaps, as the validation results already include bank details when available.