Skip to main content
Glama

Crawlora MCP

datasets_google_map_facets

Read-only

Facet aggregation over the Google Maps businesses dataset.

Input Schema

TableJSON 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.
facetYesRequired facet to aggregate. Allowed values: category, country, state, state_code, county, county_code, city, town, website_status.
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

TableJSON 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

B3.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds essentially nothing beyond that: it does not explain whether the full filter set is honored during aggregation, whether pagination applies to facet results, or any rate/cost considerations. With permissive annotations the bar is lower, but the description still contributes no behavioral context.

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?

It is a single front-loaded sentence with zero waste, which is good. However, for a 22-parameter tool it is arguably too terse, and a small amount of routing context would have earned its place without bloat.

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?

An output schema exists and annotations cover the safety profile, so the description need not explain return values or permissions. Still, the description does not elaborate on the facet concept (e.g., that it groups matching businesses by the chosen dimension) in a way that would help an agent interpret results across 22 filters; it is minimal but adequate given the rich structured fields.

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 description coverage is 100% across all 22 parameters, so the schema already documents each filter's type, bounds, and allowed facet values. The description contributes no additional parameter meaning, so the baseline of 3 applies.

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 description states a specific verb+resource: "facet aggregation over the Google Maps businesses dataset." This distinguishes it from the sibling datasets_google_map_search/item/nearby tools, which cover search, single records, and proximity rather than aggregation. It stops short of 5 because it does not say what the aggregation returns (value counts), leaving the output shape to the output schema.

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 the term "facet aggregation" and the required "facet" parameter; there is no explicit statement of when to reach for this over datasets_google_map_search. The sibling set makes the facet-vs-search split inferable, but the description provides no when/when-not guidance of its own.

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.

Resources