Skip to main content
Glama

AgentStall: Africa and global data for agents

Address format and postal code validation (252 countries, incl. all of Africa and India PIN codes)

address_format_lookup
Read-onlyIdempotent

Address format and postal code validation for 252 countries: postcode regex and examples, PIN code (India), ZIP and postal code names, address line order, required fields, and states or provinces with ISO 3166-2 codes. Covers all 54 African countries (says which have no postcodes), India, the Gulf and Asia. Pass postcode to check it; India PIN codes also return the state. Source: Google's open address metadata (Apache 2.0). Returns JSON with asOf, count, results, note, sources, postcodeCheck. Read-only; invalid input is rejected before any charge. Price: $0.001 USDC per call (x402, Base mainnet), paid only when the call succeeds.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "address_format_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryNoOptional 2-letter ISO country codes, comma-separated, up to 60 (default: all 252 countries and territories)
postcodeNoOptional postcode or PIN code to check against the format; needs exactly one country

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover read-only and idempotency, but the description adds substantive behavior the annotations do not: x402 payment of $0.001 USDC per call on Base mainnet, charged only on success, invalid input rejected before any charge, and an explicit return envelope (asOf, count, results, note, sources, postcodeCheck). It also discloses the data source and license. A minor gap: no detail on result-set size, truncation, or the 'note' field's meaning.

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 opening sentence front-loads the core purpose and the capability list, followed by coverage, usage, source, return shape, and pricing in a logical order. It is dense but every sentence carries information; the pricing/payment sentence is the one place that runs long.

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 no output schema, the description compensates by naming the exact response fields, and it covers coverage scope, validation behavior, data provenance, licensing, cost, and failure-charging semantics. For a two-optional-parameter lookup tool, nothing an agent needs in order to call 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 description coverage is 100%, so the schema carries the parameter documentation and the baseline is 3. The description still adds meaning beyond it: that postcode triggers a validation check, that the check depends on exactly one country, and that India PIN codes additionally resolve to a state.

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 names a specific verb and resource: address format and postal code validation, enumerating concrete outputs (postcode regex and examples, address line order, required fields, ISO 3166-2 subdivisions) and geographic coverage. It is clearly distinguishable from siblings such as country_info_lookup or currency_info_lookup, though it never explicitly contrasts itself with any of them.

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?

There is invocation guidance ('Pass postcode to check it') and a constraint implied by the schema (a postcode check requires exactly one country), plus a note that India PIN codes also return the state. However, there is no explicit when-to-use/when-not guidance and no named alternative for adjacent needs like generic country data.

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