Skip to main content
Glama

Places nearby search (capped)

maps_nearby

Find nearby places around a latitude and longitude using Google Maps Places search, with a 500-metre default radius and a cost-controlled field mask.

Instructions

Places Nearby Search around a point. Default field mask places.id,places.displayName,places.formattedAddress,places.location (Pro). A wider mask costs more. radius defaults to 500 metres.

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": {
      "lat": "<lat>",
      "lng": "<lng>"
    },
    "name": "maps_nearby"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesLatitude
lngYesLongitude
typeNoIncluded place types
fieldsNoX-Goog-FieldMask. The default is the cheapest useful set; a wider mask costs more.
radiusNoMetres. Default 500.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the annotations, the description discloses genuine operational behavior: the exact default field mask (id, displayName, formattedAddress, location), the fact that a wider mask increases cost, and the 500 m radius default. It omits any explanation of the 'capped' result limit in the title and does not address why annotations mark this non-read-only and non-idempotent.

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?

Three short sentences, front-loaded with the operation and followed by cost and default-value caveats; nothing is filler. The default-mask enumeration is dense but does real work, so only minor trimming is possible.

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

Completeness3/5

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

For a five-parameter, open-world, non-read-only search with no output schema, the definition covers cost and defaults but leaves the 'capped' in the title unexplained, gives no result-count or pagination information, and says nothing about what a wider mask should contain.

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%, so the baseline is 3 and the schema already documents lat, lng, type, fields and radius. The description only adds that the field mask's default is the listed four fields and that wider masks cost more, which is incremental value rather than a real explanation of the fields or type semantics.

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?

The first sentence states a specific verb and resource: a nearby/radius place search anchored on a coordinate. That is enough to separate it from maps_geocode (coordinate from address), maps_reverse, maps_details and maps_route, though the description never names a sibling explicitly.

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

Usage Guidelines3/5

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

Usage is only implied by 'around a point' plus the radius default; the agent can infer this is the proximity-search tool. There is no statement of when not to use it, no comparison to maps_search or maps_details, and no note on prerequisites such as API/key or quota constraints.

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