Skip to main content
Glama

Batch tools

batch_tools
Destructive

Run several tool calls in one request (cap 10). Returns an array of {name, result|error}. Nested batch_tools is refused.

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[{ name, arguments? }] — max 10

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (which already flag destructive and open-world), the description adds three concrete behavioral facts: the cap of 10 calls, the per-call {name, result|error} return shape, and the refusal of nested batch_tools. It stops short of stating ordering guarantees or whether one failing call affects the rest, which is the main remaining gap for a destructive tool.

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, each carrying a distinct fact, with the core purpose front-loaded and no filler or repetition.

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 supplies the return shape, and it covers the cap and nesting restriction. It is nearly complete for a one-parameter tool, with only error-isolation and ordering semantics left unspecified.

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% and the single 'calls' parameter is already documented as an array of {name, arguments?} with a max of 10. The description restates the same cap and item shape, adding no syntax or format meaning beyond the schema, which is the baseline 3 case.

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 gives a specific verb and resource: running several tool calls in one request, which is unambiguous and clearly distinct from the single-purpose siblings. It does not explicitly name an alternative, but the batching purpose is unmistakable.

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 implied by the cap of 10 and the refusal of nested batching, which tell the agent what is and isn't allowed. However, it never states when to prefer this over issuing the calls individually, nor whether it is intended for dependent or independent calls.

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