Skip to main content
Glama

discava – Business Directory for AI

search_businesses

Read-onlyIdempotent

Search for local businesses. Returns name, category, city, country, logo_url, available_details (what data exists), and scores. Check available_details to see what is available, then call get_business for full details.

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": {
      "country": "<country>"
    },
    "name": "search_businesses"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNoLatitude for distance calculation
lonNoLongitude for distance calculation
cityNoCity name (e.g. "Hamburg", "Wien", "New York")
langNoLanguage for category labels: "de", "en", "fr", "nl", "it", "es", "pt", "pl"
pageNoPage number for pagination (default 1)
limitNoResults per page (1-50, default 10)
queryNoSearch query (e.g. "plumber", "Zahnarzt", "Italian restaurant")
countryYesISO country code (required, e.g. "DE", "AT", "US")
categoryNoCategory slug (e.g. "plumber", "restaurant", "dentist")
min_confidenceNoMinimum confidence score 0-100. Scale: 50 = address, phone and website; 58 = plus description or hours; 65 = plus both; 70-80 = also services, logo or payment methods; +20 when the owner verified the entry. Use 50 to drop sparse entries; 70+ returns few results.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / min_confidence / description
      Previous value: -"Minimum confidence score 0-100. Scale: ~50 = address and contact data, ~58 = complete data, 65+ = confirmed by the owner (few entries). Use 50 to drop sparse entries; 65+ returns almost nothing outside claimed listings."New value: +"Minimum confidence score 0-100. Scale: 50 = address, phone and website; 58 = plus description or hours; 65 = plus both; 70-80 = also services, logo or payment methods; +20 when the owner verified the entry. Use 50 to drop sparse entries; 70+ returns few results."
  2. Changed1 schema field changed
    • changedInput schema / properties / min_confidence / description
      Previous value: -"Minimum confidence score 0-100 to filter low-quality entries"New value: +"Minimum confidence score 0-100. Scale: ~50 = address and contact data, ~58 = complete data, 65+ = confirmed by the owner (few entries). Use 50 to drop sparse entries; 65+ returns almost nothing outside claimed listings."
  3. Changed1 schema field changed
    • removedInput schema / properties / format
      Removed value: -{
      -  "description": "Response format: \"json\" (default) or \"html\" for interactive cards",
      -  "enum": [
      -    "json",
      -    "html"
      -  ],
      -  "type": "string"
      -}
  4. Changed1 schema field changed
    • addedInput schema / properties / format
      Added value: +{
      +  "description": "Response format: \"json\" (default) or \"html\" for interactive cards",
      +  "enum": [
      +    "json",
      +    "html"
      +  ],
      +  "type": "string"
      +}
  5. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish this is a safe, idempotent, non-destructive, closed-world read. The description adds value beyond that by enumerating the returned fields (name, category, city, country, logo_url, available_details, scores), which matters because there is no output schema, and by explaining the available_details concept as a data-availability probe. It does not mention pagination limits or result caps, so it is short of a 5.

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?

Three short sentences with the core purpose front-loaded and no filler. The middle sentence is slightly redundant, since listing available_details and then instructing the agent to check available_details repeats the same concept, but the overall structure is efficient.

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 10-parameter search tool with full schema coverage and no output schema, the description supplies what the structured fields cannot: the return shape and the discovery-to-detail workflow. Remaining gaps (pagination behavior, result ordering when lat/lon is given) are modest given the rich 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 description coverage is 100%, including detailed semantics for min_confidence and the lat/lon distance fields, so the schema carries the parameter burden. The description adds no parameter-level meaning of its own beyond the indirect mention of 'scores'. Baseline 3 applies.

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+resource ('Search for local businesses') and implicitly separates itself from the get_business sibling by framing search as the discovery step and get_business as the detail step. It does not explicitly name the other siblings (list_categories, get_rankings, suggest), so it falls short of full sibling differentiation.

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 a usable follow-up rule ('Check available_details... then call get_business for full details'), which is genuine when-to-use guidance for the downstream call. However, it offers no guidance on when to search versus browse categories/countries, use rankings, or use suggest, and no exclusions or prerequisites (e.g., country is required).

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