Skip to main content
Glama

Remove crossfade

remove_mix
Destructive

Removes the crossfade at the end of a clip, restoring both clips to the original cut, and writes the result to a destination file.

Instructions

Remove the crossfade at the end of a clip; both clips go back to the original cut. 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>",
      "destination": "<destination>"
    },
    "name": "remove_mix"
  }
}

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.
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.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered; the description adds real value by disclosing the outcome ('both clips go back to the original cut') and the write model (result goes to `destination`, governed by save_project_copy rules). It stops short of describing failure modes, such as a clip with no crossfade to remove, or the overwrite/expected_sha256 preconditions.

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?

Two sentences, zero filler, and the core action is front-loaded before the write-target detail. Every clause carries information an agent cannot get from the name alone.

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 present, return values need not be explained, and a 100%-covered 7-parameter schema handles the argument detail. The description covers what changes and where output lands, leaving only edge-case behavior (no existing crossfade, refusal conditions) unstated.

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 every parameter is already documented with meaning (clip ref format, revision sha256, destination defaults, overwrite). The description only alludes to `destination` and adds no syntax or format detail beyond the schema, which is the expected baseline when the schema does the heavy lifting.

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 crossfade at the end of a clip' — plus the resulting state ('both clips go back to the original cut'). That is far more concrete than the bare title, though it never names the inverse sibling (add_mix) or otherwise differentiates itself from related edit tools.

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 implied by the object it targets (a crossfade at a clip boundary), and the destination is clarified by pointing at save_project_copy rules. There is no explicit when-to-use/when-not guidance, no mention of what happens if the clip has no crossfade, and no precondition statement beyond the schema.

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