Skip to main content
Glama

Get businesses (batch)

batch_get_businesses
Read-onlyIdempotent

Fetch up to 50 businesses in a single call by IDs or slugs. Saves N round-trips. Supports prose (markdown), JSON, and shorthand formats.

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

Input Schema

NameRequiredDescriptionDefault
idsYesComma-separated business IDs or slugs (max 50)
formatNo'text' (default) markdown; 'json' structured; 'short' compact shorthand.text

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is carried. The description adds the hard 50-item cap and the available output formats, which is useful. It says nothing about behavior on unknown/expired IDs or partial failures — meaningful for a batch read.

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?

Three short sentences, front-loaded with the batch scope and cap, then the benefit, then output formats. No filler; only 'Saves N round-trips' is marginally expendable.

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

Completeness3/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 no output schema, the description covers the essentials. It leaves gaps on result ordering and on what happens when some IDs don't resolve, which an agent calling a batch endpoint would benefit from knowing.

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%: 'ids' as comma-separated IDs or slugs (max 50) and the format enum with per-value meanings are fully documented in the schema. The description only restates 'by IDs or slugs' and the formats, adding no syntax or formatting detail beyond it, so baseline 3 applies.

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?

States a specific verb and resource ('Fetch ... businesses'), plus the batch scope ('up to 50 ... in a single call by IDs or slugs'), which distinguishes it from the single-record get_business sibling even without naming it. Slightly short of 5 because it never explicitly contrasts with get_business or search_businesses.

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?

The phrase 'Saves N round-trips' implies this should replace repeated single lookups, which is a genuine usage cue. But it doesn't name the alternative tools (get_business, search_businesses) or state when NOT to use it, e.g. when you only have names rather than IDs/slugs.

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