Skip to main content
Glama

Insert clip (ripple)

insert_clip

Inserts a project item into a sequence at a specified time and pushes later clips on all tracks to keep the timeline in sync.

Instructions

Insert a project item into a sequence at a time and push everything from that time onwards later by the item's length, on ALL tracks (clips that span the time are cut there), so the whole sequence stays in sync. With ripple_all_tracks=false only the tracks that receive material are pushed (what Premiere's scripting insert does natively). Picture goes to video_track_index and the item's audio, linked to it, to audio_track_index. Optionally use only part of the source (source_in / source_out, seconds of source time). Use overwrite_clip to replace what is there without shifting, place_clip_on_track to touch exactly one track, append_clip to add at the end. Returns the clips that were created (video and linked audio) and the sequence duration before and after.

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": {
      "time": "<time>"
    },
    "name": "insert_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeYesTimeline position of the insert, in seconds. Snapped to a frame.
item_idNoStable project item id (from list_project_items). Preferred.
item_nameNoItem name; the first match in the project is used.
item_pathNoPath in the Project panel, e.g. "Footage/Day 1/clip.mp4".
source_inNoStart of the part of the source to use, in seconds from the media start. Default: the item's current in point (normally 0).
source_outNoEnd of the part of the source to use, in seconds from the media start. Default: the item's current out point (normally the media end; the default still duration for a still).
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
sequence_nameNoSequence name; used only when sequence_id is not given.
audio_track_indexNo0-based audio track that receives the item's audio (0 = A1). Default 0.
ripple_all_tracksNoPush the later clips of every track (default true). false pushes only the tracks that receive material.
video_track_indexNo0-based video track that receives the picture (0 = V1). Default 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the ripple side effects (clips spanning the time are cut, later clips shift by the item's length), the default ripple_all_tracks=true vs false semantics, and the video/audio track routing including the linked-audio behavior. It also states what is returned (created video and linked audio clips, sequence duration before/after), which is essential given there is no output schema.

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?

Dense but front-loaded: the core behavioral contract comes first, alternatives last. Every sentence carries information, though the single unbroken paragraph is heavy and could be split for faster scanning.

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 moderately complex 11-parameter mutation with no output schema, the description covers side effects, track routing, source-range trimming, return values, and sibling disambiguation. An agent can call this correctly without further documentation.

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 real meaning: it clarifies that source_in/source_out are seconds of source time and optional, that picture goes to video_track_index while linked audio goes to audio_track_index, and that item selection can be by id/name/path. It does not, however, explain sequence_id/sequence_name precedence or the item identifier precedence beyond the schema's own hints.

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 plus the defining behavior — insert an item at a time and push everything later by the item's length on all tracks, cutting clips that span the point. This clearly separates it from move_clip, append_clip, and the other placement siblings.

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

Usage Guidelines5/5

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

Explicitly routes the agent to alternatives with their selecting conditions: overwrite_clip for replace-without-shift, place_clip_on_track for a single track, append_clip for end-of-sequence. It also explains the ripple_all_tracks=false variant and when it matters (native Premiere scripting insert).

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