Skip to main content
Glama

Meta Ads Library Scraper: Facebook & Instagram Ads · $0.40/1K

Google Maps Businesses & Leads

search_google_maps_places
Read-onlyIdempotent

Google Maps businesses by search and city or around a point: phone (mobile and WhatsApp flagged), website and its type, address, rating, reviews count, opening hours, owner claim. Filter businesses without a website; optional e-mails and social profiles from the website and Brazilian company data (CNPJ). Use for local businesses with phone, site and reviews from Google Maps. Returns {items: [...]} with one object per result, for example: {"type":"place","query":"escritório de contabilidade nova iguaçu","rank":2,"name":"Contabilidade Exemplo | Escritório de Contabilidade em Nova Iguaçu","category":"Escritório de contabilidade","rating":4.9,"reviewsCount":182,"phone":"(21) 90000-0000","isMobilePhone":true,"whatsapp":"https://wa.me/5521900000000","website":"https://www.contabilidadeexemplo.com.br/","websiteType":"own","hasOwnWebsite" Large requests return nextCursor: call again with only cursor to get the next page. Cost: pay per result (prices on the store page where you subscribed), or US$ 0.03 per call with x402 (up to 200 places of 1 search). Read-only: it only reads public data.

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": {
      "q": "<q>"
    },
    "name": "search_google_maps_places"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSearch as typed in Google Maps (e.g. dentist austin tx). Comma-separate several (max 3). Not needed with place.
