Skip to main content
Glama
India Stack MCP
by PriyuK

Look up pincode

lookup_pincode

Retrieve district, state, and post office details for a 6-digit Indian pincode using India Post data.

Instructions

Get the district, state and post offices for a 6-digit Indian pincode (India Post data).

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": {
      "pincode": "<pincode>"
    },
    "name": "lookup_pincode"
  }
}

Input Schema

NameRequiredDescriptionDefault
pincodeYes6-digit Indian pincode, e.g. 110001

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It usefully discloses the data source (India Post) and the three pieces of information returned, but says nothing about error behavior for unknown pincodes, rate limits, or latency expectations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single well-formed sentence, front-loaded with the verb and the returned fields, with the data source in parentheses. Nothing is padded or redundant.

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 lookup with no output schema, naming the exact returned fields (district, state, post offices) is the most important completeness signal and it is present. Only the absence of failure-mode behavior keeps it from a 5.

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?

Schema coverage is 100% and the schema already documents the single parameter including an example (110001). The description repeats the '6-digit Indian pincode' constraint without adding new semantics, so the baseline 3 applies.

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 (get) and resource (district, state, post offices for a pincode), making the operation unambiguous. It doesn't reference any sibling tool, but the domain-specific framing (India Post pincode) distinguishes it naturally from lookup_ifsc and the validate_* siblings.

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 statement — there is no explicit when-to-use or when-not-to-use guidance, nor any mention of what to do for an invalid or non-existent pincode. For a single-purpose lookup this is acceptable but leaves the agent to infer boundaries.

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