Skip to main content
Glama

Donewire

Look up postal codes and places in a country (autocomplete)

search_places
Read-onlyIdempotent

Look up postal codes and places in a country (autocomplete). Prefix search over the GeoNames postal code dataset (CC BY 4.0, geonames.org). q with digits searches postal codes ("803" -> 80331 München …), otherwise place names (accent-insensitive). Use the result as postal_code/place in get_quote, create_job and search_workers. Countries without postal data return an empty list: use place or lat/lng instead.

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_code": "<country_code>",
      "q": "<q>"
    },
    "name": "search_places"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesPostal code prefix or place name prefix
limitNo1-25, default 10
country_codeYesISO 3166-1 alpha-2, e.g. "DE"

Output Schema

NameRequiredDescriptionDefault
dataYes
attributionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so safety is covered; the description adds real behavior beyond that: prefix-matching semantics, digit-vs-name dispatch, accent-insensitivity, dataset provenance/license, and the empty-list edge case for countries lacking postal data. Only minor gaps remain, such as ranking or ordering of matches.

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 tight sentences that lead with the core action and mechanism before the fallback advice. The first clause slightly restates the title, but the rest is dense with useful detail and 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?

An output schema exists so return structure needn't be explained, and the description covers the remaining risks: malformed-input behavior via the digit heuristic, empty results for unsupported countries, and the concrete downstream fields to feed. Nothing an agent needs to call this 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 baseline is 3, and the description earns above baseline by explaining what q actually does: digit strings are treated as postal-code prefixes while everything else is a place-name prefix, with accent-insensitive matching. It does not discuss limit behavior, so it stops short of 5.

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 ("Look up postal codes and places") plus the mechanism ("Prefix search over the GeoNames postal code dataset"). An agent can distinguish this autocomplete lookup from record-oriented siblings like search_workers or search_tasks without opening the schema.

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?

Explicitly routes the output downstream ("Use the result as postal_code/place in get_quote, create_job and search_workers"), which tells the agent when this tool is a prerequisite. It also names a fallback for missing data ("use place or lat/lng instead"), though it does not contrast with any sibling lookup tool by name.

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