Skip to main content
Glama

datasets_google_map_search

Read-only

Search indexed Google Maps business records with geographic and profile filters. category uses the business locale's exact label; discover values through datasets_google_map_facets. Null rating, review_count, or permanently_closed means unavailable or unchecked, rather than zero or open; numeric review_count=0 confirms zero reviews. rating_desc sorts unrated businesses last and min_rating>0 excludes them. has_geo=false selects locationless records. Costs 1 credit per record returned (minimum 2), so keep page_size to what you need. Use datasets_google_map_nearby for proximity search.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "datasets_google_map_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoOptional full-text business search query, max 256 characters.
latNoOptional latitude for radius filtering or distance sort, from -90 through 90; supply together with lon.
lonNoOptional longitude for radius filtering or distance sort, from -180 through 180; supply together with lat.
cityNoOptional exact city filter, max 128 characters.
pageNoResult page number, 1-based, default 1; page times page_size must not exceed 10000.
sortNoOptional sort order. Allowed values: relevance, updated_at_desc, rating_desc, review_count_desc, distance_asc. Defaults to relevance with q, otherwise updated_at_desc.
townNoOptional exact town filter, max 128 characters.
stateNoOptional exact state/region filter, max 128 characters.
countyNoOptional exact county filter, max 128 characters.
countryNoOptional exact country filter, max 128 characters.
has_geoNoOptional location presence filter. true keeps only mappable businesses with coordinates; false isolates locationless service-area businesses (online/mobile/home-based) that have no map location.
categoryNoOptional exact category filter, max 128 characters, e.g. hotel.
radius_mNoOptional radius in meters, from 1 through 50000; requires lat and lon when supplied.
has_phoneNoOptional phone presence filter; true keeps only businesses with a phone number.
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.
state_codeNoOptional exact ISO 3166-2 state/region code filter, e.g. US-CA or FR-HDF, max 128 characters; use facet=state_code to discover values.
county_codeNoOptional exact ISO 3166-2 county/district code filter, e.g. FR-59 or IT-RM, max 128 characters; use facet=county_code to discover values.
has_websiteNoOptional website presence filter; true keeps only businesses with a website.
min_review_countNoOptional minimum review count, must be 0 or greater.
permanently_closedNoOptional closure filter. true keeps only businesses Google marks Permanently closed; false excludes those, keeping every business not known to be closed (including the majority whose status has never been checked, which are returned with permanently_closed null).

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

A4.9/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations, it discloses important behavior: null rating, review_count, or permanently_closed means unavailable or unchecked, review_count=0 confirms zero reviews, rating_desc sorts unrated last, min_rating>0 excludes them, and each returned record costs credits.

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?

The description is dense but appropriately sized for a 21-parameter search tool. It is front-loaded with the core purpose, and each later sentence adds operational meaning rather than repeating schema text.

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?

Given the rich annotations, 100% schema coverage, and an output schema, the description provides all the extra context an agent needs to avoid common errors around null semantics, category discovery, proximity alternatives, and credit usage.

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 already 100%, so the baseline is 3. The description adds meaningful semantics beyond the schema for category values, null-field interpretation, rating sorting and min_rating exclusion, has_geo=false, and page_size cost, though not every one of the 21 parameters receives extra narrative treatment.

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?

The description states a specific verb and resource: search indexed Google Maps business records with geographic and profile filters. It clearly distinguishes this from datasets_google_map_nearby by assigning proximity search to that sibling.

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

Usage Guidelines5/5

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

It gives explicit alternatives: use datasets_google_map_facets to discover category values and datasets_google_map_nearby for proximity search. It also provides practical usage guidance about credit cost and page_size.

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.