Skip to main content
Glama

Batch tools

batch_tools
Destructive

Run multiple tool calls in one request. Pass calls: an array of {name, arguments}. Returns results: an array of {success, result} | {success, error} in the same order. Max 200 calls. Calls run sequentially and independently — a failed call does not abort the rest. Cannot nest batch_tools.

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": {
      "calls": "<calls>"
    },
    "name": "batch_tools"
  }
}

Input Schema

NameRequiredDescriptionDefault
callsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and openWorldHint=true, but the description earns credit by disclosing execution semantics the annotations cannot: calls run sequentially, each is independent, and partial failure leaves earlier calls' effects intact. It does not cover auth-scope propagation or whether arguments are validated against each target tool's schema before execution, which is the main remaining behavioral gap.

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?

Four dense sentences, no filler, and the ordering is correct: capability first, then the input contract, then the return contract, then the limiting constraints. Nothing repeats the schema verbatim except the 200 cap, which is useful reinforcement.

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?

No output schema exists, so the description supplies the return shape itself ('results: an array of {success, result} | {success, error} in the same order'), which is exactly what an agent needs to interpret responses. Combined with the nesting prohibition and size cap, an agent has enough to call this correctly.

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?

With 0% schema description coverage, the description does the work the schema cannot: it names the param (calls), specifies the item shape as {name, arguments}, and clarifies that name identifies the tool to invoke. It stops short of stating that arguments must conform to the target tool's own input schema or listing valid names, which leaves one meaningful ambiguity.

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 opens with a specific verb and resource: 'Run multiple tool calls in one request', and it disambiguates itself from scenario-specific siblings like run_scenario_batch by framing itself as a general-purpose executor of arbitrary named calls. The name/arguments contract makes clear this is a meta-tool rather than a domain operation.

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?

It gives hard operating constraints (max 200 calls, sequential execution, failures don't abort the rest, no nesting) but never states when an agent should batch instead of issuing separate calls, nor when to prefer a specialized sibling such as run_scenario_batch over this generic dispatcher. Usage is implied by the constraints rather than directed.

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