Skip to main content
Glama
orchestra-hq

Orchestra MCP Server

Official
by orchestra-hq

Cancel Pipeline Run

cancel_pipeline_run
Destructive

Halt an executing pipeline run identified by its UUID, optionally forcing termination if the run stays stuck while ceasing.

Instructions

Cancel a running pipeline run by its ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNo
pipeline_run_idYesPipeline run ID.
X-Orchestra-Account-IdNoAct on this account rather than the one the credential resolves to. Omit it to use the credential's own account. An API key is issued to a single account, so it may only name that account; an OAuth token may name any account its grant covers.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered structurally. The description adds only that the run must be running, which is mild context. It omits the force-cancel scenario, the 400 rejection on premature force calls, and any idempotency or account-scoping behavior described in the schema.

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 a single front-loaded sentence with no waste. However, its extreme brevity for a destructive operation means it may be under-specified rather than perfectly concise.

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?

For a destructive cancel tool with no output schema, the description should surface the force-cancel nuance and account-scoping behavior that an agent needs before invoking. Those details live only in the schema, leaving the top-level description incomplete. The annotations cover safety but not operational context.

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 67%, with the force flag and account header documented in detail inside the schema itself. The description contributes only 'by its ID,' which restates the schema's pipeline_run_id description and adds no new parameter meaning. Since structured fields already do most of the work, a baseline 3 is appropriate.

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 specific verb and resource: cancel a running pipeline run, identified by its ID. This is clear enough for an agent to distinguish it from siblings like start_pipeline or pause_pipeline. It stops short of 5 because it does not clarify the relationship to the force-cancel path or contrast with any sibling explicitly.

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?

There is no guidance on when to use this tool versus alternatives such as pause_pipeline or start_pipeline, nor any prerequisite conditions. The description only says it cancels a running run, which the name already implies. No when/when-not information is provided.

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