Skip to main content
Glama

Batch tools

batch_tools
Destructive

Run multiple tool calls in one request — e.g. adding many time entries at once. Each call executes independently: one failing does not stop the others. Returns an array of results in the same order as the input, one per call, each either {success: true, result} or {success: false, error}.

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
callsYesTool calls to run in order. Max 200 per batch.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, openWorldHint=true and idempotentHint=false, so the safety profile is covered. The description adds genuinely useful behavior beyond that: per-call independence (one failure does not abort the rest) and the non-atomic partial-failure model. It omits any caveat that batching destructive or order-dependent calls compounds risk, which is why this is a 4 rather than a 5.

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, front-loaded with the capability, then the execution semantics, then the return shape. No filler words and nothing redundant with the annotations or schema.

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 takes on the burden of describing the return value as an ordered array of {success, result} / {success, error} envelopes. That makes the tool callable without guessing at the response. The remaining gap is guidance on chaining or retrying failed sub-calls in a batch, which an agent would otherwise have to infer.

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 description coverage is 100%, and the nested name/arguments fields are already documented in the schema, so the schema does most of the work. The description only adds the ordering guarantee ('in the same order as the input') and repeats the independence semantics; the 200-call cap lives in the schema, not the description.

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 concrete verb+resource pair ("Run multiple tool calls in one request") and immediately grounds it with an example ("adding many time entries at once"). This is clearly distinguishable from the individual sibling tools like add_time, since the resource is explicitly 'other tool calls' rather than a domain object.

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?

Usage context is clear: use this when you need many operations in a single request, and the example illustrates the typical case. It does not state when NOT to batch (e.g. when calls are dependent on each other's results, or when a destructive operation should be verified first), which is the main missing guidance for a fan-out wrapper.

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