Skip to main content
Glama

Find the address at a point

geocode_reverse
Read-onlyIdempotent

Finds the address or place at a point (reverse geocoding). detail chooses what to return: the nearest address or object (address, the default), the street, the district, the city, the county, the state or the country that contains the point. The result has the same fields as those of geocode_search. One call counts as one geocoding request.

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

Input Schema

NameRequiredDescriptionDefault
latYeslatitude, -90 to 90
lonYeslongitude, -180 to 180
detailNowhat to return
languageNolanguage of the names and addresses; the local names when not set

Output Schema

NameRequiredDescriptionDefault
resultsYes
attributionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "attribution": {
      +      "type": "string"
      +    },
      +    "results": {
      +      "items": {
      +        "properties": {
      +          "address": {
      +            "additionalProperties": {
      +              "type": "string"
      +            },
      +            "type": "object"
      +          },
      +          "addresstype": {
      +            "type": "string"
      +          },
      +          "bbox": {
      +            "properties": {
      +              "east": {
      +                "type": "number"
      +              },
      +              "north": {
      +                "type": "number"
      +              },
      +              "south": {
      +                "type": "number"
      +              },
      +              "west": {
      +                "type": "number"
      +              }
      +            },
      +            "required": [
      +              "south",
      +              "west",
      +              "north",
      +              "east"
      +            ],
      +            "type": "object"
      +          },
      +          "category": {
      +            "type": "string"
      +          },
      +          "display_name": {
      +            "type": "string"
      +          },
      +          "lat": {
      +            "type": "number"
      +          },
      +          "lon": {
      +            "type": "number"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "osm": {
      +            "description": "the OpenStreetMap element, such as relation/1682378",
      +            "type": "string"
      +          },
      +          "overpass_area_id": {
      +            "description": "for area(id:N) in overpass_query; ways and relations only",
      +            "type": "integer"
      +          },
      +          "type": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "display_name",
      +          "lat",
      +          "lon",
      +          "osm"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 1,
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "results"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world and non-destructive, so the safety profile is covered. The description adds something the annotations cannot: 'One call counts as one geocoding request,' which discloses quota/billing cost per invocation. It does not say what happens when a point has no match (e.g., open water), leaving one behavioral gap.

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 dense sentences with the core purpose front-loaded and the detail ladder in the middle. The final quota sentence is short and earns its place. Slight packing of the long enum list into one sentence costs it a point on readability.

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?

An output schema exists, so return structure need not be explained, and the description usefully points at geocode_search for field parity. The only real omission is failure behavior for unmatched points and any precision caveats. For a 4-parameter read-only lookup this is close to complete.

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 the baseline is 3. The description earns above baseline by expanding the terse schema text for 'detail' ('what to return') into a concrete enumeration of what each level yields, plus noting that 'language' falls back to local names. That is meaning beyond the schema, though lat/lon constraints are left entirely to the schema.

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?

States a specific verb and resource: 'Finds the address or place at a point (reverse geocoding).' The reverse-geocoding framing cleanly separates it from the forward-looking geocode_search sibling. It stops short of an explicit 'not for X, use Y' statement, so it is clear but not fully differentiated.

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

Usage Guidelines3/5

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

Usage is implied by the phrasing: you have coordinates and want the containing address or place. The mention of geocode_search only as a field-format reference does not tell the agent which tool to pick when it has an address rather than a point. No exclusions or preconditions are stated.

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