Skip to main content
Glama

A business by its name

find_business
Read-only

The business the user NAMED, by name matching only: case, punctuation, possessives and articles are ignored, the words may come in any order, a part of the name is enough («Bern’s» finds «Bern’s Steak House»), up to two typos per word, and Cyrillic is transliterated. No meaning, no ranking: found is ordered by exactness, then — with a location — inside the radius first and nearer first. Several places with one name all come back with their addresses; without a location and across cities the answer asks which place. found: [] means the business is NOT in this catalogue; then nearby_in_same_niche lists up to five cards of the trade the name suggests, every one marked not_the_requested_business: true — never present them as the business asked for. The best matches carry task_card (≤ 2.5 KB): time for needed_by (else hours_today), up to 5 items under query, terms, deliver_to, and next {promise[], candidate[], action}. intent (book / order / quote / info) chooses the action. The full menu is get_card.

Input Schema

NameRequiredDescriptionDefault
nameYesthe business name as the user said it
queryNothe thing under the task («red roses», «ribeye»): picks the ≤ 5 items on the card
intentNowhat the user means to do with this business
locationNoa postcode, a city or "lat,lng" — orders the matches by nearness and bounds the nearby list
needed_byNowhen: «sunday», «tomorrow 19:00», «now», «tomorrow after 15:00» — read on the business’s own clock, three ways (on_day / open_at / slot_after)
deliver_toNowhere it must be brought (a postcode is best): the card says confirmed / refuted / unknown
radius_milesNoDefault 25.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only supply readOnlyHint and openWorldHint; the description adds substantial behavior: ordering by exactness then proximity, same-name disambiguation asking which place, `found: []` semantics, the ≤2.5 KB task_card payload with its fields, and the hard constraint that nearby_in_same_niche cards must never be presented as the requested business. That last point is an operational guardrail no structured field carries.

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?

Front-loads the identifying clause, then layers matching rules, ordering, disambiguation, empty-case handling, and payload in a logical sequence. It is dense and long, with some detail (two typos per word, Cyrillic transliteration, KB ceiling) that is useful but packed tightly.

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 carries the return contract and does so well (found, task_card fields, nearby_in_same_niche). The exact envelope keys for the disambiguation response ('the answer asks which place') remain implicit, which is the only meaningful gap for a 7-parameter tool.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description still adds real meaning beyond the schema — location affects both ordering (exactness, then radius, then nearness) and the bounds of the nearby list, and query/intent jointly determine which items and which action appear on the card. radius_miles itself is only restated as 'Default 25'.

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?

Opens with a precise verb+resource and an explicit scope restriction: 'The business the user NAMED, by name matching only'. The matching rules (case, punctuation, possessives, word order, partial name, two typos, Cyrillic transliteration) make it unmistakable versus search_catalog or get_business.

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?

States the selecting condition clearly — use this when the user gave a name, not a meaning — and routes onward to get_card for the full menu and to nearby_in_same_niche when found is empty. It stops short of naming sibling alternatives (search_catalog, get_business) for the cases where this tool is wrong, leaving that to inference.

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.