Skip to main content
Glama

Create project

create_project
Destructive

Create a new Kdenlive project file with one media clip at the timeline start, grouped video on V1 and audio on A1. Leave V2 free for overlays; replace existing files only with overwrite enabled.

Instructions

Create a new Kdenlive project file containing one media clip placed at the start of the timeline (video on V1, audio on A1, grouped). Like a new Kdenlive project, it has two video tracks (V1, V2) and two audio tracks (A1, A2): V2 is free for overlays and titles before any add_track. The project is modeled on Kdenlive 26.08 files and stays editable in Kdenlive. profile is an MLT profile name (see list_profiles) or 'auto' to use the standard profile matching the media. Refuses to replace an existing file unless overwrite=true; writes atomically and never modifies the media. Media inside the project's directory is stored with a relative path.

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": {
      "destination": "<destination>",
      "media_path": "<media_path>"
    },
    "name": "create_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
profileNoMLT profile name, or 'auto' to match the media.auto
overwriteNoReplace an existing project file.
media_pathYesAbsolute path of an audio or video file.
destinationYesAbsolute path of the new .kdenlive file.

Output Schema

NameRequiredDescriptionDefault
mediaYes
notesYes
tracksYesTracks that received the clip, e.g. ['V1', 'A1'].
profileYes
projectYes
warningsYes
frame_rateYes
project_sha256Yes
kdenlive_formatYes
media_referenceYesPath stored in the project (relative when possible).
clip_duration_framesYes

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 declare destructiveHint=true and non-idempotent, and the description adds meaningful context beyond them: it refuses to replace existing files unless overwrite=true, writes atomically, and never modifies the source media. It also discloses relative-path storage for media inside the project directory, which is non-obvious write behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the core action and resulting artifact, then layers track layout, profile, overwrite, and path behavior. Every sentence carries information, though the track-layout sentence is dense and could be trimmed slightly without losing meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema available and full schema coverage, the description covers everything an agent needs: the created structure, profile selection, overwrite refusal, atomicity, media immutability, and path handling. Nothing material for correct invocation is missing.

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 100%, so the baseline is 3. The description still adds value: it explains that 'auto' matches the standard profile to the media (beyond the schema's short note), points to list_profiles for valid names, and clarifies the overwrite gating semantics for `destination`.

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 new Kdenlive project file') and immediately describes the resulting artifact: one media clip at the timeline start, video on V1, audio on A1 grouped, with V1/V2 and A1/A2 track layout. It is clearly distinguishable from siblings like add_media_to_bin or save_project_copy, which do not create a new project.

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 clear context for when this tool applies (creating a fresh project, before add_track for overlays) and routes the agent to list_profiles for valid `profile` values. It also states the overwrite precondition. It stops short of explicitly naming alternatives for cases where an existing project should be extended, so no full when-not clause exists.

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