Skip to main content
Glama

batch

Destructive

Run up to 100 SheetMCP operations in one call and get every result back, reducing round trips for multi-step spreadsheet edits.

Instructions

Run many SheetMCP operations in one call (e.g. write data, format header, add chart) and get every result back. Saves round trips for multi-step edits.

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": {
      "operations": "<operations>"
    },
    "name": "batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
operationsYesUp to 100 steps: [{'tool': 'write_range', 'args': {...}}, {'tool': 'format_range', 'args': {...}}]. Any SheetMCP tool except batch/server_info.
stop_on_errorNoStop at the first failing step.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare destructive, non-idempotent, and non-read-only behavior. The description adds that all results are returned and batching saves round trips, but does not disclose execution order, partial-failure semantics, or atomicity beyond what the schema's stop_on_error parameter implies.

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?

Two tight sentences with the purpose front-loaded and examples kept in a brief parenthetical. No wording is redundant or wasted.

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 destructive batch runner that can execute up to 100 operations, the description adequately covers purpose and result retrieval but omits important execution semantics such as ordering, partial failure handling, and result format. Annotations and full schema mitigate the gaps but do not fully close them.

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%, with operations and stop_on_error fully documented in the schema. The description adds illustrative operation types but no parameter semantics beyond the schema, so baseline 3 is appropriate.

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 action (run many SheetMCP operations in one call), gives concrete examples, and notes round-trip savings. This clearly distinguishes batch orchestration from individual sibling tools.

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?

Indicates multi-step edits as the primary use case and cites saved round trips. The schema supplies the exclusion of batch/server_info, but the description itself lacks explicit when-not-to-use guidance such as single-operation cases.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.