Skip to main content
Glama

datasets_google_map_nearby

Read-only

Searches stored Google Maps businesses near a coordinate in dataset id enum value google-map-businesses. category is the exact Google Maps category label returned for the business locale; it can be localized, non-ASCII, or contain punctuation, so use the category facet to discover exact filter values. A rating of null means no aggregate rating is available. A review_count of null means Google did not return a count; numeric 0 means Google confirmed zero reviews. min_rating above 0 excludes unrated businesses. lat: Required center latitude, from -90 through 90. lon: Required center longitude, from -180 through 180. Costs 1 credit per record returned (minimum 2), so keep page_size to what you need. Use datasets_google_map_search to search the Google Maps businesses dataset.

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>",
      "lon": "<lon>",
      "radius_m": "<radius_m>"
    },
    "name": "datasets_google_map_nearby"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesRequired center latitude, from -90 through 90.
lonYesRequired center longitude, from -180 through 180.
pageNoResult page number, 1-based, default 1; page times page_size must not exceed 10000.
categoryNoOptional exact category filter, max 128 characters, e.g. hotel.
radius_mYesRequired search radius in meters, from 1 through 50000.
page_sizeNoPage size, default 20, max 100; page times page_size must not exceed 10000.
min_ratingNoOptional minimum rating, from 0 through 5. Businesses with no aggregate Google rating are returned with rating null; any value above 0 excludes them.
min_review_countNoOptional minimum review count, must be 0 or greater.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish read-only, open-world, non-idempotent behavior, and the description adds real value beyond them: a credit cost of 1 per record with a minimum of 2, a warning to keep page_size small, and precise null semantics for rating and review_count (null vs. confirmed 0). It does not mention result ordering or what happens at the page*page_size cap, but the core cost and data-interpretation behavior is disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and cost constraints are front-loaded and the null-semantics sentences are dense and useful, but the verbatim restatement of the lat/lon schema descriptions wastes space and the closing sentence about datasets_google_map_search is ambiguous rather than directive.

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?

For an 8-parameter read-only search with an output schema and full annotation coverage, the description covers the essentials an agent needs: cost model, page_size discipline, category value discovery, and null-rating interpretation. Minor gaps remain on result ordering and how the radius interacts with the 'nearby' semantics, but nothing critical is missing.

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 the baseline is 3; the description earns above that by explaining that `category` is an exact, potentially localized/non-ASCII label discoverable via the facet tool, and by clarifying that min_rating above 0 silently excludes unrated businesses. The lat/lon sentences merely repeat the schema text verbatim, which adds nothing.

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 opening sentence names a specific verb ("Searches") and resource ("stored Google Maps businesses near a coordinate") and pins the dataset id `google-map-businesses`. It is clear what the tool does, though the closing pointer to datasets_google_map_search muddies the boundary between the two rather than sharpening it.

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?

It gives a useful operational tip (use the category facet to discover exact filter values) and explains the min_rating exclusion rule, but the only alternative it names is datasets_google_map_search with no stated condition for choosing it — the final sentence even reads as if both tools search the same dataset, so the when-to-use distinction is left to inference.

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.