Skip to main content
Glama

Search businesses

search_places
Read-onlyIdempotent

Look up US businesses interactively by category id (from find_categories), business name and location: city + state, ZIP, state, or near + radius_km. Needs a location or a name. Returns up to limit compact rows plus total_matches; page with offset/next_offset. Radius searches are sorted by distance, others by confidence. All filters combine with AND. Use export_leads instead for more than a couple of pages or a file, and get_place for one complete record. Costs one call per page, with no export quota.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_places"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoCity name as written in addresses, e.g. "Austin". Exact match; pair with state to avoid same-named cities. For a metro area prefer near + radius_km.
nameNoPart of the business name, case-insensitive, e.g. "Starbucks". Works with or without a category.
nearNoCenter point for a radius search: "City, ST", a 5-digit ZIP, or "lat,lon". Results are sorted by distance.
limitNoResults per call, 1-100.
stateNo2-letter US state code, e.g. "TX".
offsetNoResults to skip, for paging; pass next_offset from the previous call. Max 10,000.
categoryNoCategory ids from find_categories, e.g. ["roofing"]. Matches the category and all of its subcategories ("dental_clinic" includes general_dentistry, orthodontics, ...).
postcodeNo5-digit ZIP code.
radius_kmNoRadius in km around `near` (max 100). Ignored without `near`.
no_websiteNoOnly places with NO website listed, e.g. web-design prospects. Sources can miss a site, so confirm before pitching. Can't be combined with require_website.
require_emailNoOnly places whose data sources list an email (about a third of places).
require_phoneNoOnly places with a phone number listed.
min_confidenceNoMinimum Overture confidence that the place exists (0.5-1). 0.77 is a good default; lower adds more, noisier rows.
require_websiteNoOnly places with a website listed.

Output Schema

