Skip to main content
Glama

Depot MCP by usefulapi

Cancel a CI run

depot_ci_cancel_run
Destructive

WRITE — stops work in progress. Cancel a queued or running Depot CI run and all of its unfinished workflows, jobs and attempts. Cancelled jobs can be retried afterwards with depot_ci_retry_failed_jobs. Depot: CIService/CancelRun.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
run_idYesCI run id, from depot_ci_list_runs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare destructiveHint=true, so the description carries real weight and delivers it: it says work in progress is stopped, that cancellation cascades to all unfinished workflows/jobs/attempts, and that cancelled jobs remain retryable. It omits permission requirements and behavior on an already-finished run, but the destructive scope is well disclosed.

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?

Three tightly packed sentences, front-loaded with the 'WRITE — stops work in progress' signal so the destructive nature is the first thing read. Every sentence carries distinct information: mutation semantics, scope, and recovery path.

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?

For a single-parameter, no-output-schema mutation, the description covers the essentials an agent needs: it is a write, its cascade scope, and the follow-up retry tool. Only edge-case behavior (cancelling an already-completed run, idempotency) is left unaddressed.

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%, with run_id already documented as 'CI run id, from depot_ci_list_runs.' The description adds no format, sourcing or validation detail beyond the schema, so the baseline of 3 applies; 'Depot: CIService/CancelRun' is an internal endpoint reference, not parameter guidance.

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?

States a specific verb ('Cancel') plus resource ('a queued or running Depot CI run') and enumerates the blast radius: all unfinished workflows, jobs and attempts. This clearly distinguishes it from sibling read tools like depot_ci_get_run_status and from the retry siblings, which restore rather than stop work.

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?

Establishes context by naming the qualifying states ('queued or running') and points to depot_ci_retry_failed_jobs as the recovery path after a cancellation. It does not state when NOT to cancel (e.g. already-completed runs) or how it relates to per-job cancellation via depot_ci_retry_job, so it stops short of explicit alternatives.

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.