Skip to main content
Glama
zippopotam-global-postal-mcp

zippopotam-global-postal-mcp

Lookup postal code

lookup_postal_code
Read-onlyIdempotent

Retrieves place names, state/region, and WGS84 coordinates for a postal or ZIP code in 60+ countries using a 2-letter country code.

Instructions

Look up a postal or ZIP code in any of 60+ supported countries to retrieve place names, state/region, and WGS84 coordinates.

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": {
      "country_code": "<country_code>",
      "postal_code": "<postal_code>"
    },
    "name": "lookup_postal_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
postal_codeYesPostal or ZIP code (e.g. 90210, 10115, SW1A).
country_codeYes2-letter ISO country code (e.g. US, DE, FR, GB).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.6/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent, non-destructive, and open-world, so the safety profile is covered. The description still adds useful behavior beyond them: it names the exact fields returned and quantifies coverage as '60+ supported countries', which concretizes the open-world scope. It stops short of describing failure behavior for unsupported countries or invalid code formats.

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?

A single well-formed sentence with the action front-loaded and the payoff (returned fields) and coverage scope following. No filler, no redundancy with the title.

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 simple two-parameter read-only lookup with full schema coverage and rich annotations, the description covers purpose, coverage scope, and return contents, which is close to sufficient. The only gap is the absence of guidance on single vs. batch usage and on invalid/unsupported input behavior.

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% with both parameters documented including format examples, so the schema carries parameter semantics fully. The description adds only the implicit constraint that country_code must be one of the 60+ supported countries, which is marginal additional meaning.

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 gives a specific verb and resource ('Look up a postal or ZIP code') and even enumerates the result contents (place names, state/region, WGS84 coordinates), which is more than a tautology. It does not, however, distinguish itself from siblings such as batch_lookup_postal_codes or lookup_postal_codes_by_city, so the agent must infer that this is the single-code variant.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no named alternatives; the definition never says to use this for one code and the batch tool for many. The only signal is the singular name/first-person scoping implied by 'a postal or ZIP code', which is inference rather than stated guidance.

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