Skip to main content
Glama

Find businesses (Google Maps)

find_businesses

Search Google Maps for businesses by type and area to collect names, categories, addresses, phones, websites, and ratings. Returns a job_id for the actor run, with optional grid search to exceed the ~120 result cap.

Instructions

Search Google Maps for a kind of business in an area: name, category, address, phone, website, rating. Optional grid search past Google's ~120 results per search. Starts an actor run; returns a job_id.

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": {
      "query": "<query>",
      "location": "<location>"
    },
    "name": "find_businesses"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesWhat to search, e.g. 'dentist', 'roofing contractor'.
wait_sNoSeconds to wait for the runs before returning a job id (default 45).
locationYesArea, e.g. 'Austin, TX'.
max_placesNoDefault 50.
max_cost_usdNoRefuse to start if the estimated cost is above this (USD). Default 5.
grid_radius_kmNoGrid search: cover this radius around the location (more businesses, more cost).
require_websiteNoOnly businesses with a website (default true: the next steps need one).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations, it discloses the asynchronous execution model ('Starts an actor run; returns a job_id') and the ~120 results per search ceiling, both of which materially affect how an agent sequences calls. It does not spell out the polling step or the failure mode when max_cost_usd is exceeded, so it is strong but not exhaustive.

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?

Two short sentences, front-loaded with the core action and the returned fields, then the optional grid behavior and the async return. Nothing is redundant and nothing is buried.

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 7-parameter, open-world, non-idempotent search tool providing job_id, the definition covers what is searched, what comes back, and when to escalate to grid search. The one gap is that it does not tell the agent to poll job_status with the returned job_id, which matters given there is no output schema.

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 coverage is 100%, so every parameter is already documented in the input schema, and the description only adds meaning for grid_radius_km by tying it to the results cap and to higher cost. wait_s, max_cost_usd, require_website, and max_places get no extra explanation beyond the schema, so the baseline of 3 is appropriate.

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 names a specific verb and resource ('Search Google Maps for a kind of business in an area') and enumerates the returned fields (name, category, address, phone, website, rating), which makes the tool clearly distinct from the lead-processing siblings. It stops short of naming a sibling or stating an explicit boundary, so it is clear but not fully differentiated.

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?

It gives one concrete usage condition: use grid search ('Optional grid search past Google's ~120 results per search') when you need more than the per-search cap. However, it never says when not to use this tool or which sibling to prefer for related tasks such as enriching or importing businesses, leaving that routing to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.