Skip to main content
Glama

Nominatim Reverse Geocode

nominatim_reverse_geocode
Read-onlyIdempotent

Convert latitude/longitude coordinates to a human-readable address. Returns nearest address, place name, and administrative boundaries.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "lat": 48.8584,
      "lon": 2.2945
    },
    "name": "nominatim_reverse_geocode"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesLatitude in decimal degrees (e.g. 48.8584).
lonYesLongitude in decimal degrees (e.g. 2.2945).

Output Schema

NameRequiredDescriptionDefault
latYesLatitude in decimal degrees
lonYesLongitude in decimal degrees
typeYesPlace type (e.g., landmark, city, road)
osm_idYesOpenStreetMap object ID
addressNoAddress components as key-value pairs
osm_typeYesOpenStreetMap object type (node, way, relation)
place_idYesUnique place identifier
importanceYesImportance score of the place
display_nameYesHuman-readable address or place name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint, so the safety profile is covered. The description adds only the shape of the result (address, place name, boundaries), which the output schema already supplies, and omits notable external behaviors such as rate limits or attribution requirements typical of a geocoding service.

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 short sentences, front-loaded with the action and ending with the return content. No filler, no repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter read tool with an output schema and full annotation coverage, the core information is present. It is nevertheless thin: no external-service caveats and no differentiation from the forward-geocoding sibling, which are the main things an agent could get wrong here.

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% with both parameters documented and examples given, so the schema carries the parameter burden. The description mentions latitude/longitude but adds no format, range, or ordering detail beyond what the schema states.

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 states a specific verb+resource: convert lat/lon coordinates to a human-readable address, naming the inputs and the return content. It is clear on its own, though it never references the sibling nominatim_lookup (forward geocoding), so an agent must infer the direction of the operation from the name alone.

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

Usage Guidelines2/5

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

There is no when-to-use/when-not guidance and no mention of the obvious alternative (nominatim_lookup) or of coordinate validity/ordering constraints. The reader is left to infer that this is the coordinate-to-address direction rather than the address-to-coordinate one.

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.