latNoLatitude to search around a point (with lng).
lngNoLongitude.
maxNoPlaces per search (1-200, default 20; up to 1000 with scan).
bboxNoBox of coordinates south,west,north,east (e.g. 40.74,-74.0,40.76,-73.98): only places inside.
cityNoSearch inside the real limits of a city (OpenStreetMap), past the ~200 of one search: up to 1000 with max.
langNoLanguage: en (default), pt-BR, es, fr...
scanNoWith lat and lng: scan the whole area in cells, up to 1000 places (one search lists about 200).
auditNoWebsite audit of each place (HTTPS, speed, mobile, SEO tags, site builder, analytics and ad pixels, booking tools, copyright year) with the issues in plain words, plus a 0-100 prospect score with reasons for agencies. Turns on contacts.
leadsNoPeople who work at each place, from public LinkedIn results (0-10, default 0): name, role, department, seniority, LinkedIn link and the likely e-mail from the company domain.
matchNoName must match the search: all (default), only_includes (name has every word), only_exact.
placeNoPlaces to read directly instead of a search: Google Maps links (place, ?cid=, maps.app.goo.gl), place IDs (ChIJ...), cid numbers or hex ids (0x...:0x...). Comma-separate several (max 20).
priceNoOnly these price labels, comma-separated, as Google shows them ($, $$, $$$, or ranges like $10–20).
stateNoSearch inside a state or region (e.g. Vermont, Rio de Janeiro).
countyNoSearch inside a county.
cursorNoNext page: the nextCursor of the previous answer. Send it alone; the first call's parameters are kept. Cursors last 24 hours.
fieldsNoOnly these output fields, comma-separated (type, status, placeId, name, query, input always stay).
imagesNoFull-size photo links per place (0-50, default 0).
insideNoFor malls, airports and stations, also each place inside as its own row (name, category, rating, floor, hours, directory group, parent).
mobileNoOnly Brazilian mobile phones (WhatsApp).
postalNoSearch within about 2 km of a postal code.
radiusNoArea around the point in meters (500-100000, default 6000).
socialNoRead the Instagram, Facebook page, YouTube channel, LinkedIn company page, TikTok and X profiles each place links to: followers, following, posts, name, bio, verified badge and e-mails shown there.
companyNoBrazilian company data from the CNPJ on the website.
countryNoTwo-letter country (us, br...).
detailsNoRead each place page: owner description, all features (accessibility, payments, parking, crowd...), price per person, delivery/takeout hours, order and menu links, owner posts, review topics, cid. Always on with place.
polygonNoGeoJSON Polygon, MultiPolygon or Point with radiusKm (coordinates as [lng, lat]): only places inside.
reviewsNoReviews per place as extra rows (0-20, default 0): stars, text and translation, date, reviewer, Local Guide, food/service/atmosphere scores, photos, owner reply. Past the 5 to 8 shown on the place page, they come from the managed read, about 10 to 40 per place in one answer; ask for 1 or 2 places at a time for more.
contactsNoE-mails and social profiles from the website.
locationNoCity or area added to every search.
open_nowNoOnly places open now (their own time zone).
locationsNoMore cities or areas: every search runs in each, without repeating a place. Comma-separate (max 10).
place_idsNoGoogle place IDs (ChIJ...), comma-separated (max 20), read in full like place.
all_placesNoAccepted, not used: use city, state or polygon with max to list an area.
categoriesNoOnly places whose Google category contains one of these words, comma-separated (e.g. pizza,italian).
inside_maxNoPlaces inside per place (1-500, default 100).
min_ratingNoMinimum rating (e.g. 4.5).
no_websiteNoOnly businesses without their own website.
competitorsNoAI competitor analysis of the places found: rank and 0-100 score, strengths and weaknesses quoting their reviews (each quote checked), social presence, recommendations, and a market overview with gaps. Turns on place details and social profiles.
min_reviewsNoMinimum number of reviews.
web_resultsNoAccepted; Google shows web results only to logged-in visitors.
order_onlineNoRestaurants with an 'Order online' button: orderOnline (DoorDash, Grubhub... with link, pickup or delivery, fee and time) and orderBy. Turns on place details.
reviews_sortNoOrder of the reviews (default newest).
with_websiteNoOnly places that have a website.
image_authorsNoAccepted; the photo links carry no author name.
max_questionsNoAccepted; questions and answers are not in the page a visitor receives.
reviewer_dataNoInclude reviewer name, id, link and photo (default true).
reviews_sinceNoOnly reviews published on or after this date (YYYY-MM-DD).
verify_emailsNoCheck every e-mail found: syntax, MX, disposable, role address, catch-all and the mailbox.
whole_countryNoWith country and no city, state or county: search the whole country, center first.
reviews_filterNoAccepted; reviews come back unfiltered, as with the leader at present.
reviews_originNoWhich reviews: all (default; hotels also show Tripadvisor, Priceline...) or google (only reviews written on Google; each review's source field says where it came from).
competitors_maxNoPlaces to compare (2-100, default 30; 5 in the competitor-analysis endpoint).
social_networksNoOnly these networks, comma-separated: instagram, facebook, youtube, linkedin, tiktok, x.
lead_departmentsNoOnly leads from these departments, comma-separated: c_suite, medical_health, engineering_technical, information_technology, design, education, finance, human_resources, legal, marketing, operations, sales, consulting, product.
skip_temp_closedNoLeave out temporarily closed places.
table_reservationNoRestaurants: reservation links (included with details).
reservation_providerNoRestaurants with a 'Reserve a table' button: also read the reservation page and return tableReservationProviders (the partner, e.g. Tagme, OpenTable) and restaurantData.tableReservationProvider.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint), so the description earns credit for adding the cost model (pay per result, or US$ 0.03 per call with x402, up to 200 places per search) and the pagination protocol (nextCursor, call again with only the cursor). It restates read-only, which is redundant but harmless.

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?

Purpose and key behaviors are front-loaded, but the middle section is a dense run-on and the inline return-value example is truncated mid-field ('"hasOwnWebsite') with no closing braces, which is sloppy and undermines the structure. The cost and pagination notes are well placed at the end.

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 a 58-parameter, no-output-schema tool, the description covers what matters at the decision level: what it returns (items array with a sample object), how to paginate, what it costs, and that it is read-only. The many enrichment modes are documented in the schema, so their absence from the prose is acceptable, though a one-line mention of the audit/leads/competitors modes would have helped.

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 the schema already documents all 58 parameters in detail. The description adds only marginal meaning, highlighting the website-less filter and optional e-mail/social/CNPJ enrichment, while the heavy optional features (scan, audit, leads, competitors, reviews) are left entirely to the schema. Baseline 3 is appropriate.

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 — searching Google Maps businesses by query and city or around a point — and enumerates the returned attributes (phone, website type, address, rating, reviews, hours, owner claim). The sentence 'Use for local businesses with phone, site and reviews from Google Maps' implicitly separates it from generic siblings like search_web or extract_url_data.

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 clear usage context ('Use for local businesses...') and several conditional hints, e.g. filtering businesses without a website, and the schema-level note that all_places is accepted but not used and that city/state/polygon with max should be used to list an area. It stops short of naming an alternative sibling or stating when NOT to use it.

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.