Skip to main content
Glama

Duplicate clip

duplicate_clip

Copy a timeline clip to another time or track of the same type while preserving its source range, effects, keyframes, and speed. Choose overwrite or insert mode to place the duplicate.

Instructions

Copy a timeline clip to another time and/or another track of the same type, with its source range, effects, keyframes and speed (like Alt-dragging it). Default time: right after the original; default track: the original's. mode "overwrite" (default) replaces what is at the destination, "insert" pushes that track's later clips right. Only the addressed clip is copied: duplicate its linked audio/video with a second call. Returns the new clip, the original and effects_copied (false only if Premiere could not copy and the source was placed again without effects).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "duplicate_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNo"overwrite" (default) or "insert".
timeNoTimeline start of the copy, in seconds. Default: the end of the original clip.
clip_idNoStable clip id (from get_sequence_structure / list_clips). Preferred.
clip_indexNo0-based index of the clip in its track's clip list, as reported by list_clips / get_sequence_structure. Usually time order, but a moved clip can keep its old index, and indices shift after edits: prefer clip_id.
track_typeNoUsed with track_index + clip_index when clip_id is not given. Default "video".
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
track_indexNo0-based track index (0 = V1 or A1).
sequence_nameNoSequence name; used only when sequence_id is not given.
target_track_indexNo0-based track for the copy (same type as the original). Default: the original's track.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations, it discloses that overwrite (the default) replaces whatever sits at the destination while insert shifts later clips right, and it explains the effects_copied return flag including the degraded fallback where the source is placed without effects. The overwrite behavior sits somewhat uneasily with destructiveHint=false, but the description is the party doing the disclosing here, which is precisely the added value expected over the annotation set.

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-loaded with the core action, then defaults, then mode semantics, then the linked-clip restriction, then return values – a sensible order with no filler sentences. It is dense and parenthetical-heavy, which makes it read as one long block rather than scannable lines, but every clause carries 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 9-parameter, zero-required mutation tool with no output schema, the description covers purpose, defaults, mode effects, the linked A/V limitation, and the shape of the return value including a failure-degradation case. An agent has enough to call it correctly and interpret the result without further guessing.

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?

With 100% schema description coverage the schema already documents all 9 parameters, including the clip_id vs clip_index preference and the enum values. The description adds meaning mainly through default behavior (time defaults to the original's end, target track defaults to the original's) and the operational consequences of 'overwrite' vs 'insert', which is modest but real value on top of the schema baseline.

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 ('Copy a timeline clip to another time and/or another track') plus exactly what is carried over (source range, effects, keyframes, speed), and grounds it with the 'like Alt-dragging it' analogy. The copy semantics and the 'only the addressed clip is copied' caveat cleanly separate it from move_clip / move_clip_to_track and from duplicate_sequence.

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?

Explicitly documents the default destination (right after the original, on the original's track), the meaning of both modes, and a concrete usage constraint: linked audio/video must be duplicated with a second call. It stops short of naming when to prefer a sibling (e.g., insert_clip/overwrite_clip for non-duplicate placement), so it doesn't reach full when/when-not guidance.

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