Skip to main content
Glama

Remove selected clips

remove_selected_clips
Destructive

Deletes selected clips from a Premiere Pro timeline, optionally ripple-deleting gaps so later clips shift left where tracks are clear. Select linked clips first to remove video and audio together.

Instructions

Delete the selected clips from the timeline. ripple=false (default) leaves gaps. ripple=true also shifts later clips left to close a gap, but only where no clip on any other track still lies over the removed span (a video clip removed without its linked audio leaves its gap). Only selected clips are removed: unselected linked partners stay, so call select_linked_clips first to remove video and audio together. To remove clips by id without touching the selection use remove_clips (which removes linked clips by default). Fails with NOT_FOUND when nothing is selected. Returns the removed clips and remaining_clip_count.

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_selected_clips"
  }
}

Input Schema

NameRequiredDescriptionDefault
rippleNoRipple delete: close the gaps left by the removed clips where all tracks are clear. Default false.
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
sequence_nameNoSequence name; used only when sequence_id is not given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already carry destructive=true, readOnly=false, idempotent=false, so the safety profile is covered; the description adds the non-obvious ripple interaction with other tracks and the linked-audio gap caveat, plus the NOT_FOUND failure mode and a summary of the return payload. It stops short of stating permissions or undo/reversibility, which is the only remaining gap for 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?

Front-loads the destructive action and the ripple default before the caveats, and each subsequent sentence covers a distinct concern (linked partners, alternative tool, failure, return). No filler or restatement of the title.

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?

Complete for a destructive 3-parameter tool with no output schema: it discloses scope of deletion, ripple side effects, prerequisite selection state, error behavior, and return contents. Nothing needed to invoke it correctly is 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 coverage is 100%, so the baseline is 3, but the description goes beyond the schema's one-line ripple text by explaining what ripple actually shifts (later clips left) and the multi-track condition that blocks the shift. sequence_id/sequence_name are left to the schema, which is acceptable given full coverage.

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?

Opens with a specific verb+resource ("Delete the selected clips from the timeline") and immediately distinguishes itself from the sibling remove_clips, which removes by id and handles linked partners differently. An agent can pick between them 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?

Explicit prerequisites ("call select_linked_clips first to remove video and audio together"), an explicit exclusion (unselected linked partners stay), and a named alternative with its selection condition ("To remove clips by id without touching the selection use remove_clips"). When-to-use is fully resolved.

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