Skip to main content
Glama

IBAN validation for any country

iban_validate
Read-onlyIdempotent

Validate IBANs from any country using ISO 13616 mod-97 checks, returning country, BBAN, and Spanish bank/branch codes.

Instructions

IBAN validation for any country (ISO 13616 mod-97 check digits). Returns country, BBAN and, for Spain, bank and branch codes.

ES: Valida un IBAN de cualquier país (ISO 13616, dígitos de control mod-97) y devuelve país, BBAN y, para España, código de entidad y oficina.

Free tool (no API key, no payment). Official Spanish/EU open data.

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": {
      "valor": "<valor>"
    },
    "name": "iban_validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
valorYesIBAN con o sin espacios

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, so the safety profile is covered. The description adds meaningful context beyond that: the check algorithm (mod-97), the exact return fields including Spain-specific bank and branch codes, and the absence of auth/free-tier requirements. It stops short of saying what an invalid IBAN produces.

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?

The English text is front-loaded and tight, but the full Spanish restatement repeats identical information and roughly doubles the length without adding new semantics for an agent. The trailing 'Free tool / Official open data' line is short and earns its place, but the bilingual duplication is a real conciseness cost.

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?

For a one-parameter, no-output-schema lookup tool, the description covers purpose, method, return fields, and cost/auth requirements, which is enough to call it correctly. The only gap is error behavior — whether invalid or malformed IBANs raise an error or return a negative 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?

With a single parameter at 100% schema description coverage, the schema already explains the input ('IBAN con o sin espacios'). The description adds no formatting, length, or normalization details beyond that, so baseline 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?

The description names a specific verb and resource ('IBAN validation for any country') plus the underlying standard (ISO 13616 mod-97), which unambiguously separates it from validation siblings such as spain_validate_tax_id or eu_vat_check. It also states the output surface (country, BBAN, Spanish bank/branch codes), so an agent knows what it gets 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 Guidelines3/5

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

Usage is only implied: the tool validates IBANs, so use it when an IBAN must be checked. The 'Free tool (no API key, no payment)' note gives useful selection context against paid siblings, but there is no explicit when-not guidance and no named alternative for adjacent needs (e.g., tax ID or VAT validation).

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