Skip to main content
Glama

search_businesses

Return a sample of matching businesses with industry, location and data-quality signals. Contact details (name, company, email, phone, address) are never returned by this tool — it shows what exists and how reachable it is, not who to call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityNoUS city name.
limitNoHow many rows to return, 1-25. Defaults to 10.
stateNoUS state, either full name ("Texas") or two-letter code ("TX").
industryNoIndustry or business type in plain words. Everyday wording is resolved to the stored categories, and `matchedIndustry` in the response says which one.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changed
    • changedInput schema / properties / industry / description
      Previous value: -"Industry or business type in plain words."New value: +"Industry or business type in plain words. Everyday wording is resolved to the stored categories, and `matchedIndustry` in the response says which one."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description must carry behavioral disclosure on its own, and it does well: it explicitly states that name, company, email, phone, and address are never returned. This is a major behavioral constraint not visible in the input schema. It stops short of describing sampling/ordering behavior or service limits, but the key risk is clearly disclosed.

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?

The description is two efficient sentences with the main purpose front-loaded and the critical contact-detail exclusion placed immediately after. There is no filler, no repetition of schema content, and every sentence earns its place.

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?

Given no output schema and no annotations, the description covers the essential invocation context: it returns a sample, indicates the kinds of fields included, and clearly states what it will never return. It could add an explicit note about non-exhaustive sampling or point to count_businesses for totals, but an agent has enough to call and interpret the tool correctly.

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?

The input schema has 100% description coverage for all four parameters, so the baseline of 3 applies. The description mentions industry and location as output content but adds no extra semantics to city, state, limit, or industry beyond what the schema already provides.

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?

The description opens with a specific verb and object: 'Return a sample of matching businesses,' and names the key output dimensions (industry, location, data-quality signals). It also draws a clear line from sibling count/list tools by emphasizing that this returns a sample, not a count or an industry list.

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 gives clear context: use this tool to see what businesses exist and how reachable they are, not to obtain contact information. The 'not who to call' exclusion is explicit, but it does not name sibling alternatives such as count_businesses or list_industries, so it falls just short of full alternative routing.

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.

TDQS

A4.2/5.0
Disambiguation4/5

count_businesses and search_businesses both query the same database with similar filters, but their intents are clearly separated: one returns aggregate counts and the other returns sample records. list_industries is distinctly for exploring available industry categories. The overlap between counting and searching is minor and well explained by the descriptions.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern using snake_case: count_businesses, list_industries, search_businesses. The verbs are specific and distinct, and the nouns clearly indicate what is being acted on. This makes the naming predictable and easy to learn.

Tool Count4/5

With 3 tools, the server is minimal but not inadequate—it covers the core needs of exploring industries, counting matches, and viewing samples. For a narrow, read-only database querying purpose, this is a reasonable scope. It is slightly on the lean side but each tool earns its place.

Completeness4/5

The surface covers the main workflows: discover available industries, count matching businesses, and retrieve sample records. The obvious gap is that contact details are never returned, but that is an intentional design choice stated clearly in search_businesses. Minor enhancements like pagination or state/city listing would help, but agents can accomplish the stated exploration goals with the given tools.

Resources