Skip to main content
Glama

Calculate IBAN from Bank Details

iban.banking.calculate
Read-onlyIdempotent

Convert domestic bank details into a valid IBAN with correct checksum for payment processing.

Instructions

Calculate a valid IBAN from domestic bank routing details: country code, bank code, account number, and optional branch code. Returns the computed IBAN with correct checksum. Useful for payment automation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
country_codeYesISO 3166-1 alpha-2 country code (e.g. "DE", "GB", "FR", "NL")
bank_codeYesDomestic bank code (e.g. "37040044" for Germany, "NWBK" for UK)
account_numberYesAccount number in domestic format
branch_codeNoBranch/sort code if required by the country (e.g. "601613" for UK)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so the description does not need to emphasize safety. The description adds value by stating 'Returns the computed IBAN with correct checksum,' which informs the agent of the output format. No contradiction with 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 two sentences, each carrying essential information. The first sentence lists inputs and action; the second sentence describes output and use case. No unnecessary words, and the most critical information is front-loaded.

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?

Given the tool's simplicity (calculation from inputs) and the presence of an output schema, the description is complete. It covers what the tool does, what inputs are needed (including optional ones), what it returns, and a practical use case. No missing critical details.

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?

Input schema coverage is 100%, with each parameter already having a clear description. The description adds minimal extra meaning: it notes that branch_code is optional and clarifies the domestic nature of bank_code and account_number. Since the schema does the heavy lifting, the description provides only marginal additional value.

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 clearly states the tool's function: 'Calculate a valid IBAN from domestic bank routing details.' It lists the required inputs (country code, bank code, account number) and optional branch code, and specifies the output (IBAN with checksum). This clearly differentiates it from the sibling tool 'iban.banking.validate' which focuses on validation rather than generation.

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 implies usage for payment automation ('Useful for payment automation.') and contextually suggests it is for generating IBANs, not validating them. However, it does not explicitly state when to use this tool versus the sibling 'iban.banking.validate' or mention scenarios where this tool is not appropriate. Slight room for improvement.

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/whiteknightonhorse/APIbase'

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