Skip to main content
Glama

execute_pipeline

Run multi-agent pipelines to process input content with configurable modes, iteration limits, and approval checkpoints for controlled execution.

Instructions

Execute a pipeline with multiple agents.

Args: agents: List of agent names input_content: Input content to process mode: Pipeline mode (sequential, iterative, parallel) context: Optional context from Claude max_iterations: Maximum iterations for iterative mode confidence_threshold: Confidence threshold for stopping require_approval_after: Pause iterative mode for human approval after N iterations. Defaults to None (disabled) so max_iterations is the real bound; pass an int to opt into an approval checkpoint.

Returns: Pipeline execution results

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNosequential
agentsYes
contextNo
input_contentYes
max_iterationsNo
confidence_thresholdNo
require_approval_afterNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/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 mentions one behavioral nuance (require_approval_after pauses for human approval) but does not clarify whether execution is synchronous or asynchronous, whether it modifies system state, or what the result contains. This is insufficient for a tool that orchestrates multiple agents, so it scores a 2.

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

Conciseness3/5

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

The description is formatted as a docstring with Args and Returns sections, which is organized. However, it is somewhat verbose, particularly in the require_approval_after explanation, which could be more succinct. It is not minimal but not overly long either. A 3 reflects an adequate structure with room for tightening.

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?

Despite covering all parameters, the description omits crucial context: the return format is vague ('Pipeline execution results'), there is no mention of error handling, concurrency, or whether the pipeline can be interrupted. Given the tool's complexity (7 params, no output schema), an agent lacks enough to know what to expect or how to handle failures. This is incomplete, scoring a 2.

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

Parameters5/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. It thoroughly explains each parameter: agents ('List of agent names'), input_content, mode ('sequential, iterative, parallel'), context ('Optional context from Claude'), max_iterations, confidence_threshold, and require_approval_after with a detailed note on defaults and behavior. This greatly exceeds what the schema provides, earning a 5.

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?

The description states a clear action ('Execute a pipeline') and resource ('with multiple agents'), which conveys the tool's purpose. It is distinguishable from siblings like execute_agent (which presumably handles a single agent) and list_agents, but it does not explicitly name the alternative. A 4 is appropriate because it's specific but lacks direct sibling differentiation.

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?

No guidance is provided on when to use this tool versus alternatives. The description does not mention conditions like 'use this for multi-agent orchestration' or exclude cases for single-agent execution. An agent would have to infer usage from the parameter list. This lacks explicit when/when-not guidance, receiving a 2.

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