Skip to main content
Glama

Resolves a postal code in one country to its place names

agent_intel_global_postal_geocode_resolver
Read-only

Resolves a postal code in one country (ISO 2-letter code, e.g. US, DE, TR, GB) to its place names, state or province, and latitude and longitude, from Zippopotam.us. Covers only the countries that service publishes. No time zone or administrative municipality is returned, since no free source for them was used. Takes about 14 s; allow a 30 s timeout. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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>",
      "postalCode": "<postalCode>"
    },
    "name": "agent_intel_global_postal_geocode_resolver"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryYesTwo-letter ISO country code, e.g. US, DE, TR, GB
postalCodeYesPostal code as written for that country, 2 to 12 characters

Output Schema

NameRequiredDescriptionDefault
placesNo
sourceNo
countryNo
checkedAtNo
postalCodeNo
countryCodeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes well past the readOnlyHint/openWorldHint annotations: discloses ~14 s latency with a 30 s timeout recommendation, a $0.002 per-successful-call price with the x402/USDC payment mechanism, and the fact that failed calls are not charged. It also bounds the output (no time zone or administrative municipality, and why), which is exactly the operational context an agent needs before committing a paid call.

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?

Purpose is front-loaded in the first clause, and each following sentence carries distinct operational information (coverage, output limits, latency, price). The payment sentence is slightly dense with the network list, but nothing is padded or redundant.

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

Completeness5/5

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

For a two-parameter paid external lookup, the definition covers source, coverage limits, latency, cost, billing failure behavior, and output boundaries; with an output schema present it does not need to explain return structure. Nothing an agent needs to decide or invoke correctly is missing.

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 both parameters are already documented; the description's 'ISO 2-letter code, e.g. US, DE, TR, GB' largely restates the schema. The 'as written for that country' formatting nuance is the only added semantic, so baseline 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 (resolves) and resource (a postal code in one country) and enumerates the exact outputs: place names, state or province, latitude and longitude. The upstream source (Zippopotam.us) and the country-scoping are named, so an agent can tell immediately this is a postal-to-place geocoder and not any other lookup.

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 rather than prescribed: 'Covers only the countries that service publishes' tells the agent a prerequisite (country must be supported) and the negative scope (no time zone, no administrative municipality). However, no alternative tool or condition for choosing an alternative is named, and there is no explicit when-not guidance beyond coverage.

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