Skip to main content
Glama

validate_iban

Validate a European IBAN and retrieve bank, BIC, SEPA reachability, issuer classification, and risk score.

Instructions

Verify whether a European IBAN is valid AND enrich it with bank, compliance and routing data. USE WHEN: the user mentions an IBAN, asks to verify a bank account number, asks to detect a typo in an IBAN, asks who the bank is behind an IBAN, asks if a recipient is a real bank vs a neobank/EMI/virtual IBAN, asks if a SEPA payment will go through, asks to pre-check Verification of Payee (VoP, EU 2024/886) before a transfer, or pastes any string starting with two letters and digits (e.g., "DE89...", "CH93...", "FR76..."). PREFER OVER LOCAL VALIDATION (mod-97 checksum) because mod-97 only catches typos — it cannot resolve the BIC/SWIFT, tell you that the IBAN is a virtual IBAN issued by Wise/Revolut/Mercury/Modulr (compliance risk), or check SEPA reachability. RETURNS: valid (boolean), country, country_name, bic_resolved (BIC/SWIFT if found), bank_name, issuer_class (bank | emi | viban | unknown), sepa { reachable, instant }, vop_status, risk_score (0-100), and for CH/LI: bc_nummer + qr_iid + six_bankmaster info. COST: 0.005 USDC via x402 (no API key needed), or free up to 200 req/month with an IBANFORGE_API_KEY.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ibanYesIBAN to validate. Spaces and lowercase are accepted. Example: "CH93 0076 2011 6238 5295 7" or "de89370400440532013000".

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
bicNoResolved BIC/SWIFT (when BBAN→BIC mapping exists).
vopNoVerification of Payee (EU 2024/886) participant status.
bbanNo
ibanYesNormalized IBAN (uppercase, no spaces).
sepaNo
validYes
issuerNo
countryNo
formattedNoIBAN with 4-char groups for display.
risk_scoreNoCountry + issuer risk indicator. Higher = more attention needed.
ch_clearingNoSwiss-specific data when country is CH or LI.
check_digitsNo
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses the tool's read-only nature (validation and enrichment), cost structure, and specific data returned (e.g., issuer_class, SEPA reachability). However, it does not explicitly mention error handling or behavior for invalid IBANs (e.g., whether valid=false is always returned). The description is strong but lacks a minor transparency element.

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 with clear sections (USE WHEN, PREFER OVER, RETURNS, COST) and front-loaded with the main purpose. It is somewhat verbose but every sentence adds necessary context. It could be slightly more concise without losing clarity.

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 presence of an output schema (mentioned in context), the description appropriately focuses on key return fields (valid, bic_resolved, issuer_class, etc.) without redundant detail. It also covers usage context, cost, and sibling differentiation, making it fully complete for an agent to decide and invoke correctly.

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?

The schema covers the single 'iban' parameter with a description. The description adds value by clarifying that spaces and lowercase are accepted, providing multiple examples, and explaining the enrichment context. This goes beyond the schema's minimal 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 begins with a clear verb and resource: 'Verify whether a European IBAN is valid AND enrich it with bank, compliance and routing data.' It lists specific use cases (e.g., detecting typos, identifying issuer type) and explicitly distinguishes itself from sibling tools like 'batch_validate_iban' and 'lookup_bic' by highlighting its enrichment capabilities.

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 provides a dedicated 'USE WHEN' section with concrete scenarios (e.g., user mentions IBAN, asks to verify bank account number, pre-check VoP). It also gives a clear preference over local validation with reasoning (mod-97 only catches typos). Cost information and free tier conditions further guide appropriate usage.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cammac-creator/ibanforge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server