Skip to main content
Glama

Render project

render_project
Destructive

Renders a Kdenlive project to a local video file using an installed preset and validates the result with ffprobe.

Instructions

Render a Kdenlive project to a new local file with an installed Kdenlive preset (kdenlive --render, or MLT's melt: see engine), then validate the output with ffprobe. Blocks until the render ends or timeout_seconds elapses. Never modifies the project or its media. Refuses an existing output unless overwrite=true (the old file is replaced only after a successful, validated render), unknown presets, and projects with missing media unless allow_missing_media=true. Renders the file on disk, not unsaved changes in a running Kdenlive.

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": "render_project"
  }
}

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
errorNo
notesNo
stateYes
engineNo'kdenlive' (kdenlive --render) or 'melt' (MLT directly, see notes).kdenlive
outputYes
presetYes
projectYes
log_tailNo
sequenceYes
warningsNo
exit_codeNo
validationNoffprobe check of the produced file (separate from completion).
project_sha256Yes
elapsed_secondsNo
process_completedYesThe render process exited with status 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.3.0
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / engine
      Added value: +{
      +  "default": "auto",
      +  "description": "'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.",
      +  "enum": [
      +    "auto",
      +    "kdenlive",
      +    "melt"
      +  ],
      +  "title": "Engine",
      +  "type": "string"
      +}
    • addedOutput schema / properties / engine
      Added value: +{
      +  "default": "kdenlive",
      +  "description": "'kdenlive' (kdenlive --render) or 'melt' (MLT directly, see notes).",
      +  "title": "Engine",
      +  "type": "string"
      +}
    • changedOutput schema / properties / process_completed / description
      Previous value: -"Kdenlive's render process exited with status 0."New value: +"The render process exited with status 0."
  2. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the destructiveHint=true annotation: it specifies exactly what is destroyed (the existing output, and only after a successful validated render), that the project and media are never modified, blocking/timeout behavior, and the preconditions that cause refusal. That is precisely the information an agent needs before authorizing a destructive synchronous operation.

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?

Four dense sentences, front-loaded with the action and mechanism, followed by timing, safety guarantees, refusal conditions, and the stale-state caveat. No filler or redundant restatement of the name.

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?

For a destructive, blocking, 7-parameter tool with an output schema, the definition covers inputs' mutual effects, failure preconditions, side effects, and timing. Return-value details are correctly left to the output schema.

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 already 100%, so the schema carries engine/preset/timeout semantics; the description nonetheless adds value by tying failure modes to parameters (unknown preset refusal, overwrite safety ordering, allow_missing_media gate) and by pointing at list_render_presets for valid preset names. It adds little about timeout_seconds or path beyond what the schema states.

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 ("Render a Kdenlive project to a new local file") plus the execution mechanism (kdenlive --render or melt) and post-step validation with ffprobe. It is clearly distinguishable from asynchronous siblings like start_render by the explicit "Blocks until the render ends" wording.

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?

Gives concrete when-to-use context: it blocks synchronously, renders the on-disk file rather than unsaved editor state, and refuses overwrites, unknown presets, and missing media unless explicitly allowed. It never names a sibling alternative (e.g. start_render for non-blocking jobs), so the agent must infer that trade-off from sibling names.

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