Skip to main content
Glama

Location Toolkit (DIGIPIN, Plus Codes, PIN codes)

Look up an Indian PIN code: post offices, district, state, postal circle, centre coordinates and DIGIPIN

india_pincode_lookup

Full India Post directory (19,500+ PIN codes, 165,000+ post offices). Returns every post office under the PIN with its type (head, sub or branch office), district, state, circle, approximate centre point, its DIGIPIN and Plus Code. Not charged if the PIN does not exist. Price 0.002 USDC per call; first 3 calls per day free.

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": "india_pincode_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
paymentNoOptional x402 payment (base64 X-PAYMENT header value). Not needed while the free daily sample lasts.
pincodeYes6-digit Indian PIN code

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations present, the description carries the full burden and does well: it discloses the billing model (0.002 USDC per call, first 3 calls/day free) and the notable behavior that a non-existent PIN is not charged, which is exactly the kind of cost/edge-case detail an agent needs before invoking a paid tool. It does not cover rate limiting, error shapes for malformed PINs, or response format, keeping it off 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?

Four sentences, each doing distinct work: dataset scale, returned fields, the no-charge edge case, and pricing. It is front-loaded with the resource and coverage numbers, and no sentence is 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?

There is no output schema, so the description correctly compensates by listing the returned fields in detail, and it adds the commercial terms that schema fields cannot express. For a simple two-parameter read lookup this is close to complete, with only error behavior for invalid PIN formats left unstated.

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 description coverage is 100%, so both parameters (pincode, payment) are already documented in the schema, and the description adds nothing new about their format or constraints. The billing sentence does implicitly explain why the optional payment parameter might be supplied, which is marginal added meaning, so the baseline 3 holds.

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 uses a clear verb+resource ('Look up an Indian PIN code' / 'Full India Post directory') and enumerates exactly what comes back: post offices with their type, district, state, circle, centre coordinates, DIGIPIN and Plus Code. It does not explicitly distinguish itself from siblings like reverse_lookup or postal_code_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 India-specific scope and the '6-digit Indian PIN code' framing, which tells an agent this is a forward lookup keyed on a PIN rather than a coordinate or address input. There is no explicit when-to-use vs. alternative guidance, no exclusions, and no named sibling to route against.

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.

Resources