Skip to main content
Glama

execute_batch

Execute sequential operations with variable piping between steps using Python, shell, file, or transform services. Reference previous results to chain operations in a batch workflow.

Instructions

Execute a batch of operations sequentially with variable piping. Use $results[N].path.to.value to reference previous results. Available services: python, shell, file, transform.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operationsYesList of operations to execute
batch_nameNoOptional name for the batch
stop_on_errorNoStop on first error (default: true)
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It describes the sequential execution, variable piping mechanism, and available services, but doesn't cover important behavioral aspects like error handling (beyond the stop_on_error parameter in schema), performance characteristics, or what the output looks like. It provides some context but leaves gaps.

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 perfectly concise with just two sentences that each earn their place. The first sentence states the core functionality and key feature (variable piping), while the second provides essential context about available services. No wasted words, well-structured.

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?

Given the tool's complexity (batch execution with variable piping across multiple services) and no output schema, the description is somewhat incomplete. It explains the what and how but doesn't describe the return values, error formats, or provide examples of the piping syntax in action. For a powerful batch execution tool, more guidance would be helpful.

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 100%, so the schema already documents all parameters thoroughly. The description adds value by explaining the variable piping mechanism ('$results[N].path.to.value') and listing available services, which helps understand the operations parameter context. However, it doesn't add significant semantic details beyond what the schema provides.

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 clearly states the tool's purpose with specific verbs ('execute a batch of operations sequentially') and resources ('operations'), distinguishing it from siblings like execute_single (single operation) or execute_plan (predefined plan). It explicitly mentions the key feature of variable piping, which sets it apart.

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?

The description provides clear context for when to use this tool ('execute a batch of operations sequentially with variable piping') and lists available services, but doesn't explicitly state when NOT to use it or name specific alternatives among siblings. It implies usage for multi-step workflows but lacks explicit exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/For-Sunny/galaxy-brain'

If you have feedback or need assistance with the MCP directory API, please join our Discord server