Skip to main content
Glama

Remove several clips

remove_clips
Destructive

Remove multiple timeline clips by ID in one call, optionally closing the gaps they leave and deleting linked audio or video clips to keep the sequence in sync.

Instructions

Remove several clips in one call, by clip id. ripple=false (default) leaves gaps. ripple=true closes each gap: 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). include_linked (default true) also removes their linked audio/video clips. Ids that no longer exist are reported in not_found instead of failing the call. Returns the removed clips and the sequence duration.

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_ids": "<clip_ids>"
    },
    "name": "remove_clips"
  }
}

Input Schema

NameRequiredDescriptionDefault
rippleNoClose the gaps the clips leave. Default false.
clip_idsYesClip ids to remove (from list_clips).
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
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.1/5.0
Behavior5/5

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

Annotations only flag destructive/non-idempotent; the description goes far beyond by spelling out the ripple algorithm (everything at or after the removed clip's end shifts left on all tracks, colliding tracks are skipped and returned in tracks_not_rippled), the default-true linked removal, and that missing ids are reported in not_found instead of aborting the call.

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 action, then behavior in descending importance; the long ripple sentence is dense but every clause earns its place. Slightly wordy but not padded.

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 destructive, multi-clip mutation tool with no output schema, the description covers side effects, partial-failure handling, and even the return payload (removed clips and resulting sequence duration). An agent has everything needed to call it correctly.

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 genuine meaning: it explains the ripple side effect (cross-track shifting and collision fallback), defines linked clips concretely, and clarifies the default behaviors of ripple and include_linked. sequence_id/sequence_name are not addressed in prose, which is fine given the schema documents them.

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?

Opens with a specific verb+resource and scope: "Remove several clips in one call, by clip id." The 'several in one call' phrasing implicitly separates it from the single-clip remove_clip and the selection-based remove_selected_clips, but no sibling is named explicitly.

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

Usage Guidelines3/5

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

The description thoroughly explains how the call behaves once chosen (ripple semantics, linked removal, not_found tolerance) but never states when to prefer this bulk remover over remove_clip or remove_selected_clips. Usage is implied rather than guided.

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