Skip to main content
Glama

India Permanent Account Number (PAN) Format Validator

pan_format_check
Read-onlyIdempotent

Deterministic validation of Indian Permanent Account Number (PAN) issued by CBDT / Income Tax Department with 4th-character entity type classification (Individual, Company, Firm, Trust, HUF).

Input Schema

NameRequiredDescriptionDefault
panYes10-character PAN string (e.g. 'AAACP1234M')

Output Schema

NameRequiredDescriptionDefault
toolYes
scopeNo
validYes
reasonNo
countryNo
normalizedNo
entity_codeNo
entity_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so the safety profile is covered. The description adds that validation is deterministic and that the 4th character encodes entity type, which is useful behavioral context. It does not explicitly state that this checks format only and does not confirm the PAN is active or registered with CBDT, which is an important distinction an agent would need.

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?

A single front-loaded sentence that states the resource, issuer, validation nature, and the entity-type classification. There is no filler or repetition.

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?

An output schema exists, so return values need not be explained, and annotations cover the behavioral safety profile. The description is complete enough for an agent to call the tool correctly. The main residual gap is not clarifying that this is a pure format check rather than an existence or registration verification.

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 one parameter and 100% schema description coverage, the schema already documents the 10-character PAN string and provides an example. The description's mention of the 4th-character entity classification is relevant to interpreting the input but does not add parameter-level detail (e.g. format constraints, checksum expectations) beyond the schema. Baseline 3 is appropriate.

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?

The description names a specific verb (validation) and resource (Indian PAN issued by CBDT / Income Tax Department), and adds the 4th-character entity type classification, which distinguishes it from generic checks. It does not explicitly contrast with sibling validators (e.g. gstin_check, india_supplier_check), so it stops short of a 5.

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 implied by the name and description: this is a deterministic format validation of a PAN string. There is no explicit guidance on when to use it versus alternatives or when not to use it (e.g. for verifying PAN existence or linking to a supplier).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.