Skip to main content
Glama

Remove guide or clip marker

remove_marker
Destructive

Remove a timeline guide or clip marker at a specified position in a Kdenlive project, then write the updated project to a destination file.

Instructions

Remove the marker at position. 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": "remove_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.
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).
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?

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description adds useful behavioral context: only one marker exists per position, and output is written to `destination` following `save_project_copy` rules. It does not explain what happens if no marker exists at the position, leaving a minor gap.

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?

The description is three focused sentences, front-loaded with the action and followed by the mode distinction and write behavior. Every sentence contributes directly to correct invocation.

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?

Given the destructive annotations, rich schema, and existing output schema, the description is complete enough to call the tool correctly. It explains marker scope and destination semantics, though it could mention behavior when the marker does not exist.

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 high at 86%, so the schema carries most parameter documentation. The description still adds meaningful semantics beyond the schema by explaining that `position` is interpreted in timeline frames without `bin_id` and in source frames with `bin_id`, and that clip markers appear on every instance.

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?

The description uses a specific verb and resource ('Remove the marker at `position`') and clearly distinguishes the two removal modes: timeline guide vs. clip marker. An agent can immediately understand what is being removed and how the target is identified.

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?

It clearly states the condition that selects each mode: omit `bin_id` for a timeline guide, include it for a clip marker. It does not explicitly advise when to use this tool instead of `update_marker` or `list_markers`, but the core usage context is unambiguous.

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