Skip to main content
Glama

clip_split

Destructive

Split a timeline item at a chosen absolute frame into two items; this destructive edit requires explicit confirmation and does not preserve grades, effects, or transforms.

Instructions

Split a timeline item at an absolute timeline frame into two items. Implemented as a re-placement (remove item, append source range again) because the API has no direct trim/move/split: grades, effects and transforms on the original item are not carried over. DESTRUCTIVE: requires confirm: true after explicit user confirmation.

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": {
      "frame": "<frame>"
    },
    "name": "clip_split"
  }
}

Input Schema

NameRequiredDescriptionDefault
frameYes
itemIdNoTimeline item unique id (from timeline_get_clips)
confirmNoDestructive operation: must be true, and only after the user explicitly confirmed it. Without it the tool only explains what it would do.
timelineNoTimeline name or id (default: current timeline)
itemIndexNo1-based position of the clip on the track (transitions are not counted)
trackTypeNovideo
trackIndexNo

Output Schema

NameRequiredDescriptionDefault
okYesTrue only when DaVinci Resolve confirmed the operation.
dataNo
toolYes
errorNo
sourceNoWhere the result came from: the real DaVinci Resolve, the mock adapter (tests), or the server alone.
statusYes
messageYes
warningsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4/5.0
Behavior5/5

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

Goes well beyond the destructiveHint annotation by disclosing the implementation strategy (remove and re-append rather than a true split) and the concrete consequence that grades, effects and transforms are lost. That is exactly the non-obvious side effect an agent needs before invoking a destructive operation.

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?

Two tight sentences: the operation comes first, then the destructive caveat, then the confirmation requirement. No filler, and the most dangerous information is not buried.

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 destructive 7-parameter tool, the definition covers the operation, the data-loss consequence and the confirmation gate, and an output schema exists so return values need no explanation. Minor gaps remain around item resolution precedence, but the essential calling information is present.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 57%, and the description reinforces only two of seven parameters: the split frame and the confirm gate ('requires confirm: true after explicit user confirmation'). Resolution of itemId versus itemIndex, and trackType/trackIndex targeting, is left entirely to the schema.

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

Purpose4/5

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

The opening sentence gives a specific verb and resource ('Split a timeline item ... into two items') plus the split point semantics (absolute timeline frame), so the operation is unambiguous. It stops short of naming contrasting siblings such as clip_set_in_out or clip_set_duration, which would have made the boundary fully explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the description of what splitting does, and the DESTRUCTIVE/confirm requirement sets a precondition, but there is no guidance on when to choose this over adjacent tools like clip_set_in_out or clip_duplicate. Alternatives are left to inference.

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

Deploy Server

Other Tools