Skip to main content
Glama

Batch tools

batch_tools
Destructive

Run multiple tool calls in one request — e.g. creating many rows at once. Pass {calls:[{name, arguments}]}; returns an array of {success, result} | {success, error} in the same order. One failing call does not stop the others. Max 200 calls, cannot nest.

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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare that this mutates and is destructive/open-world; the description goes well beyond that by disclosing partial-failure semantics, the ordered {success, result} | {success, error} response shape, the 200-call ceiling, and the no-nesting constraint. These are exactly the behavioral traits an agent needs to plan a batch safely and interpret results.

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 short clauses, front-loaded with the core action, then payload shape, then return/error behavior, then limits. Every sentence carries distinct information and nothing is repeated from the schema verbatim.

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 ordering guarantee, and it covers the limits that matter for a destructive batch operation. It is nearly complete; a note on whether a batch is atomic across permission failures or how partial errors are surfaced in logs would close the remaining gap.

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% and the single parameter is already documented as an ordered array with a 200 cap. The description still adds value by spelling out the inner element shape ({name, arguments}), which the schema leaves as an undescribed object. It does not, however, explain what 'arguments' must conform to (i.e. the target tool's schema).

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?

States a specific verb and resource — 'Run multiple tool calls in one request' — with a concrete example ('creating many rows at once'). This is clearly distinguishable from every sibling, which are single-purpose domain operations, so an agent knows immediately this is the generic fan-out wrapper.

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?

Gives a clear usage context (bulk creation) and a key decision criterion: 'One failing call does not stop the others,' which tells an agent this is appropriate when partial success is acceptable. It stops short of an explicit when-not-to-use or a named alternative (e.g. looping single calls), so it is not a full 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