Skip to main content
Glama

Update guide or clip marker

update_marker
Destructive

Move a Kdenlive timeline guide or clip marker, or change its comment, category, or duration; omitted fields stay unchanged and the edited project is saved to a destination file.

Instructions

Change the marker at position: move it (new_position), or change its comment, category or duration; omitted fields are kept. Without bin_id the marker is a timeline guide (position in timeline frames); with bin_id it is a clip marker on that bin clip (position in the clip's source frames, shown on every instance). Kdenlive keeps one marker per position. 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>",
      "position": "<position>",
      "destination": "<destination>"
    },
    "name": "update_marker"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute path of a .kdenlive project file on this machine.
bin_idNoBin clip id for a clip marker; omit for a timeline guide.
commentNo
categoryNo
durationNo
positionYes
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).
new_positionNo
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.4/5.0
Behavior4/5

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

Beyond the destructiveHint/write annotations, the description discloses meaningful traits: omitted fields are kept (partial update), clip markers appear on every instance of the source clip, Kdenlive enforces one marker per position (so a move can displace an existing marker), and the source project is never modified — the result goes to `destination`.

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?

Three tight sentences: the mutation first, the guide/clip branch second, the output-placement rule last. No filler and no repetition of schema or annotation content.

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 an 11-parameter destructive mutation it covers the hard parts — position units, partial-update semantics, and destination/overwrite routing via save_project_copy — and an output schema exists so return values need no explanation. The unmentioned `sequence` parameter is the one remaining hole.

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?

Adds semantics the schema does not carry: `position` is in timeline frames for guides but in the clip's source frames when `bin_id` is set, and `new_position` is a relocation rather than an edit. With 55% schema coverage, minor gaps remain (notably `sequence`, which the description never mentions).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (change the marker at `position`), enumerates the mutable attributes, and explicitly distinguishes the two modes it covers: timeline guide versus clip marker. An agent can tell it apart from add_marker/remove_marker without inspecting schemas.

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 a clear conditional rule for the core choice: omit `bin_id` for a timeline guide, supply it for a clip marker on that bin clip. It also points to save_project_copy for write/overwrite semantics. No explicit exclusion against sibling tools such as add_marker or remove_marker, so it falls short of a 5.

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