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.

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.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/openWorld annotations by disclosing null-vs-zero semantics for rating, review_count and permanently_closed, how rating_desc and min_rating treat unrated businesses, what has_geo=false returns, and a credit cost model (1 per record, minimum 2). These are exactly the behavioral traits an agent cannot infer from structured fields.

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 followed by tightly packed, semicolon-delimited facts; almost every clause carries operational weight. It is on the dense side for an 8-sentence description and repeats one or two schema facts, so it is efficient but not maximally clean.

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?

With an output schema present, return values need no explanation, and the description still covers cost, pagination sizing advice, null semantics, and sibling routing for a 21-parameter tool. Nothing an agent needs to call this correctly 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, but the description adds interpretive meaning the schema lacks: the locale-exact label requirement and facet discovery path for category, plus the interaction between min_rating>0 / rating_desc and null-rated records. Some clauses (e.g. min_rating exclusion) overlap the schema text, capping it below 5.

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 concrete verb and resource ('Search indexed Google Maps business records') plus the scope ('geographic and profile filters'), and explicitly contrasts itself with the sibling datasets_google_map_nearby. An agent can distinguish this from datasets_google_map_item/facets/nearby without opening any 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?

Names an explicit alternative and the condition that selects it ('Use datasets_google_map_nearby for proximity search') and points to datasets_google_map_facets for discovering category values. It does not spell out when-not-to-use cases beyond proximity, so it falls just short of fully explicit routing.

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.