Skip to main content
Glama

Search local businesses

search_local_businesses

Searches local business listings near a coordinate, with optional rating, review-count, and claimed-status filters. Use this to find local business candidates, nearby competitors, or unclaimed listings; it does not run Maps rank checks or Q&A. Returns a compact row per business (identity, contact, rating, claim status); use get_business_profile for one business's full profile. Charges credits (~2-5 typical).

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": {
      "projectId": "<projectId>",
      "near": "<near>"
    },
    "name": "search_local_businesses"
  }
}

Input Schema

NameRequiredDescriptionDefault
nearYesCoordinate and radius to search around.
limitNoMaximum businesses to return (1-50). Defaults to 20.
queryNoBusiness name or title text to match.
offsetNoRows to skip for pagination.
sortByNoSort order for returned rows. Defaults to relevance.
isClaimedNoFilter by whether the listing is claimed by its owner. false surfaces unclaimed listings (outreach prospects).
minRatingNoOnly return businesses rated at least this (1-5).
projectIdYesRequired. The FastestRank project ID to scope this call to. Get one from list_projects.
categoriesNoBusiness categories to filter by (e.g. 'pizza_restaurant').
minReviewsNoOnly return businesses with at least this many Google reviews.

Output Schema

NameRequiredDescriptionDefault
metaNo
businessesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare readOnly=false, openWorld=false, destructive=false; the description adds the crucial missing context that the call costs credits (~2-5 typical), which explains why readOnlyHint is false for a search. It also discloses the return shape ('compact row per business: identity, contact, rating, claim status'), so the agent knows what it gets for the spend.

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?

Three tight sentences: capability first, then usage/boundaries, then output and cost. No filler, and the highest-value routing hint ('does not run Maps rank checks') lands early.

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?

With 10 parameters and an output schema present, the description covers what matters: scope, filters, sibling routing, return granularity, and credit cost. Return values need not be elaborated further because an output schema exists.

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 schema, including the nested coordinate/radius object. The description only restates a subset of filters (rating, review-count, claimed status) and adds no syntax or format detail beyond the schema. Baseline 3 applies because the schema carries the parameter burden.

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 ('Searches local business listings near a coordinate') and enumerates the filter dimensions (rating, review count, claimed status). It also draws explicit boundaries against siblings: no Maps rank checks, no Q&A, and get_business_profile for a single business.

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?

Gives concrete use cases (business candidates, nearby competitors, unclaimed listings) and explicit exclusions ('it does not run Maps rank checks or Q&A'), then routes to the correct alternative for single-business lookup. An agent can choose between this and get_business_profile without opening either schema.

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.