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).

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

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld, idempotent, non-destructive. The description adds the prerequisite of a Google Maps API key and a quality note about US accuracy, adding value beyond annotations. No contradiction.

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?

The description is two sentences, front-loaded with the action, and every sentence is essential. No wasted words.

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?

Given the tool's simplicity (3 params, output schema exists), the description provides purpose, usage context, and a prerequisite. It lacks sibling differentiation but is otherwise complete. An output schema covers return values, so no need for more.

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% with descriptions for all three parameters (lat, lng, _apiKey). The description does not add significant new meaning; it merely restates the purpose. Baseline 3 is appropriate.

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?

The description clearly states the verb 'reverse geocode' and the resource 'coordinates' with output 'address'. It uses a dual description that is specific and differentiates from forward geocoding sibling (maps_geocode) implicitly.

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?

The description explicitly says 'Use when you need Google's street-address parsing (most accurate for US)', providing a clear context. However, it does not explicitly say when not to use it or compare to alternatives like maps_geocode.

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.