Skip to main content
Glama

Remove clip

remove_clip
Destructive

Removes a single clip from the Premiere Pro timeline, with optional ripple delete to close the gap across all tracks and optional removal of linked audio/video clips.

Instructions

Remove one clip from the timeline. ripple=false (default) leaves a gap. ripple=true closes it: everything that starts at or after the removed clip's end, on all tracks, moves left by its length so the sequence stays in sync (a track where that would make clips collide is left alone and listed in tracks_not_rippled). ripple=true is the tool for a ripple delete. include_linked (default true) removes the linked audio/video clips too. Use remove_clips for several clips, lift_range / extract_range for a time span. Returns what was removed and the sequence duration before and after.

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": "remove_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
rippleNoClose the gap the clip leaves. Default false.
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.
include_linkedNoAlso remove the clips linked to this one (the audio of a video clip, or the video of an audio clip). Default true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is covered; the description adds genuinely new behavior — exactly what ripple=true moves (all tracks, clips at or after the removed clip's end), the collision fallback that leaves a track untouched and reports it in tracks_not_rippled, and the default of include_linked pulling linked audio/video. It also discloses the return payload (what was removed plus before/after sequence duration), which is unusual value for a mutation tool. Minor gap: it does not warn about irreversibility or needed preconditions beyond the destructive hint.

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 alternatives, then parameter behavior — a logical order. The ripple sentence is long and parenthetical-heavy, but each clause carries non-obvious semantics rather than filler.

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 an 8-parameter destructive mutation with no output schema, the definition covers the action, the ripple edge case, the partial-failure signal, defaults, and the return shape. Nothing needed to invoke it correctly appears to be missing.

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 description coverage is 100%, so the baseline is 3; the description earns above that by explaining the cross-track ripple semantics and the tracks_not_rippled outcome, which the ripple parameter's own schema text ('Close the gap the clip leaves') does not convey. It also clarifies include_linked's linked-pair behavior. It says nothing extra about the clip_id vs clip_index/track_index selection tradeoff, which the schema handles.

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 ('Remove one clip from the timeline') and immediately differentiates itself from siblings by naming remove_clips for multiple clips and lift_range / extract_range for a time span. An agent can pick this tool over remove_clips without opening either schema.

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: use remove_clips for several clips, lift_range/extract_range for a span, and 'ripple=true is the tool for a ripple delete.' Both the alternative and the selecting condition are stated.

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