Skip to main content
Glama
pakistan-mcp

pakistan-mcp

by mubasher1111

Check a Pakistani IBAN

validate_iban
Read-onlyIdempotent

Check a 24-character Pakistani IBAN against the ISO mod-97 checksum and identify the issuing bank, including HBL, Meezan, UBL, JazzCash, and Easypaisa. Spaces and lowercase are accepted.

Instructions

Validates a Pakistani IBAN (24 characters starting with PK) with the full ISO mod-97 checksum and identifies the bank (HBL, Meezan, UBL, JazzCash, Easypaisa and more). Spaces and lowercase are fine.

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

Input Schema

NameRequiredDescriptionDefault
ibanYesIBAN, e.g. PK36 SCBL 0000 0011 2345 6702

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's job is to add context — it does by naming the exact algorithm (ISO mod-97) and the bank-identification side output, which is the real reason to call it. It stops short of describing the response shape (valid/invalid flag, bank label format, error behavior), which matters since there is no output schema.

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?

Two sentences, front-loaded with the core action and checksum standard, then the secondary bank-identification value, then the input-tolerance note. Nothing is padded or restated from the title.

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?

For a one-parameter, annotated, closed-world validator this covers the essentials: what is checked, what formats are accepted, and what extra information comes back. The remaining gap is the exact return shape and failure semantics, which nothing else in the definition supplies.

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% and the schema example already shows spacing, so the description's note that spaces and lowercase are tolerated adds genuine normalization meaning beyond the schema. The 24-character PK constraint is corroborated rather than duplicated needlessly.

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 (validates) and resource (Pakistani IBAN, 24 chars, PK prefix) plus a second concrete capability: identifying the issuing bank with named examples. The scope is narrow and distinct from the other validate_* siblings (CNIC, NTN, phone), so an agent can route 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the purpose: an agent infers it should call this before accepting or storing an IBAN. There is no explicit when-to-use/when-not statement and no reference to the sibling validators or to any workflow context (payment setup, KYC).

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