Skip to main content
Glama

IBAN checksum validation

iban_dogrula
Read-onlyIdempotent

Validates IBANs using mod-97 and checks Turkish IBAN 26-character format, reserve digit, and bank-code label; runs offline with no account lookup.

Instructions

IBAN’ı mod-97 ile doğrular; TR IBAN’larda 26 karakter biçimini, rezerv haneyi ve banka kodunu (TCMB FAST katılımcı listesine göre banka adı) kontrol eder. Hesap sorgusu YAPMAZ. Validates an IBAN with mod-97; for TR IBANs also checks the 26-char structure and labels the bank code. Offline; no account lookup.

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

Input Schema

NameRequiredDescriptionDefault
ibanYesIBAN, boşluklu veya boşluksuz / IBAN, with or without spaces (e.g. TR33 0006 1005 …)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so the description's value is in the added detail: it is offline, performs no account lookup, follows the mod-97 algorithm, and resolves bank names via the TCMB FAST participant list. That is real context beyond the structured fields, though it does not spell out the exact response shape.

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

Conciseness3/5

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

The content is front-loaded and the lead sentence is the most important one, but the Turkish and English versions are near-verbatim duplicates, so roughly half the text is redundant restatement rather than added information.

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?

There is no output schema, so the description carries the return burden, and it does indicate that a bank name/bank code is reported for TR IBANs. The one remaining gap is that it never says what a failed validation or a non-TR IBAN result looks like.

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?

With a single required parameter and 100% schema description coverage (including the note that spaces are permitted), the schema carries the parameter burden. The description adds only the adjacent fact that TR IBANs are 26 characters, which indirectly informs input expectations but does not define the parameter itself.

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?

Names a specific verb ('doğrular' / 'validates') and resource (IBAN), and details the checks performed: mod-97 checksum, 26-character structure, reserve digit, and bank-code labeling for TR IBANs. It also states explicitly what the tool does not do ('Hesap sorgusu YAPMAZ'), which cleanly separates it from any account-lookup capability.

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 scope ('offline; no account lookup') and the TR-specific checks make the appropriate context clear, and the negative statement heads off a common misuse. It does not, however, name any alternative tool or say what to use when an account inquiry is actually needed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.