Skip to main content
Glama

India Pincode Lookup

IndiaPincodeLookup
Read-only

India Pincode Lookup: India Pincode Lookup is an Indian PIN code API covering all ~19,300 PIN codes and ~157,000 post offices. Look up a PIN code to get its district, state, ISO state code, India Post circle, region, division and post office count, or search by post office, district or state, while paid plans add coordinates, every post office with its type and delivery status, and nearby PIN codes by distance. (Cost: 2 credits) REST: GET https://api.apiverve.com/v1/indiapincode, params in the query string, key in the x-api-key header. Docs: https://apiverve.com/md/marketplace/indiapincode.md

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "IndiaPincodeLookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum PIN codes to return for searches (1-50)
stateNoState or union territory name
nearbyNoWith pincode, include the PIN codes within radius km
officeNoPost office name or part of it
radiusNoRadius in km for nearby (1-50)
pincodeNoSix-digit PIN code
districtNoDistrict name. Former and everyday city names work (Bangalore, Gurgaon, Bombay, Noida, Delhi), and a name that is the start of several districts returns all of them (Bengaluru covers Bengaluru Urban and Rural)

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNoError message, null on success
statusNo"ok" on success

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / district / description
      Previous value: -"District name"New value: +"District name. Former and everyday city names work (Bangalore, Gurgaon, Bombay, Noida, Delhi), and a name that is the start of several districts returns all of them (Bengaluru covers Bengaluru Urban and Rural)"
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld, and non-destructive, so the description's added value is the plan gating (coordinates, full post-office lists, and nearby results require paid plans), the 2-credit cost, and the REST endpoint/auth header. It does not mention rate limits, error/no-match behavior, or result ordering.

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

Conciseness3/5

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

Purpose is front-loaded, but the opening 'India Pincode Lookup: India Pincode Lookup is an Indian PIN code API' restates the name and title redundantly. The long middle sentence packs coverage stats, field lists, and paid-plan tiers together, which is dense but partly wasted space.

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?

An output schema exists, so enumerating return fields is optional redundancy rather than a gap. What is missing is the zero-required-parameter behavior (what does a call with no arguments return?) and no-match handling, which an agent calling an open search tool would benefit from knowing.

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%, so the baseline is 3, but the description adds plan-gated meaning: 'nearby' and 'coordinates' only work on paid plans, which is behavioral context not present in the schema. It also explains the district prefix-matching semantics, though that is duplicated in the schema itself.

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 states a specific verb and resource ('Look up a PIN code', 'search by post office, district or state') and scopes it to India with concrete coverage numbers. It also enumerates the returned fields, so an agent can distinguish it from the generic ZipCodesLookup sibling 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?

It gives two clear usage modes: direct pincode lookup versus attribute-based searching by office/district/state, and notes that district names accept former/everyday city names. It stops short of naming alternatives (e.g. ZipCodesLookup for non-India) or stating what happens when no parameters are supplied, so it lacks explicit exclusions.

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.