Skip to main content
Glama

MapBulk

Search businesses

search_businesses
Destructive

Create a saved Maps campaign; public-source work may reserve/spend credits. All mode uses the wallet with null cap/budget. maximum_credit_units is in half-credit units (2 units = 1 credit).

    Contact choice: enrichment=true alone is Businesses + available emails (the default: every business is kept, 1 credit with an email, 0.5 without; the target counts businesses). only_with_email=true (or result_mode="emails") is Only with email (1 credit per business with an email, the others left out and not charged). enrichment=false is No emails (0.5 credit per business).

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>",
      "country_code": "<country_code>",
      "locations": "<locations>",
      "result_cap": "<result_cap>",
      "maximum_credit_units": "<maximum_credit_units>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "search_businesses"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoMCP search
queryYes
keywordsNo
latitudeNo
locationsYes
longitudeNo
territoryNo
enrichmentNo
result_capYes
geographiesNo
result_modeNo
country_codeYes
extra_keywordNo
radius_metersNo
idempotency_keyYes
only_with_emailNo
category_selectionNo
maximum_credit_unitsYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.3/5.0
Behavior3/5

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

The annotations already declare this is destructive and open-world, and the description adds meaningful context about credit reservation/spending and per-mode costs. However, it does not explain the search-job lifecycle, idempotency expectations, or what destructive behavior beyond credit spend should concern the caller.

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?

The text is not bloated, but it is poorly front-loaded and spends most of its space on credit and contact-mode details while omitting the primary search inputs. The 'Contact choice' block is useful but dense and not organized around how to invoke the tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 18-parameter destructive search tool, the description is far from complete: it leaves core spatial, query, result-cap, and idempotency semantics unexplained. The output schema can cover return values, but the input-side completeness is inadequate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for 18 parameters, and the description explains only a few of them: maximum_credit_units, enrichment, only_with_email, and result_mode. Core parameters such as query, locations, country_code, result_cap, idempotency_key, radius_meters, and category_selection remain undocumented in both schema and description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with 'Create a saved Maps campaign,' which does not clearly state that the tool searches for businesses by query, location, and related criteria. It focuses on contact-mode and credit behavior, leaving the core purpose ambiguous relative to the tool name.

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

Usage Guidelines2/5

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

The contact-choice paragraph provides some guidance on selecting enrichment modes, but there is no when-to-use guidance relative to siblings such as enrich_businesses, get_search_job, or list_searches. An agent gets mode-selection hints but no tool-selection guidance.

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.