NameRequiredDescriptionDefault
centerNoOnly for radius searches.
offsetYes
resultsYes
returnedYes
next_offsetNoPass as offset for the next page; absent on the last page.
data_releaseYesOverture release the data comes from.
total_matchesYesAll places matching the filters, not just this page.
quota_remainingYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / require_email / description
      Previous value: -"Only places whose data sources list an email (about a third of places). For more, run find_emails on places with a website."New value: +"Only places whose data sources list an email (about a third of places)."
    • changedOutput schema / $defs / PlaceSummary / properties / id / description
      Previous value: -"Place id for get_place, verify_websites and find_emails."New value: +"Place id, for get_place and the other tools that take place ids."
  2. Changed11 schema fields changed
    • changedInput schema / properties / city / description
      Previous value: -"City name as written in addresses, e.g. \"Austin\". Exact match; for a metro area prefer near + radius_km."New value: +"City name as written in addresses, e.g. \"Austin\". Exact match; pair with state to avoid same-named cities. For a metro area prefer near + radius_km."
    • addedInput schema / properties / limit / description
      Added value: +"Results per call, 1-100."
    • changedInput schema / properties / min_confidence / description
      Previous value: -"Minimum Overture confidence that the place exists (0-1). 0.77 is a good default; lower adds more, noisier rows."New value: +"Minimum Overture confidence that the place exists (0.5-1). 0.77 is a good default; lower adds more, noisier rows."
    • changedInput schema / properties / name / description
      Previous value: -"Substring of the business name, e.g. \"Starbucks\"."New value: +"Part of the business name, case-insensitive, e.g. \"Starbucks\". Works with or without a category."
    • addedInput schema / properties / no_website
      Added value: +{
      +  "default": false,
      +  "description": "Only places with NO website listed, e.g. web-design prospects. Sources can miss a site, so confirm before pitching. Can't be combined with require_website.",
      +  "title": "No Website",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / offset / description
      Added value: +"Results to skip, for paging; pass next_offset from the previous call. Max 10,000."
    • changedInput schema / properties / radius_km / description
      Previous value: -"Radius in km around `near` (max 100)."New value: +"Radius in km around `near` (max 100). Ignored without `near`."
    • addedInput schema / properties / require_email / description
      Added value: +"Only places whose data sources list an email (about a third of places). For more, run find_emails on places with a website."
    • addedInput schema / properties / require_phone / description
      Added value: +"Only places with a phone number listed."
    • addedInput schema / properties / require_website / description
      Added value: +"Only places with a website listed."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "Center": {
      +      "properties": {
      +        "label": {
      +          "description": "How `near` was understood.",
      +          "title": "Label",
      +          "type": "string"
      +        },
      +        "lat": {
      +          "title": "Lat",
      +          "type": "number"
      +        },
      +        "lon": {
      +          "title": "Lon",
      +          "type": "number"
      +        },
      +        "radius_km": {
      +          "title": "Radius Km",
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "label",
      +        "lat",
      +        "lon",
      +        "radius_km"
      +      ],
      +      "title": "Center",
      +      "type": "object"
      +    },
      +    "PlaceSummary": {
      +      "properties": {
      +        "address": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Address"
      +        },
      +        "category": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Category"
      +        },
      +        "confidence": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "description": "Overture confidence (0-1) that the place exists.",
      +          "title": "Confidence"
      +        },
      +        "distance_km": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "description": "Only for radius searches.",
      +          "title": "Distance Km"
      +        },
      +        "email": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "description": "First email from the data sources, if any.",
      +          "title": "Email"
      +        },
      +        "id": {
      +          "description": "Place id for get_place, verify_websites and find_emails.",
      +          "title": "Id",
      +          "type": "string"
      +        },
      +        "name": {
      +          "title": "Name",
      +          "type": "string"
      +        },
      +        "phone": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "description": "E.164 format, e.g. +15125550123.",
      +          "title": "Phone"
      +        },
      +        "website": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Website"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "name"
      +      ],
      +      "title": "PlaceSummary",
      +      "type": "object"
      +    },
      +    "Quota": {
      +      "properties": {
      +        "calls": {
      +          "description": "Tool calls left this month.",
      +          "title": "Calls",
      +          "type": "integer"
      +        },
      +        "export_rows": {
      +          "description": "Export rows left this month.",
      +          "title": "Export Rows",
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "calls",
      +        "export_rows"
      +      ],
      +      "title": "Quota",
      +      "type": "object"
      +    }
      +  },
      +  "properties": {
      +    "center": {
      +      "anyOf": [
      +        {
      +          "$ref": "#/$defs/Center"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Only for radius searches."
      +    },
      +    "data_release": {
      +      "description": "Overture release the data comes from.",
      +      "title": "Data Release",
      +      "type": "string"
      +    },
      +    "next_offset": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Pass as offset for the next page; absent on the last page.",
      +      "title": "Next Offset"
      +    },
      +    "offset": {
      +      "title": "Offset",
      +      "type": "integer"
      +    },
      +    "quota_remaining": {
      +      "$ref": "#/$defs/Quota"
      +    },
      +    "results": {
      +      "items": {
      +        "$ref": "#/$defs/PlaceSummary"
      +      },
      +      "title": "Results",
      +      "type": "array"
      +    },
      +    "returned": {
      +      "title": "Returned",
      +      "type": "integer"
      +    },
      +    "total_matches": {
      +      "description": "All places matching the filters, not just this page.",
      +      "title": "Total Matches",
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "total_matches",
      +    "returned",
      +    "offset",
      +    "results",
      +    "data_release",
      +    "quota_remaining"
      +  ],
      +  "title": "SearchResult",
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the description doesn't need to restate safety. It adds genuinely non-obvious traits: radius searches sort by distance while others sort by confidence, all filters AND together, results are compact rows plus total_matches, and each page costs one call against no export quota. The only gap is it doesn't characterize the confidence score's effect beyond the schema's own note.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Six dense sentences, each carrying distinct information, front-loaded with what the tool does and the input requirement, then paging, sorting, filter combination, alternatives, and cost. No filler or repetition of the schema.

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?

For a 14-parameter search tool with an output schema already present, the description covers everything an agent needs to call it correctly: minimum required input, paging via offset/next_offset, sort order, filter combination logic, per-page cost, and when to switch to export_leads or get_place.

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 schema already documents each of the 14 parameters; the baseline would be 3. The description still adds cross-parameter meaning the schema can't express on its own: the at-least-one-of location/name requirement, the AND semantics across filters, and the fact that radius and non-radius searches sort differently.

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 ("Look up US businesses") plus the exact filter dimensions it accepts (category id, name, city+state, ZIP, state, near+radius_km). The US-only scope and interactive per-page nature distinguish it from export_leads and get_place without needing the schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit routing: "Use export_leads instead for more than a couple of pages or a file, and get_place for one complete record." It also states the minimum input requirement ("Needs a location or a name") and points at find_categories as the source of category ids, so both when-to-use and when-not-to-use are covered.

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