Skip to main content
Glama

India Public APIs MCP

pincode_lookup

Read-onlyIdempotent

Look up post offices, district and state for an Indian 6-digit PIN code (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": "pincode_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
pincodeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds the India Post provenance, which is useful context, but says nothing about behavior on an invalid or unassigned PIN (empty result vs. error).

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 front-loaded sentence with zero filler; the data source is tucked in parentheses where it belongs. Nothing redundant, though one clause on return shape or error behavior could be added cheaply.

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 full annotation coverage and no output schema, the description is complete enough: it names the inputs, the returned fields and the data source. Only failure-mode behavior is 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?

With one parameter at 0% schema description coverage, the description must carry the semantics, and it does partially by specifying 'Indian 6-digit PIN code', matching the schema's ^\d{6}$ pattern. It adds no format or edge-case detail beyond that.

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 (look up) and resource (post offices, district, state) scoped to Indian 6-digit PIN codes, plus the data source (India Post). The resource is unambiguously distinct from IFSC or DIGIPIN siblings, though no sibling is named explicitly to reinforce the boundary.

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 narrow scope — an agent can infer this is the tool for PIN-code lookups, but the description never states when to use it versus alternatives like ifsc_lookup or digipin_decode, nor any preconditions.

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.