Skip to main content
Glama

run_pipeline

Execute multi-step AI agent pipelines by providing a pipeline ID and initial input. Each agent runs in sequence, passing output between them, and returns a run ID for status tracking.

Instructions

Execute an AI agent pipeline with an initial input. The pipeline will run each agent in sequence, passing output between them. Returns a run ID you can use to check status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pipeline_idYesThe pipeline ID to run. Use list_pipelines to see available options.
inputYesThe initial input passed to the first agent (e.g. a GitHub issue URL, task description, or any text).
api_keyNoYour Project Hub API key (phub_...). Free plan: 10 runs/month. Get one at https://projecthub.dev/api-key
Behavior3/5

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

With no annotations, the description carries full burden. It indicates the tool is asynchronous (returns run ID) and runs agents sequentially, but lacks details about error handling, blocking behavior, rate limits, or side effects. For a mutation tool, more transparency is expected.

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?

The description is concise (two sentences) and front-loaded with purpose. It could be slightly more structured (e.g., listing steps), but overall efficient and clear.

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?

The description explains the return value (run ID) and indicates status checking is possible. However, it doesn't mention how to check status (e.g., get_run_status tool) or what happens on failure. For an async pipeline, this is good but not fully comprehensive.

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

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so baseline is 3. The description adds valuable context: pipeline_id references list_pipelines, input gives examples, and api_key explains where to obtain it. This goes beyond the schema alone.

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 verb 'execute', the resource 'AI agent pipeline', and the behavior (sequential agent execution with output passing). It also mentions the return value (run ID) and distinguishes from siblings implicitly by specifying 'pipeline' vs 'agent'.

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?

The description provides a clear use case but does not explicitly state when not to use this tool or guide towards alternatives like run_agent for single agents. It does mention using list_pipelines to get pipeline IDs, which is helpful.

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/atikahjapry/project-hub-mcp'

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