Skip to main content
Glama

Search places

search_places
Read-onlyIdempotent

Search Google Maps places by text, e.g. "pizzeria in Naples" or "dentist near Brooklyn".

    Returns name, rating, categories, address, phone, website and the `ref` to pass to
    get_place / get_reviews. Costs 1 credit per call (up to 20 places).

    Args:
        query: What to search, ideally with the area ("coffee in Milan").
        language: Language of the results, e.g. 'en', 'it', 'pt-BR'.
        region: 2-letter country code that biases results, e.g. 'it', 'us'.
        lat: Latitude of the area centre (use together with lng).
        lng: Longitude of the area centre (use together with lat).
        radius_km: Area radius in km around lat/lng (max 100).
        limit: Places to return, 1-20 (default 20, same cost).
        cursor: `cursor` value from a previous search_places result, for the next page.
    

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": {
      "query": "<query>"
    },
    "name": "search_places"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNo
lngNo
limitNo
queryYes
cursorNo
regionNo
languageNoen
radius_kmNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, openWorld, non-destructive), and the description adds genuinely new operational context: a cost of 1 credit per call, a cap of 20 places, that limit does not change cost, and a 100 km radius ceiling. It also discloses the result fields and the pagination mechanism via cursor.

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?

Front-loaded with purpose, return values and cost before the parameter list, so the highest-value facts come first. The Args block is a mechanical enumeration of field names but is justified given the empty schema descriptions; minor redundancy with schema defaults (limit=20, language='en') is the only waste.

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

Completeness5/5

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

For an 8-parameter, open-world search tool, nothing material is missing: cost model, result cap, returned fields, pagination, and geographic scoping are all addressed. An output schema exists and would have covered return values, so the description's return summary is a bonus rather than a gap-filler.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry the full burden, and it does: all eight parameters are explained with meaning, examples and format hints ('en', 'it', 'pt-BR'; 2-letter country code). It also adds constraints absent from the schema, such as pairing lat with lng, the 1-20 limit range, and the 100 km radius max.

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 and resource ("Search Google Maps places by text") and anchors it with two concrete example queries. It also distinguishes itself from siblings by noting the returned `ref` is what you pass to get_place / get_reviews, so an agent can see how this tool fits the chain without opening another schema.

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?

Gives clear usage context: queries should ideally include an area, lat/lng must be used together, and cursor is for the next page of a previous result. It stops short of explicit exclusion guidance (e.g. when to prefer resolve_place or a direct get_place lookup over a text search).

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.