Skip to main content
Glama

pincode_lookup

Resolve any 6-digit Indian PIN code to its serving post offices, district, state, and country for location lookups.

Instructions

Look up a 6-digit Indian PIN code (Postal Index Number) and return the offices it serves, the district, state and country. Use when a user needs the location for a PIN code, e.g. "Where is PIN code 560001?".

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

Input Schema

NameRequiredDescriptionDefault
pincodeYes6-digit Indian PIN code, e.g. 560001 (Bengaluru).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses the return payload (list of serving offices plus district/state/country), which implies a read-only lookup, but it says nothing about failure behavior for invalid or non-existent PIN codes, authentication needs, or rate limits.

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?

Two tight sentences: what it returns first, when to use it second, with a clarifying example. No filler or redundancy.

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 read-only lookup with no output schema, the description is nearly sufficient because it enumerates the returned fields. The only material gap is error/invalid-input behavior, which is minor for this tool's complexity.

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 single parameter is already documented as a '6-digit Indian PIN code, e.g. 560001 (Bengaluru)'. The description repeats the same constraint without adding format, validation, or edge-case guidance, so the baseline of 3 applies.

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?

States a specific verb and resource ('Look up a 6-digit Indian PIN code') and goes on to enumerate the returned fields (offices, district, state, country). An agent knows exactly what the tool does and what comes back without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit trigger condition ('Use when a user needs the location for a PIN code') reinforced by a concrete example query. There are no sibling tools to route against and no stated exclusions, so this is clear context without alternatives.

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

Deploy Server

Other Tools