Skip to main content
Glama
pakistan-mcp

pakistan-mcp

by mubasher1111

Check an NTN

validate_ntn
Read-onlyIdempotent

Checks whether a Pakistani National Tax Number is formatted as classic 7+1 digits or a 13-digit CNIC; validates format only without querying FBR.

Instructions

Checks the format of a Pakistani National Tax Number: classic 7+1 digits (1234567-8) or a 13-digit CNIC used as NTN. Format only; it does not query FBR.

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": {
      "ntn": "<ntn>"
    },
    "name": "validate_ntn"
  }
}

Input Schema

NameRequiredDescriptionDefault
ntnYesNTN, e.g. 1234567-8

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavioral context: validation is syntactic only and no external FBR lookup occurs, which sets correct expectations about authority of the result.

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 verb and resource, then the accepted formats, then the scope limit. No filler and nothing repeated 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, annotation-heavy validator this is nearly complete: formats, scope, and mutation behavior are all clear. The only missing piece is what the result looks like (boolean vs. structured verdict), which matters since no output schema exists to describe the return value.

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 single parameter already carries an example, so baseline is 3. The description earns above baseline by defining the grammar the string must match (7 digits plus check digit, or 13-digit CNIC), which is meaning the schema's lone example does not convey.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Checks the format of a Pakistani National Tax Number') and enumerates the two accepted shapes (7+1 digit classic, 13-digit CNIC-as-NTN). It implicitly separates itself from validate_cnic by noting the CNIC-as-NTN case, though it never explicitly names that sibling as the alternative for a standalone CNIC.

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?

'Format only; it does not query FBR' gives a clear when-not boundary that prevents an agent from treating this as an FBR verification call. It stops short of naming the sibling tool to use for plain CNIC or IBAN checks, so routing among the validate_* family still requires inference.

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