Skip to main content
Glama

Google Maps MCP

Search Google Local (SerpAPI)

google_local_search

Search the Google Local pack via SerpAPI — the local business listings Google shows for a query. Returns local_results, each with title, rating, reviews, type, address, phone and the place identifiers (place_id / data_id / data_cid) that feed google_maps_reviews. Provide a query q and optionally a location (or a pre-encoded uule). Paginate with start (+20 per page).

Input Schema

NameRequiredDescriptionDefault
qYesSearch query, e.g. 'Coffee' or 'Pizza near Central Park'.
glNoCountry code for the search, e.g. 'us', 'uk', 'de'.
hlNoLanguage code, e.g. 'en', 'es', 'fr', 'pt-br'.
tbsNoAdvanced search parameters not otherwise supported, passed through as a raw tbs string.
uuleNoGoogle-encoded location string (an alternative to location). Mutually exclusive with location.
startNoResult offset for pagination (0-based); ~20 results per page, so use 20, 40, ….
deviceNoDevice to emulate: 'desktop' (default), 'tablet' or 'mobile'.
ludocidNoGoogle CID of a business listing, to scope results to that place.
locationNoGeographic origin of the search — a SerpAPI canonical city-level name, e.g. 'Warsaw,Masovian Voivodeship,Poland'. For a small town or a district, put the place in q instead. Mutually exclusive with uule.
no_cacheNoForce a fresh SerpAPI fetch and bypass this server's result cache. Default false.
zero_traceNoEnterprise-only ZeroTrace mode: don't store search params/metadata on SerpAPI. Default false.
google_domainNoGoogle domain to use, e.g. 'google.com', 'google.co.uk'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does valuable work by disclosing the return payload shape (local_results with title, rating, reviews, type, address, phone, place ids) and the pagination granularity, but it says nothing about SerpAPI credit cost, rate limits, auth requirements, or failure modes for a 12-parameter network call.

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 tight sentences, front-loaded with the identity of the tool and then the return shape, with no filler. The final sentence largely repeats what the schema already says about q, location/uule and start, which is the only slack.

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?

With 12 parameters, no annotations and no output schema, the description does the important compensating work: it explains what comes back and how the place identifiers chain into google_maps_reviews. The remaining per-parameter details are fully covered by the schema, so only the lack of cost/rate-limit context leaves a gap.

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%, so every parameter including gl, hl, tbs, ludocid, device and google_domain is already documented. The description restates q/location/uule/start behavior (including the '+20 per page' hint already present in the schema) without adding new syntax or constraints, so baseline 3 applies.

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 specific verb and resource ('Search the Google Local pack via SerpAPI') and immediately disambiguates what that means — 'the local business listings Google shows for a query' — which separates it from a general maps search. It also names google_maps_reviews as the downstream consumer of the place identifiers, giving the agent a clear picture of this tool's role.

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?

Gives concrete calling context: supply q, optionally location or a pre-encoded uule, and paginate with start at +20 increments. The location/uule exclusivity is called out. It stops short of stating when to prefer this over the sibling google_maps_search, which is the one routing decision an agent still has to infer.

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