Skip to main content
Glama

Get Business

get_business
Read-onlyIdempotent

Get full details for a single Yelp business by its id or alias. Returns rating, review count, price, categories, address, phone, hours, photos, and coordinates. Example: get_business({ id: "garaje-san-francisco" }).

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "garaje-san-francisco"
    },
    "name": "get_business"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesYelp business id or alias (from search_businesses results).
_apiKeyNoRequired, your own Yelp Fusion key. Pipeworx fronts no platform key for Yelp (Fusion plan is $229/mo, #2275 open); every call is refused with none.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / _apiKey / description
      Previous value: -"Required — your own Yelp Fusion key. Pipeworx fronts no platform key for Yelp (Fusion plan is $229/mo, #2275 open); every call is refused with none."New value: +"Required, your own Yelp Fusion key. Pipeworx fronts no platform key for Yelp (Fusion plan is $229/mo, #2275 open); every call is refused with none."
  2. Changed1 schema field changed
    • changedInput schema / properties / _apiKey / description
      Previous value: -"Optional — your own Yelp Fusion API key for higher limits; omit to use the shared Pipeworx key."New value: +"Required — your own Yelp Fusion key. Pipeworx fronts no platform key for Yelp (Fusion plan is $229/mo, #2275 open); every call is refused with none."
  3. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "id": "garaje-san-francisco"
      +  },
      +  {
      +    "id": "WavvLdfdP6g8aZTtbBQHTw"
      +  }
      +]
  4. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered and the description need not repeat it. What the description adds is the payload scope (which fields come back), which is genuinely useful; what it omits is any mention of the mandatory user-supplied API key or failure behavior, both of which materially affect a call.

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, front-loaded with purpose, then return contents, then a call example — nothing redundant and no filler. The example earns its space by showing the exact invocation shape.

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 correctly carries the burden of describing return values and does so at a useful granularity, plus a call example. The only gap relative to the tool's complexity is the absence of any note about the required Fusion API key, which lives in the schema but is arguably the biggest failure mode for callers.

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, and the description clears that bar by clarifying that the identifier may be either an id or an alias and by giving two concrete value shapes in the example. It adds modest but real meaning beyond the schema's own wording.

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 names a specific verb and resource ('Get full details for a single Yelp business') and pins the scope to a single entity, which cleanly separates it from list- or review-oriented siblings like get_reviews. The enumerated return fields (rating, review count, price, categories, address, phone, hours, photos, coordinates) make the tool's output unmistakable to an agent.

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?

Usage is only implied: an agent can infer this is the detail-fetch step after a search, and the schema's id description ('from search_businesses results') points at that workflow, but the description itself never states when to use this versus another tool or any preconditions. There are no explicit exclusions, though none are strongly needed for an obvious lookup tool.

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.