Skip to main content
Glama

Places text search (capped)

maps_search

Look up Google Maps places by text query with cost-aware field masks; defaults to ID-only results and lets you widen fields when needed.

Instructions

Places Text Search. Default field mask places.id,places.name (IDs only, the free tier). A wider mask costs more.

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

Input Schema

NameRequiredDescriptionDefault
limitNoPage size
queryYesWhat to look up
fieldsNoX-Goog-FieldMask. The default is the cheapest useful set; a wider mask costs more.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already flag openWorldHint and non-read-only behavior, so the lower bar applies; the description earns credit for disclosing the default return shape (places.id, places.name only) and that a wider field mask costs more. It does not say how billing is triggered, whether a wider mask changes the response structure, or how the 20-result cap interacts with paging.

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?

Two front-loaded sentences with no filler, and the cost caveat is stated before the agent commits to a call. The opening sentence largely restates the title rather than adding information, which keeps it just below top marks.

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?

With three fully described parameters and no output schema, the description supplies the one thing the schema cannot: the default result is IDs and names only, so the agent knows to widen the mask if it needs more. Remaining gaps around pagination and result structure are minor for a capped search endpoint.

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 3 is the baseline; the description adds genuine meaning by naming the actual default field-mask values and tying mask width directly to cost, which the schema only states generically. "limit" and "query" semantics are still 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?

"Places Text Search" names a specific verb and resource, and the parenthetical about IDs-only free tier confirms it queries Google Places. It stops short of differentiating from maps_nearby or maps_geocode, so an agent must infer that this is the free-text query variant rather than a category/location lookup.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no named alternative among the maps_* siblings. The cost framing implies it is the cheap first step (get IDs, then fetch details), but that workflow is left for the agent to infer.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.