Skip to main content
Glama

Get one business and all its current deals

get_business
Read-only

Look up a business by name or id: where it is, how to contact it, what it says about itself, and every deal it currently has live. Use when a person asks about a specific business ("does X have any offers?", "tell me about X") or after search_deals to see everything else that business offers.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
idNoBusiness id, as given in business.id of any deal
nameNoExact business name, any letter case

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior3/5

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

readOnlyHint=true already declares the safety profile, so the description only needs to add context. It usefully discloses that only deals that are "currently live" are returned, which is real behavioral information beyond the annotation. It does not state what happens when the business is not found or when both id and name are supplied.

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?

Front-loaded with the lookup verb and the payload, then a single compact sentence covering usage triggers and the sibling relationship. No filler or repetition; every clause carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 compensates by enumerating the returned fields (location, contact, self-description, live deals). Combined with the read-only annotation and full param coverage, an agent has enough to decide and invoke correctly; only the id/name precedence edge case remains.

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 id and name are already fully documented in the schema; baseline is 3. The description only echoes "by name or id" without resolving precedence when both are given or noting that zero required params means at least one is effectively needed — a gap the schema does not close either.

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?

Specific verb+resource ("Look up a business by name or id") with the return payload spelled out: location, contact info, self-description, and every currently live deal. It is clearly distinct from get_deal (single deal) and positions itself as the business-level view after search_deals.

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 explicit trigger conditions with quoted user phrasings ("does X have any offers?", "tell me about X") and a follow-on usage rule ("after search_deals to see everything else that business offers"). It lacks an explicit when-not-to-use clause — e.g., that get_deal should be used for a single deal's detail — so it stops just short of full routing guidance.

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