Skip to main content
Glama

Save project copy

save_project_copy
Destructive

Write a verified copy of a Kdenlive project to a new .kdenlive file, rewriting relative media paths and refusing unsafe overwrites to prevent data loss.

Instructions

Write a verified copy of a Kdenlive project to another .kdenlive file, preserving all project data (unknown metadata included). Relative media paths are rewritten so they still work from the destination folder. Refuses to overwrite an existing file unless overwrite=true (a timestamped backup is kept), refuses to write over the source unless overwrite=true and expected_sha256 (from inspect_project) match, and refuses if the source changed since it was read or the destination is open in Kdenlive.

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>",
      "destination": "<destination>"
    },
    "name": "save_project_copy"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute path of a .kdenlive project file on this machine.
overwriteNoAllow replacing an existing file.
destinationYesAbsolute path of the .kdenlive to write.
expected_sha256NoRequired to write over the source: its sha256 as last read.

Output Schema

NameRequiredDescriptionDefault
notesYes
backupYesCopy of the replaced file, when one was replaced.
sha256Yes
sourceYes
changesYesHuman-readable list of modifications applied.
writtenNoFalse when nothing changed and the destination already had this content: no write and no backup.
warningsYes
side_filesNoOther files written next to the project (e.g. subtitles), with it.
size_bytesYes
destinationYes
rebased_pathsYesReferences rewritten for the new location.
source_sha256YesRevision of the source that was edited.

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?

Goes well beyond the annotations: unknown metadata is preserved, relative media paths are rewritten for the destination folder, a timestamped backup is kept on overwrite, and it refuses when the source changed or the destination is open in Kdenlive. This matches destructiveHint=true and idempotentHint=false while explaining exactly what can be destroyed and under what guards.

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, then the media-path behavior, then the refusal rules, with no filler sentences. The final sentence packs three distinct refusal conditions into one long clause, which is dense but each clause carries necessary safety information.

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?

For a destructive mutation tool with four parameters and an output schema, everything an agent needs is present: preconditions, guards, side effects, and cross-tool dependency on inspect_project. Return values are correctly left to the output 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 100%, so the baseline is 3, but the description adds meaning: overwrite=true also implies a timestamped backup, and expected_sha256 is tied to a value obtained from inspect_project. That extra semantic link is genuinely useful beyond the schema text.

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 ('Write a verified copy of a Kdenlive project to another .kdenlive file') and immediately scopes it with what is preserved and rewritten. An agent can distinguish this from create_project or render_project without consulting any schema.

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?

Conditions for success and failure are stated explicitly (overwrite=true for existing files, overwrite=true plus expected_sha256 for the source file), and it points to inspect_project as the source of the hash. It does not explicitly contrast with sibling tools like create_project, so it falls short of a full when/when-not routing statement.

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