Skip to main content
Glama

Google Maps search

run_google_maps_search
Read-onlyIdempotent

Search Google Maps places by keyword and area: name, category, address, phone, website, rating, review count, coordinates and opening hours. Each active search filter (categories, name matching, minimum rating, website, skip closed) adds 2 points per place. 5 points per returned record.

Input Schema

NameRequiredDescriptionDefault
cityNoCity. e.g. New York
stateNoState. e.g. New York
countyNoCounty. e.g. New York County
countryNoCountry. Options: us = United States, af = Afghanistan, al = Albania, dz = Algeria, as = American Samoa, ad = Andorra, ao = Angola, ai = Anguilla, aq = Antarctica, ag = Antigua and Barbuda, ar = Argentina, am = Armenia, aw = Aruba, au = Australia, at = Austria, az = Azerbaijan, bs = Bahamas, bh = Bahrain, bd = Bangladesh, bb = Barbados, by = Belarus, be = Belgium, bz = Belize, bj = Benin, bm = Bermuda, bt = Bhutan, bo = Bolivia, ba = Bosnia and Herzegovina, bw = Botswana, bv = Bouvet Island, br = Brazil, io = British Indian Ocean Territory, bn = Brunei Darussalam, bg = Bulgaria, bf = Burkina Faso, bi = Burundi, kh = Cambodia, cm = Cameroon, ca = Canada, cv = Cape Verde, ky = Cayman Islands, cf = Central African Republic, td = Chad, cl = Chile, cn = China, cx = Christmas Island, cc = Cocos (Keeling) Islands, co = Colombia, km = Comoros, cg = Congo-Brazzaville, cd = Congo, Democratic Republic of the, ck = Cook Islands, cr = Costa Rica, ci = Cote D'ivoire, hr = Croatia, cu = Cuba, cy = Cyprus, cz = Czech Republic, dk = Denmark, dj = Djibouti, dm = Dominica, do = Dominican Republic, ec = Ecuador, eg = Egypt, sv = El Salvador, gq = Equatorial Guinea, er = Eritrea, ee = Estonia, et = Ethiopia, fk = Falkland Islands, fo = Faroe Islands, fj = Fiji, fi = Finland, fr = France, gf = French Guiana, pf = French Polynesia, tf = French Southern Territories, ga = Gabon, gm = Gambia, ge = Georgia, de = Germany, gh = Ghana, gi = Gibraltar, gr = Greece, gl = Greenland, gd = Grenada, gp = Guadeloupe, gu = Guam, gt = Guatemala, gn = Guinea, gw = Guinea-Bissau, gy = Guyana, ht = Haiti, hm = Heard Island and Mcdonald Islands, va = Vatican City State, hn = Honduras, hu = Hungary, is = Iceland, in = India, id = Indonesia, ir = Iran, iq = Iraq, ie = Ireland, il = Israel, it = Italy, jm = Jamaica, jp = Japan, jo = Jordan, kz = Kazakhstan, ke = Kenya, ki = Kiribati, kp = Korea, Democratic People's Republic of, kr = Korea, kw = Kuwait, kg = Kyrgyzstan, la = Laos, lv = Latvia, lb = Lebanon, ls = Lesotho, lr = Liberia, ly = Libyan Arab Jamahiriya, li = Liechtenstein, lt = Lithuania, lu = Luxembourg, mo = Macao, mk = Macedonia, mg = Madagascar, mw = Malawi, my = Malaysia, mv = Maldives, ml = Mali, mt = Malta, mh = Marshall Islands, mq = Martinique, mr = Mauritania, mu = Mauritius, yt = Mayotte, mx = Mexico, fm = Micronesia, md = Moldova, mc = Monaco, mn = Mongolia, me = Montenegro, ms = Montserrat, ma = Morocco, mz = Mozambique, mm = Myanmar, na = Namibia, nr = Nauru, np = Nepal, nl = Netherlands, an = Netherlands Antilles, nc = New Caledonia, nz = New Zealand, ni = Nicaragua, ne = Niger, ng = Nigeria, nu = Niue, nf = Norfolk Island, mp = Northern Mariana Islands, no = Norway, om = Oman, pk = Pakistan, pw = Palau, ps = Palestine, pa = Panama, pg = Papua New Guinea, py = Paraguay, pe = Peru, ph = Philippines, pn = Pitcairn, pl = Poland, pt = Portugal, pr = Puerto Rico, qa = Qatar, re = Reunion, ro = Romania, ru = Russian Federation, rw = Rwanda, sh = Saint Helena, kn = Saint Kitts and Nevis, lc = Saint Lucia, pm = Saint Pierre and Miquelon, vc = Saint Vincent and the Grenadines, ws = Samoa, sm = San Marino, st = Sao Tome and Principe, sa = Saudi Arabia, sn = Senegal, rs = Serbia, sc = Seychelles, sl = Sierra Leone, sg = Singapore, sk = Slovakia, si = Slovenia, sb = Solomon Islands, so = Somalia, za = South Africa, gs = South Georgia and the South Sandwich Islands, ss = South Sudan, es = Spain, lk = Sri Lanka, sd = Sudan, sr = Suriname, sj = Svalbard and Jan Mayen, sz = Swaziland, se = Sweden, ch = Switzerland, sy = Syrian Arab Republic, tw = Taiwan, tj = Tajikistan, tz = Tanzania, th = Thailand, tl = Timor-Leste, tg = Togo, tk = Tokelau, to = Tonga, tt = Trinidad and Tobago, tn = Tunisia, tr = Turkey, tm = Turkmenistan, tc = Turks and Caicos Islands, tv = Tuvalu, ug = Uganda, ua = Ukraine, ae = United Arab Emirates, gb = United Kingdom, um = United States Minor Outlying Islands, uy = Uruguay, uz = Uzbekistan, vu = Vanuatu, ve = Venezuela, vn = Viet Nam, vg = Virgin Islands, British, vi = Virgin Islands, U.S., wf = Wallis and Futuna, eh = Western Sahara, ye = Yemen, zm = Zambia, zw = Zimbabwe
websiteNoWebsite. Options: withWebsite = Only places with a website, withoutWebsite = Only places without a website
languageNoLanguage. Options: af = Afrikaans, az = azərbaycan, id = BahasaIndonesia, ms = BahasaMelayu, bs = bosanski, ca = català, cs = Čeština, da = Dansk, de = Deutsch (Deutschland), et = eesti, es = Español (España), es-419 = Español (Latinoamérica), eu = euskara, fil = Filipino, fr = Français (France), gl = galego, hr = Hrvatski, zu = isiZulu, is = íslenska, it = Italiano, sw = Kiswahili, lv = latviešu, lt = lietuvių, hu = magyar, nl = Nederlands, no = norsk, uz = oʻzbekcha, pl = polski, pt-BR = Português (Brasil), pt-PT = Português (Portugal), ro = română, sq = shqip, sk = Slovenčina, sl = slovenščina, fi = Suomi, sv = Svenska, vi = TiếngViệt, tr = Türkçe, el = Ελληνικά, bg = български, ky = кыргызча, kk = қазақтілі, mk = македонски, mn = монгол, ru = Русский, sr = српски (ћирилица), uk = Українська, ka = ქართული, hy = հայերեն, iw = עברית, ur = اردو, ar = العربية, fa = فارسی, am = አማርኛ, ne = नेपाली, hi = हिन्दी, mr = मराठी, bn = বাংলা, pa = ਪੰਜਾਬੀ, gu = ગુજરાતી, ta = தமிழ், te = తెలుగు, kn = ಕನ್ನಡ, ml = മലയാളം, si = සිංහල, th = ไทย, lo = ລາວ, my = ဗမာ, km = ខ្មែរ, ko = 한국어, ja = 日本語, zh-CN = 简体中文, zh-TW = 繁體中文
locationNoLocation. e.g. New York
max_itemsNoPlaces per search term (up to 1000) Default: 20.
categoriesNoPlace categories. e.g. abbey, accountant, accounting
min_ratingNoMinimum star rating. Options: two = 2+ stars, twoAndHalf = 2.5+ stars, three = 3+ stars, threeAndHalf = 3.5+ stars, four = 4+ stars, fourAndHalf = 4.5+ stars
postal_codeNoPostal code. e.g. 10001
skip_closedNoSkip closed places
search_termsYesSearch terms (comma-separated, up to 5). e.g. restaurant, coffee shop
search_matchingNoName matching. Options: only_includes = Title includes the search term, only_exact = Title matches the search term exactly
custom_geolocationNoCustom search area (GeoJSON, coordinates as [longitude, latitude]). e.g. {"type": "Point", "coordinates": [-73.9857, 40.7484], "radiusKm": 2}

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / location / description
      Previous value: -"Location. e.g. New York, USA"New value: +"Location. e.g. New York"
  2. Added

