Skip to main content
Glama

geocoding_reverse

Read-only

Fetch the nearest typed Nominatim JSONv2 place record for lat and lon; zoom and detail flags control the returned address fields. Use geocoding_lookup for a named place or geocoding_search for forward text search.

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": {
      "lat": "<lat>",
      "lon": "<lon>"
    },
    "name": "geocoding_reverse"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesRequired latitude in decimal degrees, between -90 and 90.
lonYesRequired longitude in decimal degrees, between -180 and 180.
zoomNoAddress detail level from 0 (country) to 18 (building), default 18.
extratagsNoInclude additional OSM tags (extratags) in the result, default false.
namedetailsNoInclude alternative name details (namedetails) in the result, default false.
addressdetailsNoInclude a structured address breakdown in the result, 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

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety and external-service profile is covered. The description adds that zoom and detail flags govern which address fields come back, but says nothing about the upstream service's rate limits or throttling policy, which is the main operational risk for Nominatim.

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?

Two sentences, front-loaded with the action and scope, with the disambiguation second. No filler or redundancy.

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 values need not be explained, and the description covers purpose, sibling disambiguation, and the effect of detail parameters. Nothing an agent needs in order 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.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so each parameter (lat/lon bounds, zoom 0-18 default, extratags, namedetails, addressdetails, accept_language) is already fully documented. The description only adds the general point that zoom and detail flags control returned address fields, which is marginal beyond the schema's own detail.

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 ("Fetch the nearest typed Nominatim JSONv2 place record") plus the exact inputs (lat/lon), which immediately distinguishes it from the forward-search and lookup siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the agent: use geocoding_lookup for a named place and geocoding_search for forward text search, which is exactly the reverse-geocode vs. forward-geocode decision an agent faces.

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.