Skip to main content
Glama

Add title

add_title
Destructive

Adds an editable text title clip to a Kdenlive video track with configurable text, font, position, color, and duration, then writes the project to a destination file.

Instructions

Create a text title (an editable Kdenlive title clip, not an image) and place it on a video track, usually one above the footage (add_track). Unicode and several lines (\n) are kept. Position: align x vertical presets inside 5 % margins, or the box's top-left x, y in pixels. The font must be installed (checked with fontconfig); font defaults to an installed sans font. The result gives the bin id, so insert_clip can place the same title again. 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>",
      "text": "<text>",
      "track": "<track>",
      "start": "<start>",
      "destination": "<destination>"
    },
    "name": "add_title"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
fontNo
pathYesAbsolute path of a .kdenlive project file on this machine.
textYesTitle text; \n starts a new line.
alignNocenter
colorNo#RRGGBB or #RRGGBBAA.#FFFFFF
startYesTimeline frame.
trackYesVideo track label, e.g. V2.
italicNo
outlineNoOutline width, pixels.
durationNo
sequenceNoSequence uuid or name; default: active sequence.
verticalNocenter
font_sizeNo
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).
outline_colorNo#RRGGBB or #RRGGBBAA.#000000
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.6/5.0
Behavior5/5

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

Annotations already mark this as a destructive, non-idempotent write, and the description adds the context that matters: the source project is never modified, the output is written to `destination` under save_project_copy rules, overwrite must be opted into, and the font must exist per fontconfig or the call fails. It also notes that the returned bin id enables reuse, which is behavior an agent must know to chain calls.

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 text is dense but every sentence carries distinct information: purpose, input preservation, positioning model, font requirement, return value, and write semantics. The core verb and the 'not an image' disambiguation are front-loaded, and there is no filler.

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 19-parameter mutation tool, the description covers the conceptually hard parts (positioning model, font availability, destination/write semantics, bin-id reuse) and an output schema exists to explain returns. Remaining gaps are minor styling parameters (color, outline, italic) that the schema already documents.

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 58%, so several parameters rely on the schema alone, but the description adds genuine meaning beyond it by explaining that `align` and `vertical` are preset placements constrained to 5% margins while `x`/`y` are absolute top-left pixel coordinates — a distinction the schema does not make. It also clarifies that `font` defaults to an installed sans font, tying the parameter to the fontconfig check.

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 ('Create a text title ... and place it on a video track') and pre-empts the obvious confusion with an explicit negation: 'an editable Kdenlive title clip, not an image'. That contrasts cleanly with siblings like add_media_to_bin or insert_clip.

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 practical placement guidance ('usually one above the footage (add_track)') and points to insert_clip for reusing the returned bin id, which is real when-to-use routing. It stops short of stating when this tool is the wrong choice, e.g. against add_media_to_bin for an existing image title.

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