Skip to main content
Glama

Move clip

move_clip
Destructive

Reposition a timeline clip to a target frame and optionally another track of the same kind, writing the edited project to a destination without rippling or overwriting; overlaps fail.

Instructions

Move a clip to frame start, optionally to another track of the same kind. Positions are frames at the project rate; nothing ripples and nothing is overwritten (overlaps fail). A clip grouped with its audio/video counterpart is edited together with it. 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>",
      "start": "<start>",
      "destination": "<destination>"
    },
    "name": "move_clip"
  }
}

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.
startYes
trackNo
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

A4.1/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=false), the description discloses the important consequences: no ripple, no silent overwrite because overlaps fail, grouped counterpart clips are edited together, and the source file is not modified because output goes to `destination`. That is exactly the value-add expected of a description on a destructive mutation tool.

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 with zero filler: the core action and target first, then the no-ripple/no-overwrite guarantee, then the grouping caveat, then the write target. Every sentence carries information an agent needs before calling.

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 edit tool with an output schema and annotations, the description covers the operational essentials an agent needs: unit semantics, overlap failure, grouped clips, and destination writing. Minor gaps remain around the `revision` refusal and the `overwrite` flag, but both are documented in the 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 78%, which sets a baseline of 3, and the description improves on that by explaining units for `start` (frames at the project rate), the constraint on `track` (same kind only), and the source-vs-destination semantics of `destination`. It does not touch `overwrite`, `sequence`, or `revision`, which the schema already documents, so it stops short of 5.

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 definition opens with a specific verb and resource ('Move a clip to frame `start`') and bounds the scope ('optionally to another track of the same kind'). It never names a sibling tool such as trim_clip or insert_clip, so it earns a 4 rather than a 5, though the 'nothing ripples' clause implicitly separates it from ripple-style edits.

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 context is implied through behavior statements: moving does not ripple, overlaps fail, and grouped audio/video moves along with the clip. There is no explicit 'use this instead of X when...' routing against the numerous sibling edit tools (trim_clip, split_clip, insert_clip), so an agent must infer the boundary itself.

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