Skip to main content
Glama

cancel_job

Cancel a queued background job by ID; running jobs in DaVinci Resolve cannot be interrupted, so use render cancellation for active renders.

Instructions

Cancel a queued background job. A job already running inside DaVinci Resolve cannot be interrupted; the result says so (use render_cancel for renders).

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": {
      "jobId": "<jobId>"
    },
    "name": "cancel_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdYesId returned by a tool called with background: true

Output Schema

NameRequiredDescriptionDefault
okYesTrue only when DaVinci Resolve confirmed the operation.
dataNo
toolYes
errorNo
sourceNoWhere the result came from: the real DaVinci Resolve, the mock adapter (tests), or the server alone.
statusYes
messageYes
warningsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the description adds genuine value by disclosing the failed-cancel behavior for running jobs and that the result reports this. It stops short of saying whether a cancelled job's outputs are discarded or whether re-queuing is possible, which would fully close the behavior gap.

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?

Two short sentences with no filler; the scope and the running-job limitation are front-loaded, and the sibling pointer is parenthetically condensed.

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?

With annotations, a fully documented single parameter and an output schema, the description covers what an agent needs before calling. Only the post-cancel state (what happens to a job's work when cancelled) is left unstated, a minor gap given the result is reported by the tool.

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 100% and the jobId property already explains it comes from a call with background: true, so the description adds no parameter-level meaning. Baseline 3 applies because the schema carries this dimension.

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 and resource ('Cancel a queued background job') and narrows scope with 'queued', which excludes jobs already running. It also names the sibling to use instead for renders (render_cancel), so the agent can distinguish it without opening another schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Covers when to use it (queued background jobs), the key when-not (a job already running inside DaVinci Resolve cannot be interrupted), and the alternative (render_cancel for renders). The routing decision is fully specified in the text.

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

Deploy Server

Other Tools