Skip to main content
Glama

AssistAnt 24/7: trusted local businesses + get found by AI

Find a business by its name

find_pro_by_name
Read-onlyIdempotent

Look up a business you already know by name (e.g. "Whaley's Appliance"). Optional town + state or ZIP puts that area's matches first. Returns up to 10 matches with name, place and listing slug; the slug identifies the full listing (get_pro_profile).

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

Input Schema

NameRequiredDescriptionDefault
zipNoOptional 5-digit ZIP: matches within about 60 miles
nameYesBusiness name, or the start of it (3+ letters)
townNoOptional town or city
stateNoOptional two-letter state

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so safety needs no restating. The description adds real value beyond that: a cap of 10 results, the returned fields (name, place, slug), and the fact that location inputs bias ordering rather than exclude results.

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 short sentences with zero filler, front-loaded with the identifying purpose before the location hints and result shape. Every clause carries information an agent needs.

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 no output schema, the description competently covers return values and the 10-match cap, which is what an agent needs. Minor gaps remain around zero-match behavior and what happens below the 3-letter minimum, but neither blocks correct invocation.

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 the schema already documents all four parameters, making 3 the baseline. The description does add one genuinely useful nuance — that town/state/ZIP are ranking hints that "put that area's matches first" rather than hard filters — but otherwise adds little beyond the schema text.

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 ("look up a business... by name") and scopes it to names the caller already knows, with a concrete example. That framing distinguishes it from a discovery/browse tool like find_pros and names get_pro_profile as the follow-up for detail.

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?

Gives clear when-to-use conditions (you already know the business name) and routes the agent to get_pro_profile for the full listing via the returned slug. It does not explicitly name find_pros as the alternative for open-ended discovery, leaving that contrast implied rather than stated.

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.