Skip to main content
Glama

Search businesses

search_businesses
Read-onlyIdempotent

Find Bay Area and Paris businesses. Put the job in query. not_covered is true when that job is outside the directory. A mixed query keeps the covered matches, and the note names the part that was not served. Set demo: true to get only the demo and practice listings. Example arguments: {"query":"machine shop in San Jose"}

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_businesses"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoCity.
demoNoDemo and practice only.
nearNoCity to rank from.
limitNoPage size, 1 to 20.
queryNoThe job in plain words.
countyNoCounty.
cursorNoPass next_cursor back.
channelNoemail, information, api, mcp, or openapi.
categoryNoCategory.
contactableNoOnly an email on file.

Output Schema

NameRequiredDescriptionDefault
totalYes
businessesYes
not_coveredYes
not_in_listingYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / demo / description
      Previous value: -"Include the demo shop."New value: +"Demo and practice only."
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already establish readOnly, idempotent, non-destructive and closed-world behavior, so the safety profile is covered. The description adds the not_covered flag semantics and the mixed-query match/note behavior, which is genuine added context, but says nothing about pagination behavior despite a cursor parameter and a limit cap of 20.

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?

Purpose and search-domain scoping are front-loaded, and the worked example argument is compact and immediately usable. The middle sentences shift between result semantics (not_covered, note) and the demo flag without clear ordering, which costs a little readability but wastes no words.

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?

With an output schema present the description need not explain return values, and it still usefully explains the not_covered signal and partial-match note. For a 10-parameter paginated search tool, the missing piece is any mention of cursor-based paging, which leaves a small but real gap.

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%, so the baseline is 3, and the description does reinforce two parameters: query ("Put the job in query") and demo ("only the demo and practice listings"). It adds no meaning for the other eight parameters such as near, contactable, channel or cursor, so it does not rise above the schema-provided baseline.

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 ("Find ... businesses") and bounds the search domain to Bay Area and Paris, so an agent knows this is a scoped directory search rather than a generic lookup. It never explicitly contrasts itself with the sibling get_business, so sibling differentiation is inferred rather than stated.

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

Usage Guidelines4/5

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

It tells the agent where to put the search intent ("Put the job in query") and when to set demo: true, and it explains how mixed coverage queries resolve. It offers no explicit exclusions or routing against alternatives such as get_business, which keeps it below a 5.

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