Skip to main content
Glama

SWIFT code, BIC validation: structure, country and branch

bic_validate
Read-only

Check a BIC (SWIFT code) against the ISO 9362 structure: institution code, a real country code with its name, location code, branch code, whether it is the head office (XXX or 8 characters), a test BIC or a passive participant, and the 11-character form. Computed locally; it checks the format and country, not whether the bank exists. Use before an international transfer or to clean payment data; for account numbers use validate_iban. Example: bic=DEUTDEFF500. Price $0.01/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

Input Schema

NameRequiredDescriptionDefault
bicYesBIC / SWIFT code, 8 or 11 characters

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations it discloses the key behavioral caveat — computation is local and does not verify bank existence — plus a concrete pricing/cost model ($0.01/call, 25 free, failures free) that explains the idempotentHint=false annotation ('each call is charged, so repeats are not free'). The 'reads or computes only' line echoes readOnlyHint, but the added cost and local-validation context is substantive.

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 purpose and ISO scope, then routing, then caveats, then pricing — logical order with no wasted preamble. It is dense and on the long side, and the pricing clause is verbose relative to its importance, keeping it just short of a 5.

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?

No output schema exists, yet the description effectively previews the response by listing the checks performed (institution code, country name, location, branch, head-office flag, test/passive participant). For a single-parameter validation tool, an agent has everything needed to call it and interpret the result.

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?

With 100% schema coverage and one parameter, the schema already defines 'bic' as an 8- or 11-character code. The description reinforces the 11-character form and supplies a concrete example (bic=DEUTDEFF500) that shows the expected format beyond the schema's terse wording.

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 ('Check a BIC (SWIFT code) against the ISO 9362 structure') and enumerates exactly which components are examined (institution, country, location, branch, head-office, test/passive, 11-char form). It also names a sibling it is not ('for account numbers use validate_iban'), so an agent can route without opening any schema.

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?

Gives both when-to-use ('before an international transfer or to clean payment data') and an explicit alternative with its selection condition ('for account numbers use validate_iban'). The 'checks format and country, not whether the bank exists' line further scopes when this tool is insufficient.

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.