Skip to main content
Glama

AgentStall: Africa and India data

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). Free here (20 calls per day).

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. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true, idempotentHint=true and closed-world scope, so the safety profile is covered. The description adds genuine context beyond that: the Google Apache 2.0 data source, the 20 calls/day quota, and the fact that India PIN lookups return a state. It is thin on return shape for non-postcode calls, keeping this at 3 rather than higher.

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?

Front-loaded with the capability and coverage before the source and quota caveats. Dense but earnable content; the parenthetical country coverage list is slightly repetitive 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 two-parameter read-only lookup with no output schema, the description supplies coverage scope, data provenance, quota limits, and the notable India PIN return behavior. Enough for correct selection and invocation, though it could spell out what an agent gets when country is supplied without a postcode.

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 coverage is 100%, so both parameters are fully documented in the schema (country, comma-separated ISO codes up to 60; postcode requiring exactly one country). The description restates 'pass postcode to check it' and 'needs exactly one country' without adding format or syntax detail beyond what the schema already provides, 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 and resource with concrete outputs: postcode regex, examples, address line order, required fields, ISO 3166-2 state codes. Coverage is scoped explicitly (252 countries, all 54 African countries, India, Gulf, Asia), letting an agent distinguish it from sibling lookups like country_info_lookup or india_ifsc_lookup.

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?

Gives clear operational guidance: "Pass postcode to check it" and notes postcode needs exactly one country, and flags the 20-calls-per-day ceiling. No explicit when-not-to-use or named alternatives, but intent is unambiguous from the coverage statement and the parameter semantics.

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