Skip to main content
Glama

batch_command

Run multiple Baritone commands in sequence with proper error handling, optionally halting the queue when one command fails.

Instructions

Execute multiple Baritone commands sequentially with proper error handling.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandsYes
stop_on_errorNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. 'Proper error handling' is undefined: it does not say whether execution halts on the first failure, whether already-run commands persist, whether it is cancellable, or whether a running Baritone instance is a prerequisite. The only behavioral hint is vague.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single compact sentence with the verb and the batching scope front-loaded. No filler, though one clause spent on the vague 'proper error handling' delivers little information for its cost.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, but for an execution/mutation tool with zero annotation coverage the definition omits prerequisites, failure semantics, ordering guarantees, and per-command validation rules. The delivery mechanism of the promised error handling is entirely left to the undocumented stop_on_error field.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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 compensate and does not: neither 'commands' (format of each command string, whether they share context/state) nor 'stop_on_error' (the parameter that actually governs the promised 'error handling') is named or explained. The phrase 'proper error handling' gestures at error policy but never ties it to the schema field that controls it.

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?

Specific verb (Execute) plus resource (Baritone commands) with the defining modifier 'multiple ... sequentially', which distinguishes it in kind from the single-command sibling run_command. It stops short of naming run_command or cancel_command as the alternatives, so the agent must infer the split from the plural noun alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit statement of when to use this instead of run_command, nor any exclusion (e.g. when a single command or a mission queue is more appropriate). Batching is merely implied by the word 'multiple', which is guidance by inference only.

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