Skip to main content
Glama

Maps Reverse Geocode

maps_reverse_geocode
Read-onlyIdempotent

"Reverse geocode [lat,lng] via Google Maps" / "what address is at [coords] in Google", coordinates -> address via Google Maps Platform. Requires Google Maps API key. Use when you need Google's street-address parsing (most accurate for US).

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": 40.7128,
      "lng": -74.006,
      "_apiKey": "your-google_maps-api-key"
    },
    "name": "maps_reverse_geocode"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesLatitude
lngYesLongitude
_apiKeyYesGoogle Maps API key

Output Schema

NameRequiredDescriptionDefault
statusNoStatus of the reverse geocoding request
resultsNoArray of reverse geocoding results

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "results": {
      +      "description": "Array of reverse geocoding results",
      +      "items": {
      +        "properties": {
      +          "address_components": {
      +            "description": "Array of address components",
      +            "items": {
      +              "properties": {
      +                "long_name": {
      +                  "description": "Long component name",
      +                  "type": "string"
      +                },
      +                "short_name": {
      +                  "description": "Short component name",
      +                  "type": "string"
      +                },
      +                "types": {
      +                  "description": "Component type tags",
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "formatted_address": {
      +            "description": "Human-readable address",
      +            "type": "string"
      +          },
      +          "geometry": {
      +            "description": "Location geometry",
      +            "properties": {
      +              "bounds": {
      +                "description": "Bounding box for the address",
      +                "type": "object"
      +              },
      +              "location": {
      +                "properties": {
      +                  "lat": {
      +                    "description": "Latitude coordinate",
      +                    "type": "number"
      +                  },
      +                  "lng": {
      +                    "description": "Longitude coordinate",
      +                    "type": "number"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "location_type": {
      +                "description": "Type of location",
      +                "type": "string"
      +              },
      +              "viewport": {
      +                "description": "Recommended viewport",
      +                "type": "object"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "place_id": {
      +            "description": "Unique place identifier",
      +            "type": "string"
      +          },
      +          "types": {
      +            "description": "Address types",
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "status": {
      +      "description": "Status of the reverse geocoding request",
      +      "enum": [
      +        "OK",
      +        "ZERO_RESULTS",
      +        "INVALID_REQUEST",
      +        "OVER_QUERY_LIMIT",
      +        "REQUEST_DENIED",
      +        "UNKNOWN_ERROR"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "_apiKey": "your-google_maps-api-key",
      +    "lat": 40.7128,
      +    "lng": -74.006
      +  },
      +  {
      +    "_apiKey": "your-google_maps-api-key",
      +    "lat": 51.5074,
      +    "lng": -0.1278
      +  }
      +]
  3. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds two useful facts beyond that — the required Google Maps API key and the accuracy characteristic ('most accurate for US') — but says nothing about quota/billing implications of an external API call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The leading quoted fragments ('Reverse geocode [lat,lng] via Google Maps' / 'what address is at [coords] in Google') restate the same idea twice before the actual description begins. The content is small but the phrasing is redundant rather than front-loaded cleanly.

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 values need not be explained, and the required API key plus provider context are disclosed. For a three-parameter read tool this is nearly complete; only external-API failure or billing behavior is left implicit.

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 lat, lng, and _apiKey are already documented with types and examples. The description only restates the coordinate-to-address mapping; it adds no syntax, range, or format detail beyond the schema.

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+resource (reverse geocode coordinates) and the exact transformation: 'coordinates -> address via Google Maps Platform'. The direction (lat/lng in, address out) distinguishes it from the forward-geocoding sibling without needing to name it.

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?

'Use when you need Google's street-address parsing (most accurate for US)' gives a concrete selection criterion and an accuracy rationale. It stops short of naming an alternative provider-wide tool or stating when NOT to use it, so it is clear context rather than a full routing rule.

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.