Skip to main content
Glama

Remove effect

remove_effect
Destructive

Remove a clip effect by index from a Kdenlive project and save the edited copy to a destination file, leaving the source project unchanged.

Instructions

Remove the clip's effect at index (any effect). 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>",
      "destination": "<destination>"
    },
    "name": "remove_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).
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.7/5.0
Behavior4/5

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

Goes beyond the annotations (destructiveHint=true, readOnlyHint=false) by explaining that the source file is never modified and the result goes to `destination` under the save_project_copy overwrite rules, which materially changes how an agent plans the call. It does not warn that removing an effect shifts the indices of later effects.

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 with the core action and target front-loaded, and no filler. The aside about video parts of an audio/video pair is slightly tangential but plausibly useful domain context.

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 an output schema, full parameter coverage and safety annotations, the missing piece is mostly behavioral detail around index shifting and failure modes. What is present covers the essential contract: index source, revision guard, and non-destructive destination write.

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 100%, so `path`, `clip`, `index`, `revision`, `destination` and `expected_sha256` are already fully documented structurally. The description adds only the relationship between destination and the save_project_copy rules rather than new meaning for individual parameters, so the baseline 3 applies.

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 and resource ('Remove the clip's effect at `index`') and clarifies that any effect type can be targeted, which is more than a restatement of the name. It does not explicitly contrast itself with add_effect/update_effect, so an agent must infer the boundary from the verb alone.

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

Usage Guidelines3/5

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

Usage is only implied: you remove an effect when you have an index from get_timeline. The note that 'video effects go on the video part of an audio/video pair' gives a small targeting hint, but there is no explicit guidance on when to prefer remove_effect over update_effect, or what to do if you only want to change parameters.

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