Skip to main content
Glama

Validate an IBAN, BIC, EU VAT number, GTIN/EAN/UPC or ISBN

validate_code
Read-onlyIdempotent

Check the format and check digits of one identifier: IBAN (ISO 13616, per-country length and layout), BIC/SWIFT (ISO 9362 format and country), EU VAT number (offline checksum, VIES not queried), GTIN/EAN-8/UPC-A/EAN-13/GTIN-14 (GS1 mod 10) or ISBN-10/13. type "auto" (default) detects the type from the shape. Returns valid, a reason when invalid (e.g. the expected check digit), and normalized/formatted forms. Format check, not a compliance check: valid does not mean the account, registration or product exists. The code is sent in a POST body and not stored or logged. Read-only. Same engine, keys and limits as POST /v1/{type}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesThe identifier to check, e.g. "DE89 3704 0044 0532 0130 00", "ATU13585627", "4006381333931" or "978-0-306-40615-7". Spaces, hyphens and dots are ignored. Max 64 characters.
typeNoauto (default), iban, bic, vat, gtin or isbn.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
bbanNo
sepaNo
typeNo
ean13No
inputYes
validYes
formatNo
isbn10No
isbn13No
numberNo
reasonNo
countryNo
checksumNo
bank_codeNo
formattedNo
candidatesNo
normalizedNo
check_digitNo
detected_asNo
check_digitsNo
country_nameNo
vies_checkedNo
expected_check_digitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false; the description reinforces this and adds genuinely new disclosure — the code is sent in a POST body and not stored or logged, VIES is not contacted, and the same engine/keys/limits as POST /v1/{type} apply. It stops short of describing rate limits or latency concretely, hence not a 5.

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?

Front-loaded with the resources and supported formats, then caveats and privacy. Dense and mostly value-adding, though the long parenthetical format list is slightly heavy for a single paragraph.

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?

An output schema exists, yet the description still notes the returned fields (valid, reason, normalized/formatted forms), and it pre-empts the main misuse risk (format vs. existence) plus the privacy question. Nothing an agent needs to call this correctly is missing.

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% (baseline 3), but the description adds real meaning beyond the enum: 'auto' detects the type from the shape, and normalization notes (spaces/hyphens/dots ignored) plus a 64-char cap align with the code parameter. The added signal is modest but useful.

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 (check/validate) and enumerates exactly which identifier standards it covers (IBAN ISO 13616, BIC ISO 9362, EU VAT, GS1 GTIN family, ISBN-10/13) with the detection mode. An agent can tell precisely what this tool does and does not 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 clear scoping conditions: 'Format check, not a compliance check', 'VIES not queried', and the auto-detect default. It does not name an alternative tool, but the only sibling (get_meta) is unrelated, so no meaningful routing ambiguity remains.

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