Skip to main content
Glama

Add effect

add_effect
Destructive

Append a verified effect to a Kdenlive clip with optional parameters; write the updated project to a destination without modifying the source and check revision to prevent stale edits.

Instructions

Append a verified effect (list_effects) to a clip, with optional parameters; omitted ones take their defaults. Video effects go on the video part of an audio/video pair. The result is written to destination with the save_project_copy rules.

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>",
      "clip": "<clip>",
      "revision": "<revision>",
      "effect": "<effect>",
      "destination": "<destination>"
    },
    "name": "add_effect"
  }
}

Input Schema

NameRequiredDescriptionDefault
clipYesClip ref from get_timeline, '<track>@<start>' (e.g. 'V1@90'). It changes when the clip moves: read the timeline again after an edit.
pathYesAbsolute path of a .kdenlive project file on this machine.
effectYesEffect id from list_effects, e.g. 'crop'.
paramsNo
revisionYessha256 of the project file (file.sha256 from get_timeline) that the clip ref comes from; the edit is refused if the file changed since.
sequenceNoSequence uuid or name; default: active sequence.
overwriteNoAllow replacing an existing destination file.
destinationYesAbsolute path of the .kdenlive file to write (the source by default is never modified; see save_project_copy for the overwrite rules).
expected_sha256NoRequired to write over the source: its sha256 as last read. Tools that take `revision` use it when this is omitted.

Output Schema

NameRequiredDescriptionDefault
audioNo
mediaNo
savedYes
titleNo
trackNo
relinkNo
effectsNo
markersNo
timelineNo
subtitlesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructive=true and non-idempotent, but the description adds the important safety context that the source project is never modified by default, that output goes to `destination`, and that save_project_copy's overwrite rules apply. It also discloses the revision-based refusal behavior, which is not visible in annotations.

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?

Three short sentences, front-loaded with the action and followed by placement and write-target details. Tight overall, with only minor redundancy in the 'optional parameters; omitted ones take their defaults' clause.

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 9-parameter mutation tool with rich annotations and an output schema, the description covers the essential workflow (list_effects → add_effect → write to destination) and the revision/overwrite safety model. Remaining details (sequence selection, expected_sha256) are already documented in the schema, so nothing critical is missing.

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 89%, so the schema already explains path, clip, effect, revision, sequence, overwrite, destination and expected_sha256 in detail. The description adds only that omitted parameters take defaults, plus the A/V-pair placement hint relevant to `clip` — modest value over the schema baseline.

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?

States a specific verb+resource ('Append a verified effect ... to a clip') and clarifies scope with the source of valid effects (list_effects) and the A/V-pair caveat. It implicitly distinguishes itself from update_effect/remove_effect by the word 'Append', though it never names those siblings explicitly.

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 real preconditions: the effect must come from list_effects, the clip must come from a timeline read with a matching revision, and video effects belong on the video part of an A/V pair. It does not explicitly route the agent to update_effect or remove_effect when an effect already exists, so the alternative-selection guidance is incomplete.

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