Skip to main content
Glama
techybiky

swift-iso20022-mcp

by techybiky

Validate BIC/SWIFT code

validate_bic

Validates a BIC/SWIFT code to ensure it matches the standard 8 or 11-character format, checking bank code, country code, location code, and optional branch code.

Instructions

Checks whether a string is a structurally valid BIC (8 or 11 characters: 4-letter bank code, 2-letter country code, 2-char location code, optional 3-char branch code).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bicYesThe BIC/SWIFT code to validate, e.g. DEUTDEFF or DEUTDEFF500
Behavior4/5

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

The description explicitly states it checks 'structural' validity, which conveys that it does not verify existence or authenticity. It also provides the exact character layout, adding behavioral detail beyond just 'validates BIC'. However, it does not mention return value format or case sensitivity, which are minor gaps given no annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence that immediately says what the tool does, followed by the structural rule. Every word earns its place, with no filler or repetition.

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?

For a one-parameter validator with no output schema, the description provides sufficient context: the purpose, the accepted format, and implicit return behavior. It is fully complete for the tool's complexity.

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 already documents the 'bic' parameter with examples, and the description adds the full structural breakdown (4-letter bank, 2-letter country, etc.), giving semantic richness beyond the schema. With 100% schema coverage, this added detail lifts it above the baseline.

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 uses a specific verb 'Checks whether' plus the resource 'BIC/SWIFT code' and clearly defines the valid structure (8 or 11 characters with bank/country/location/branch codes). This distinguishes it from sibling validators like validate_iban and validate_mt_message.

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?

The description clearly indicates the tool's scope (BIC validation) through the title and format explanation, giving clear context for when to use it. It does not explicitly name alternatives or exclusion criteria, but the self-contained nature of the tool makes the intended use obvious.

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/techybiky/swift_mcp'

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