Skip to main content
Glama

Agent Data Tools: Utilities

IBAN validation: validate an IBAN

validate_iban
Read-only

Check an IBAN's format, its country-specific length and its mod-97 check digits, and return it formatted in groups of four. Use before saving bank details or paying out. Example: iban=SE45 5000 0000 0583 9825 7466. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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

Input Schema

NameRequiredDescriptionDefault
ibanYesThe IBAN, spaces allowed

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/destructiveHint/idempotentHint, so the safety profile is covered. The description still adds genuinely non-structured context: per-call pricing, first-10-free, failed calls free, and the warning that repeats are not free. Remaining gap is failure semantics — it doesn't say whether an invalid IBAN returns an error or a boolean.

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?

Purpose and checks are front-loaded in the first clause, followed by usage trigger, example, and cost. The closing sentence is slightly redundant ('reads or computes only and changes nothing' repeats the annotation) but the pricing detail earns its space.

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 single-parameter validation tool without an output schema, the description covers what is validated, when to call it, input shape, and partial return shape (grouped in fours). It stops short of describing the result on a failed validation, which is the one thing an agent must anticipate.

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?

Only one parameter, and schema coverage is 100% with 'spaces allowed' already documented. The embedded example IBAN reinforces the accepted format but adds little meaning beyond the schema, so the baseline of 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?

States a specific verb and resource plus the exact checks performed (format, country-specific length, mod-97) and the transformation applied (grouped in fours). This clearly distinguishes it from siblings like bic_validate or vat_validate, which operate on different identifiers.

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 concrete trigger conditions: 'Use before saving bank details or paying out.' That is clear situational guidance, though it names no alternative or exclusion (e.g., when to use bic_validate alongside it).

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.

Resources