Skip to main content
Glama

Batch tools

batch_tools
Destructive

Run multiple tool calls in one request. Pass an array of {name, arguments}; returns an array of {success, result} or {success, error} in the same order. Max 200 calls.

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

A3.9/5.0
Behavior4/5

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

Annotations already declare the safety profile (destructive, open-world, non-idempotent), so the description need not repeat that. It adds useful behavior beyond annotations: a maximum of 200 calls and an ordered return array with per-call success/result or success/error objects. It still does not explicitly state whether later calls continue after one fails, which matters for partial-failure behavior.

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?

The description is three short sentences, front-loads the core action, then adds input format, return shape, and the call limit. Every sentence carries useful information with no repetition or filler.

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 meta-tool that can execute up to 200 arbitrary, potentially destructive calls, the definition is adequate but leaves important gaps. It explains the input and output shape but not partial-failure execution semantics, whether batching is atomic, or whether nested batch_tools calls are allowed.

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 0%, so the description must carry parameter meaning. It identifies the calls array as containing {name, arguments} objects, which clarifies that name refers to a tool name, but it does not explain that arguments must conform to the target tool's schema or that arguments is optional in the 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?

The description states a specific verb and resource: 'Run multiple tool calls in one request.' It is unambiguously a batch execution tool, distinct from the individual sibling tools it can invoke.

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 batching use case is implied by 'Run multiple tool calls in one request,' but the description gives no explicit when-to-use or when-not-to-use guidance. It does not say when to choose this over calling tools individually, nor whether dependent calls are appropriate.

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