Skip to main content
Glama

Agent Toolkit (all-in-one)

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

india_pincode_lookup

[Location Toolkit] 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, the description carries the full burden and does well: it discloses cost (0.002 USDC per call), a free daily tier (first 3 calls), and a notable billing rule that a nonexistent PIN is not charged. It also characterizes the data volume (19,500+ PINs, 165,000+ post offices), which hints at response size. It does not describe error handling for malformed input or latency, which keeps it below 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 short sentences, front-loaded with the capability and coverage, then the return payload, then the billing terms. There is no filler or repetition, and each sentence supplies information an agent cannot get from the schema.

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?

No output schema exists, so the description compensates by enumerating the returned fields, and it covers pricing and partial-failure billing. For a read-only lookup with two fully documented parameters, this is nearly sufficient; the main omission is guidance on what an agent should do when the PIN is invalid versus nonexistent.

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 are already documented, including the '6-digit Indian PIN code' constraint and the x402 payment note. The description's pricing sentence reinforces the payment parameter's context, but the schema already says payment is unneeded during the free sample, so little meaning is added beyond structured data.

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 and resource ('india_pincode_lookup' / 'Full India Post directory') and enumerates exactly what is returned: post offices with type, district, state, circle, centre point, DIGIPIN and Plus Code. The India-only scope and directory sizing make the tool's domain unambiguous. It stops short of explicitly contrasting with adjacent siblings such as postal_code_check, so it is not 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 content list: an agent can infer it should call this when it needs the post offices or administrative hierarchy behind a known PIN. There is no explicit when-to-use, when-not-to-use, or named alternative, and no statement about preferring a different tool for non-Indian codes or reverse geocoding.

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.