TDQS

A3.6/5.0
Behavior4/5

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

The annotations already declare readOnly/idempotent/openWorld, so the safety profile is covered. The description adds genuinely non-schema behavioral context the annotations can't express: a cost model where each active filter adds 2 points per place and each record costs 5 points, which should make an agent cautious about stacking filters. It doesn't explain what a 'point' is or disclose pagination/rate limits, keeping it below a 5.

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 dense sentences, front-loaded with purpose and returned fields, then cost. Nothing is padding, though half the description is spent on a points model whose units are never defined, which slightly dilutes the front-loading.

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?

With 15 parameters, no output schema and no annotations about returns, the description usefully compensates by listing the fields returned (name, address, phone, website, rating, review count, coordinates, opening hours). But for a tool with six overlapping geo parameters it says nothing about which to combine, and it omits how max_items (up to 1000) relates to the 20 default and to the 5 search terms.

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% and every one of the 15 parameters carries its own description and enum labels, so the schema does the heavy lifting. The description adds no parameter-level guidance, notably how city/state/county/postal_code/location/custom_geolocation interact (mutually exclusive? ANDed?), which is the one thing the schema can't convey.

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 opens with a specific verb and resource ("Search Google Maps places by keyword and area") and enumerates the returned fields, so the agent knows exactly what the tool produces. No sibling operates on Google Maps data, so there is no alternative to disambiguate from, but it doesn't explain how it relates to the broad run_search tool.

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 implied by "by keyword and area" plus the enumeration of filters, so an agent can infer this is the local-business lookup tool. However, it never states when to prefer it over run_search or other directory searches, nor any exclusions or prerequisites for the location parameters.

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