Skip to main content
Glama
rehan1020

mcp-india-stack

by rehan1020

decode_pan_type

Read-onlyIdempotent

Identify the entity type of any Permanent Account Number by decoding its 4th character. Provide a valid 10-character PAN to get its category.

Instructions

Decode PAN entity type from 4th character. # PermissionTier: READ_ONLY

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
panYes10-character PAN

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed4 schema fields changedv0.5.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / pan / title
      Added value: +"Pan"
    • addedInput schema / title
      Added value: +"decode_pan_typeArguments"
    • addedOutput schema / title
      Added value: +"decode_pan_typeDictOutput"
  2. First observedv0.3.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and the description's 'README_ONLY' permission tag aligns. The description adds meaningful behavioral detail by revealing that the operation depends on the 4th character of the PAN, which is not visible in the 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?

The description is a single, focused sentence with no wasted words. The permission comment is redundant with annotations but does not significantly harm conciseness.

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 read-only decoding tool with a complete schema, output schema, and annotations, the description is sufficient. An agent knows what it does, what input to provide, and has the output schema for the result.

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 says '10-character PAN'. The description adds semantic value by stating the 4th character is the relevant part, giving an agent insight into how the pan parameter is interpreted.

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 uses a specific verb ('decode') and identifies the exact resource and logic: 'PAN entity type from 4th character'. This makes the tool's purpose immediately clear and distinguishes it from sibling tools like validate_pan or decode_state_code.

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?

The description implies this tool is for decoding entity type rather than validation, but it does not explicitly state when to prefer this over sibling tools like validate_pan or bulk_validate_pan. Usage context is inferable from the tool name and sibling list, but no direct guidance or exclusions are provided.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rehan1020/MCP-India-Stack'

If you have feedback or need assistance with the MCP directory API, please join our Discord server