Skip to main content
Glama

Run tool pipeline

pipeline
Destructive

Run 1-8 tools in sequence as one unit. create(steps=[{"tool","input","name"}]): an input may be {"from": 1} (an earlier step's number or name) for its output file(s), {"from": 1, "file": 2} for one of them, or {"from": 1, "result": "path.to.value"} for a value in its result. All steps are checked before any runs. get shows status, percent and every step's result and files; when done, result and files are the last step's. wait blocks up to wait_seconds (default 20) until it finishes or the next event after since. A finished pipeline's ID works as a file reference. create takes token: the read_token of a private input file.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>"
    },
    "name": "pipeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
sinceNo
stepsNo
tokenNo
actionYes
wait_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=false), the description discloses genuinely useful behavior: all steps are validated before any execution begins, steps execute sequentially as one unit, wait blocks until completion or the next event after `since`, and a finished pipeline ID is itself usable as a file reference. The notable gap is that cancel and delete are never described, so an agent gets no information about what teardown does or whether partial state survives.

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 core capability is front-loaded in the first sentence and every subsequent clause adds concrete information about actions or reference syntax. The prose is dense and compressed into a run-on style that occasionally reads as shorthand, but there is no filler.

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?

For a six-parameter, destructive, no-output-schema orchestration tool, the description covers creation, polling, and waiting well but leaves cancel/delete undefined and says nothing about partial-failure outcomes or what create returns. An agent could call create correctly but would be guessing at teardown and error behavior.

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?

With 0% schema description coverage and six parameters, the description carries the full burden and largely succeeds: it explains the steps object shape (tool/input/name), the three reference forms ({"from": n}, {"from": n, "file": k}, {"from": n, "result": "path"}), wait_seconds semantics with a default of 20, `since` event semantics, and token as the read_token of a private input file. The action enum's cancel and delete values are the only unexplained parameters.

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 opening sentence states a specific verb and resource ('Run 1-8 tools in sequence as one unit'), which immediately distinguishes this orchestration tool from the single-call sibling 'run_tool'. The follow-up text names three of the five actions (create, get, wait) but never mentions cancel or delete, so the full scope of the tool is not evident from the description alone.

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?

Guidance is implied through the per-action narrative: create builds a pipeline, get inspects status, wait blocks up to wait_seconds. However, there is no statement of when to use a pipeline versus calling run_tool repeatedly or using 'job'/'schedule', and the cancel/delete actions in the enum receive no usage context at all.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources