Skip to main content
Glama

batch

Execute multiple Houdini operations in one undo group, rejecting unknown commands before running and reporting completed and failed_index on errors.

Instructions

Execute multiple operations in one undo group.

Each operation: {"type": "create_node", "params": {...}}.

Not a transaction. Unknown command types are rejected before anything
runs, but if an operation raises, the ones before it stay applied and
the error reports `completed` and `failed_index`. Check those before
retrying.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operationsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and largely succeeds: it discloses validation ordering ('unknown command types are rejected before anything runs'), non-atomic behavior ('Not a transaction'), partial-application semantics, and the exact error fields to check before retrying. This is rich failure-mode disclosure; it only lacks details on undo-group scope and any return format beyond the error fields, which the output schema covers.

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 scope-defining sentence is front-loaded, the example is compact, and the caveat paragraph is dense with no filler. Every sentence carries distinct information (purpose, payload shape, failure semantics) and earns its place.

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?

For a batch tool with a free-form schema, an output schema (so return format needn't be described), and no annotations, the description covers purpose, payload shape, and error semantics well. The one notable gap is that the set of valid operation types is never listed or referenced, leaving the agent to guess which 'types' will be accepted.

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 0% and the single 'operations' parameter is a free-form array, so the description is the only source of structure. It supplies the critical per-item shape ({"type": ..., "params": {...}}) but does not enumerate the valid operation types, which is the key semantic question raised by 'Unknown command types are rejected'.

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 ('Execute'), resource ('multiple operations'), and an unusual scope modifier ('in one undo group') that clearly distinguishes it from the single-operation siblings like create_node, delete_node, and modify_node. The name 'batch' plus this scope leaves no ambiguity about what the tool does.

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?

Usage is implied by the batch semantics and the 'Not a transaction' note, so an agent can infer this is for grouping many mutations under one undo step. However, it never explicitly says when to prefer this over calling create_node/connect_nodes individually, nor does it state any prerequisite or precondition for batching.

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