Skip to main content
Glama

Get one business

get_business
Read-onlyIdempotent

Details for one business from the directory, by the id returned by search_directory (f:… or l:…) or by its exact name.

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

Input Schema

NameRequiredDescriptionDefault
idYesThe id from search_directory, or the business name.
langNoLanguage for labels and links: "en" (default) or "es".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so safety is covered. The description adds the useful constraints that name lookup requires an 'exact' match and that ids come in f:… or l:… forms, but it says nothing about behavior when no match is found or whether multiple name matches are possible.

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?

A single sentence with the resource first and the accepted key formats following; nothing is redundant or padded.

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?

For a two-parameter read tool with full schema coverage and annotations covering the safety profile, little more is needed. The residual gap is that 'Details' does not hint at what fields come back and there is no output schema, so the return content stays undefined.

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 baseline is 3, but the description genuinely adds meaning: the id argument may be a prefixed id (f:…/l:…) or an exact name, which the schema only states generically as 'the business name'. That exactness and prefix detail reduces ambiguity for the agent.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource (one business), its source (the directory), and the two accepted lookup keys, so it is clearly a single-record lookup rather than a search. It implicitly contrasts with search_directory by requiring an id 'returned by search_directory', though it uses a nominal phrase ('Details for one business') instead of an explicit verb.

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?

The description gives clear context: use this after search_directory has produced an id, or with an exact business name. It offers no explicit exclusions against siblings like get_contact_options or get_area_guide, which is the only thing separating it from a 5.

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