Skip to main content
Glama

Server Details

Validate and normalize postal codes offline for 252 countries and territories. Format check only.

Ownership verified
Status
Healthy
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL

TDQS

A4.4/5.0

Scored across 2 tools

Disambiguation5/5

The two tools have clearly distinct purposes: one lists supported countries and their postal-code metadata, while the other validates a specific postal code. There is no realistic overlap or misselection risk.

Naming Consistency5/5

Both names follow a consistent snake_case verb_noun pattern: list_countries and validate_postcode. The verbs accurately reflect the read-only actions.

Tool Count4/5

Two tools are somewhat thin, but they map cleanly to the server's narrow read-only purpose. The surface is minimal and well-scoped rather than bloated.

Completeness4/5

The tools cover the core flow of listing supported countries and validating postal-code formats, including normalized output and no-postal-code handling. Minor gaps such as batch validation or richer country-specific lookup exist but are not blocking.

Available Tools

2 tools
list_countriesList supported countriesA
Read-onlyIdempotent
Inspect

List every supported country and territory with its ISO code, English name, whether it uses postal codes, a format example and the local name for the code (zip, eircode, PIN…). Read-only. Same data as GET /v1/countries.

NameRequiredDescriptionDefault

No parameters

Output Schema

NameRequiredDescription
countYes
versionYes
countriesYes
with_postal_codesNo

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/closed-world, so the bar is lower, and the description still adds real value: it promises a complete listing of 'every' country (i.e. no pagination/no filtering) and enumerates the returned attributes. It doesn't address caching or whether the list is stable over time, which is minor for a static reference set.

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 dense sentence plus a short safety clause and endpoint reference; the payload contents are front-loaded and every clause carries information an agent can use (field list, read-only, REST parity). No filler.

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?

With zero params, rich annotations, and an output schema handling return values, the description covers everything an agent needs: what it returns, that it's exhaustive, that it's safe, and where the same data lives in the REST API.

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?

Zero parameters, so per the baseline this scores 4. The schema and the empty properties block already make clear no input is required, and the description adds nothing that could mislead about arguments.

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?

Specific verb + resource ('List every supported country and territory') and it enumerates the exact payload fields (ISO code, English name, postal-code flag, format example, local code name). It is unmistakably distinguishable from the sibling validate_postcode.

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?

The static reference-lookup nature and 'Read-only' phrasing imply when to use it, and the REST equivalent (GET /v1/countries) gives a mental model. But it never states the relationship to the sibling — e.g. 'use this to discover valid country codes before calling validate_postcode' — nor any when-not condition.

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

validate_postcodeValidate a postal codeA
Read-onlyIdempotent
Inspect

Check whether a postal code has a valid format for a country and return its normalized form (uppercase, official space or hyphen), a format example and the country name. Example: country "NL", code "1234ab" → valid true, normalized "1234 AB". Format check only (Google libaddressinput patterns): it does not confirm the code exists or is deliverable. Countries without postal codes return valid false with reason "no_postal_codes". Read-only. Same engine as GET /v1/validate.

NameRequiredDescriptionDefault
codeYesThe postal code to check, e.g. "SW1A 1AA", "94103", "10115".
countryYesISO 3166-1 alpha-2 country code, e.g. "US", "GB", "DE" (case-insensitive; "UK" accepted).

Output Schema

NameRequiredDescription
inputNo
validYes
reasonNo
countryNo
messageNo
versionYes
zip_nameNo
normalizedYes
country_nameYes
format_exampleYes
has_postal_codesNo

TDQS

A4.6/5.0
Behavior5/5

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

The description adds substantial context beyond the annotations: the underlying pattern source (Google libaddressinput), an illustrative input/output transformation, and the explicit edge-case behavior for countries without postal codes (valid false, reason "no_postal_codes"). It also reinforces that this is a pure format check with no existence guarantee.

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?

The purpose and result shape are front-loaded, followed by the example, the limitation, and the edge case. It is dense and every sentence carries information, though the trailing reference to the equivalent REST endpoint is marginally useful for an MCP caller.

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?

Given annotations covering safety/idempotency, full schema coverage, and an output schema, the remaining unknowns an agent would care about — normalization behavior, failure semantics, and non-postal-code countries — are all addressed. Nothing needed to invoke it correctly is missing.

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 a concrete worked example (NL, "1234ab" → "1234 AB") that shows how the country parameter drives validation and how the code is normalized. This goes slightly beyond the schema's per-field examples.

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 (check a postal code's format for a country) and explicitly describes the normalization output and its limits. It is clearly distinct from the only sibling, list_countries, which does not validate anything.

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 clearly scopes when this tool is appropriate — format checking only, not existence or deliverability — which tells an agent when not to rely on it. There is no real alternative tool to route to, so there is no explicit alternative sentence, but the use boundary is well established.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 2 tool updates
    • First observedlist_countries
    • First observedvalidate_postcode

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Global postal code lookups, validation, and city search for 240+ countries with timezone, admin region, and elevation metadata. Sub-10ms responses at $0.000028/query with 1,000 free queries on signup.
    4
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables ZIP and postal code lookups—resolving codes to city, state, and coordinates for 60+ countries, and fetching all postal codes for a city—via the Zippopotam.us API.
    5 npm
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Validates Indian GSTIN numbers with structural checks, embedded PAN extraction, state-code lookup, and mod-36 check character validation, all via local compute.
    MIT
Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources