Skip to main content
Glama

Maps Place Search

maps_place_search
Read-onlyIdempotent

"Find restaurants / hotels / coffee shops / [businesses] near [location]" / "nearby [type] within [radius]" / "places to eat in [area]", find nearby businesses and points of interest via Google Maps Places. Returns names, addresses, Google ratings, distances. Premium-quality POI data; requires Google Maps API key. Use over Yelp/OSM when you want Google's POI coverage and ratings.

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": {
      "query": "pizza near Times Square",
      "_apiKey": "your-google_maps-api-key"
    },
    "name": "maps_place_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesSearch query (e.g., "pizza near Times Square")
radiusNoSearch radius in meters (max 50000, default 5000)
_apiKeyYesGoogle Maps API key
locationNoCenter point as "lat,lng" (optional)

Output Schema

NameRequiredDescriptionDefault
statusNoStatus of the place search request
resultsNoArray of places matching search criteria

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 places matching search criteria",
      +      "items": {
      +        "properties": {
      +          "business_status": {
      +            "description": "Business operational status",
      +            "type": "string"
      +          },
      +          "formatted_address": {
      +            "description": "Formatted address of the place",
      +            "type": "string"
      +          },
      +          "geometry": {
      +            "description": "Location geometry",
      +            "properties": {
      +              "location": {
      +                "properties": {
      +                  "lat": {
      +                    "description": "Latitude",
      +                    "type": "number"
      +                  },
      +                  "lng": {
      +                    "description": "Longitude",
      +                    "type": "number"
      +                  }
      +                },
      +                "type": "object"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "name": {
      +            "description": "Place name",
      +            "type": "string"
      +          },
      +          "place_id": {
      +            "description": "Unique Google place ID",
      +            "type": "string"
      +          },
      +          "rating": {
      +            "description": "Average user rating (0-5)",
      +            "type": "number"
      +          },
      +          "types": {
      +            "description": "Place type categories",
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "status": {
      +      "description": "Status of the place search 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",
      +    "query": "pizza near Times Square"
      +  },
      +  {
      +    "_apiKey": "your-google_maps-api-key",
      +    "location": "40.7128,-74.0060",
      +    "query": "coffee",
      +    "radius": 1000
      +  }
      +]
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds real context beyond that: the data comes from Google Maps Places, an API key is required, and output includes ratings and distances. Not mentioned are quota/rate-limit behavior or result-count caps, which matter for a billed external API.

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?

Front-loads the query patterns an agent will pattern-match on, then states mechanism, return fields, and the alternative comparison. Dense but every clause carries routing or capability information; nothing is padded.

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 the description needn't enumerate return values, and the auth requirement is explicit. For a four-parameter search tool this covers what's needed to call it, though it omits pagination/result limits and how radius interacts with a location embedded in the query string.

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% and each parameter is documented in the schema itself, so the baseline is 3. The description's phrase templates hint that location and radius can be folded into a natural-language query string, which is mild added meaning, but it gives no syntax or unit guidance beyond what the schema already 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?

States a specific verb and resource: 'find nearby businesses and points of interest via Google Maps Places,' plus the fields returned (names, addresses, ratings, distances). It does not differentiate itself from siblings such as maps_place_details or maps_geocode, so an agent must infer the boundary, but the core purpose is unambiguous.

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 quoted query templates ('restaurants near [location]', 'nearby [type] within [radius]', 'places to eat in [area]') give concrete trigger phrasings, and it names Yelp/OSM as the alternatives it should beat for Google POI coverage and ratings. It stops short of saying when NOT to use it — e.g. defer to maps_place_details for a known place or maps_geocode for a bare address.

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.