Skip to main content
Glama

pan_validate

Validate an Indian PAN's 10-character format and holder-type locally without an API key, returning validity and parsed fields for pre-checking income-tax lookups.

Instructions

Validate an Indian PAN (Permanent Account Number) locally without any API key: checks the 10-character format (5 letters, 4 digits, 1 letter) and the holder-type character. Returns valid/invalid plus parsed fields. Use as a fast pre-check before any income-tax 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": {
      "pan": "<pan>"
    },
    "name": "pan_validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
panYesPAN to validate, e.g. ABCPD1234C.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does well: it discloses that validation is local, requires no API key, checks both the 10-character format and holder-type character, and returns valid/invalid plus parsed fields. It stops short of explaining edge-case behavior such as case sensitivity or error responses, which keeps it from a 5.

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 tight sentences. It front-loads the core purpose, then adds usage guidance and return behavior with no unnecessary wording.

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 simple one-parameter validator with no annotations or output schema, the description covers the essential input rules, local/API-key behavior, return values, and recommended usage context. Nothing an agent needs in order to call it correctly is missing.

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 already provides an example. The description adds meaningful semantic detail by spelling out the 10-character PAN structure and the holder-type character check, going beyond what the schema alone conveys.

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 states a specific verb, 'Validate', and a specific resource, 'Indian PAN (Permanent Account Number)', then details the exact checks performed. An agent can immediately understand the tool's purpose without needing 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 Guidelines4/5

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

It explicitly says to use it 'as a fast pre-check before any income-tax lookup', giving clear usage context. It does not provide when-not-to-use guidance, but the tool is narrow and has no sibling alternatives to distinguish.

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

Deploy Server

Other Tools