Skip to main content
Glama

clip_insert

Places a clip at a record frame on an empty track area; since ripple insert is unavailable, move later clips first or choose an empty track to make room.

Instructions

Place a clip at a record frame on a track that is empty there. The API has no ripple insert: to make room, move later clips first (clip_move) or use an empty track.

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": {
      "clip": "<clip>",
      "recordFrame": "<recordFrame>"
    },
    "name": "clip_insert"
  }
}

Input Schema

NameRequiredDescriptionDefault
clipYesMedia pool clip id, exact clip name, or file path
timelineNoTimeline name or id (default: current timeline)
mediaTypeNoOnly video or only audio of the clip
sourceEndNoSource frame after the last one (exclusive)
trackIndexNo
recordFrameYes
sourceStartNoFirst source frame (inclusive)

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
Behavior4/5

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

Annotations only declare the safety profile (non-read-only, non-destructive, closed-world), and the description adds a genuinely important behavioral fact beyond that: there is no ripple insert, so later clips are not shifted automatically. That is exactly the kind of non-obvious behavior an agent needs before calling. It omits what actually happens when the track is not empty, which would complete the picture.

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 sentences, zero padding, with the placement constraint front-loaded and the workaround immediately after. Every clause carries actionable information.

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?

The tool is a mutation with a notable precondition, and the description covers that precondition plus the ripple-insert gap; an output schema exists so return values need no explanation. The only meaningful omission is what occurs on a non-empty track (error vs. overwrite), which is a real but secondary gap.

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?

At 71% schema description coverage, the schema already documents clip, timeline, mediaType, and source range. The description reinforces only recordFrame placement and the emptiness precondition on the track; it adds no meaning for trackIndex, sourceStart/sourceEnd exclusivity, or how mediaType interacts with placement. Baseline 3 is appropriate since the schema carries most of the weight.

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 description gives a specific verb and resource ('Place a clip') plus a real scoping constraint ('at a record frame on a track that is empty there'), which lets an agent distinguish it from free-form placement tools like clip_move or clip_append. It stops short of explicitly contrasting with other insert-family siblings such as clip_overwrite or clip_add, so it is clear but not fully differentiated.

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?

Usage context is explicit: the target location must be empty, and the description names clip_move as the alternative path when space must be made. It does not spell out the failure mode or a positive 'use this when you simply want to drop a clip into a gap' statement, but the guidance is clear enough to route most calls correctly.

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