Skip to main content
Glama

Update effect

update_effect
Destructive

Change a clip effect's parameter values by index in a Kdenlive project and write the updated copy to a destination path; animated effects with keyframes are refused.

Instructions

Change parameters of the clip's effect at index; animated parameters (several keyframes) are refused. 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>",
      "index": "<index>",
      "params": "<params>",
      "destination": "<destination>"
    },
    "name": "update_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.
indexYesPosition of the effect in the clip's `effects` (get_timeline).
paramsYesParameter values by name (see list_effects for names, units, ranges).
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 destructiveHint=true, idempotentHint=false and readOnlyHint=false, so the safety profile is covered. The description adds real value on top: the source file is never modified, the result goes to `destination` under save_project_copy semantics, and animated parameters are rejected. It stops short of describing failure modes beyond the animated-parameter refusal.

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 compact sentences with the core action front-loaded, followed by refusal condition and write semantics. The phrase 'with the save_project_copy rules' is a compressed pointer that assumes the agent knows or will look up that tool, which is efficient but slightly under-explicit.

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 destructive mutation tool, the description covers the essential contract: what changes, what is refused, and where output lands. The presence of an output schema removes the need to explain return values, leaving only minor gaps around revision/expected_sha256 interaction, which the schema already documents.

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%, so every parameter including clip, revision, destination and expected_sha256 is already documented in the schema. The description echoes `index` and `destination` but contributes no new syntax, format, or defaulting detail beyond what structured fields provide.

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?

The verb+resource is specific: 'Change parameters of the clip's effect at `index`', which implicitly separates it from add_effect/remove_effect by describing a parameter mutation of an existing effect. No sibling is named, so the differentiation is inferable rather than explicit.

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?

Usage context is clear (modify parameters of an existing effect) and two preconditions are spelled out: animated/keyframed parameters are refused, and video effects must target the video part of an A/V pair. It does not explicitly route agents to add_effect/remove_effect or list_effects for discovery, so exclusions are absent.

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