Skip to main content
Glama

Start render job

start_render
Destructive

Start rendering a Kdenlive project in the background and immediately return a job ID, so you can poll status or cancel without blocking.

Instructions

Start rendering a Kdenlive project in the background and return a job id immediately. Same checks and guarantees as render_project (preset, output, missing media, atomic publication after validation). Poll get_render_job for the state (queued, running, succeeded, failed, cancelled) and cancel with cancel_render_job. Jobs live in memory and are stopped when the server exits.

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": {
      "path": "<path>",
      "output": "<output>"
    },
    "name": "start_render"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute path of a .kdenlive project file on this machine.
engineNo'kdenlive' runs kdenlive --render (Kdenlive 24.02+); 'melt' renders with MLT directly using the preset's arguments (not Kdenlive's own render path); 'auto' uses Kdenlive when it can, and melt for older Kdenlive or projects with subtitles.auto
outputYesAbsolute path of the file to create.
presetNoKdenlive preset name (see list_render_presets).MP4-H264/AAC
overwriteNoReplace an existing output file.
timeout_secondsNoStop the render after this.
allow_missing_mediaNoRender even if media files are missing.

Output Schema

NameRequiredDescriptionDefault
stateYes
job_idYes
outputYes
presetYes
resultNoFull result (validation, log tail) once the job has ended.
projectYes
progressNo
created_atYes
started_atNo
finished_atNo
progress_noteNo
queue_positionNo1 = next to start.
elapsed_secondsNo
timeout_secondsYes
cancel_requestedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

A4.7/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: background execution, the check/validation set (preset, output, missing media), atomic publication after validation, the full job state enumeration, and the durability caveat that jobs live in memory and die with the server. That durability warning is exactly the kind of non-obvious behavior an agent must know before relying on a job id.

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 sentences, front-loaded with the async contract, followed by equivalents, then follow-up routing and the retention caveat. No redundant or filler wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists so return-shape detail isn't needed, and the description still supplies the job id return, the polling model with valid states, cancellation path, and lifetime constraint. Nothing an agent needs to invoke and then manage the job is missing.

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 coverage is 100%, so baseline is 3, but the description adds meaning by tying parameters to behavior — preset and output are validated, and missing-media handling is tied to the allow_missing_media check — describing outcomes rather than restating field docs.

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 ('Start rendering a Kdenlive project') plus its key distinguishing trait: asynchronous execution that returns a job id immediately. That contrasts with the synchronous sibling render_project without needing either schema opened.

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?

Explicitly names the follow-up tools and the lifecycle: poll get_render_job, cancel with cancel_render_job, and equivalence of checks with render_project. It doesn't explicitly state when to prefer the synchronous render_project instead, so the async-vs-blocking choice is implied rather than spelled out.

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