Skip to main content
Glama

Crypto & Web Data API for Agents

Look up postal code details via Zippopotam.us

world_postal
Read-only

Look up postal code details via Zippopotam.us. Returns place names, state, coordinates for a postal code in a given country. Covers many countries via GeoNames data. Price $0.005 per call (x402: USDC on Base or Solana).

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": "<country>",
      "code": "<code>"
    },
    "name": "world_postal"
  }
}

Input Schema

NameRequiredDescriptionDefault
txNoAlternative to the X-Payment-Tx header
codeYesPostal code
countryYesISO 3166-1 alpha-2 country code

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations declare readOnlyHint=true and openWorldHint=true, so the safety profile is already covered. The description does add genuinely useful behavior that annotations cannot: the upstream data source (Zippopotam.us/GeoNames) and the per-call cost with x402 payment currencies. It says nothing about not-found handling, rate limits, or response shape beyond the field list.

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?

Three short sentences, front-loaded with the action and followed by the return values and then cost/data source. No filler, though the tail-end pricing sentence is dense with two distinct concerns (source coverage and payment) packed into one.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description does name the returned fields (place names, state, coordinates), which is adequate. It is still thin for a paid, open-world lookup: nothing about multiple matches, missing postal codes, or paid-error behavior that an agent needs to budget calls correctly.

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 baseline is 3; 'country' and 'postal code' are already fully documented in the schema with patterns and examples. The mention of 'x402: USDC on Base or Solana' indirectly contextualizes the optional tx parameter, but no format or usage detail for tx is added.

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 and resource ('Look up postal code details') and enumerates the returned fields (place names, state, coordinates) plus the lookup key (postal code + country). It is clearly distinguishable from geocode-style siblings, though it never names an alternative to route against.

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 purpose: call it when you have a postal code and a country and want location details. There is no explicit when-not guidance, no mention of how it differs from world_geocode or world_reverse, and no preconditions such as 'country must be ISO alpha-2' repeated outside the schema.

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.

Resources