Skip to main content
Glama

geocoding_search

Read-only

Returns typed Nominatim JSONv2 forward geocoding results. Use either q or structured fields, not both. addressdetails: Include a structured address breakdown in results, default true. extratags: Include additional OSM tags (extratags) in results, default false. Use geocoding_reverse to retrieve reverse geocode coordinates.

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": "geocoding_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoFree-text search query; cannot be combined with structured address fields (street/city/county/state/country/postalcode).
cityNoStructured city name; cannot be combined with q.
limitNoMax number of results, default 10, clamped to 20.
stateNoStructured state or region name; cannot be combined with q.
countyNoStructured county name; cannot be combined with q.
streetNoStructured street address (house number and street); cannot be combined with q.
countryNoStructured country name; cannot be combined with q.
extratagsNoInclude additional OSM tags (extratags) in results, default false.
postalcodeNoStructured postal/ZIP code; cannot be combined with q.
namedetailsNoInclude alternative name details (namedetails) in results, default false.
countrycodesNoComma-separated ISO-2 country codes to restrict results, e.g. us,ca.
addressdetailsNoInclude a structured address breakdown in results, default true.
accept_languageNoPreferred result language as an Accept-Language tag, e.g. en-US.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

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 declare readOnly, openWorld, and non-idempotent behavior, so the description only needs to add context. It discloses the result format (Nominatim JSONv2) and two output-affecting defaults, but omits notable operational traits such as rate limiting or result ordering.

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 and sentences are short and scannable. Two sentences duplicate schema parameter text verbatim, which is mild waste against an otherwise tight definition.

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?

With 13 fully documented parameters, an output schema, and annotations covering safety, the description supplies enough for correct invocation. Missing rate-limit or pagination notes are minor given the other structured coverage.

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 every parameter including q/structured exclusivity, limit clamping, and defaults is already documented. The description restates addressdetails and extratags defaults rather than adding new meaning, so the 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 ('Returns typed Nominatim JSONv2 forward geocoding results'), which immediately distinguishes it from geocoding_reverse and geocoding_lookup. An agent can identify the tool's role 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?

Clearly states the mutual exclusion between 'q' and structured address fields, and routes reverse-geocoding needs to geocoding_reverse explicitly. It does not address when to prefer this over geocoding_lookup, which is left to inference.

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.