Skip to main content
Glama

delete_clip

Delete a clip from a video or audio timeline track, with an optional ripple-delete mode to close the resulting gap.

Instructions

Delete a clip from the timeline (optionally ripple delete to close the gap)

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": {
      "trackIndex": "<trackIndex>",
      "clipIndex": "<clipIndex>"
    },
    "name": "delete_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
clipIndexYesClip index on track (0-based)
trackTypeNovideo
trackIndexYesTrack index (0-based)
rippleDeleteNoSet to true to ripple delete and pull forward subsequent footage

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden for a destructive operation. It gestures at the ripple consequence ("close the gap") but never states whether the delete is undoable, what happens to linked audio or attached effects/keyframes, or what a failure (e.g., out-of-range index) looks like.

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?

One sentence, front-loaded with the action and the main resource, and the parenthetical variant is kept tight. Nothing is wasted, though it is close to being too terse for a destructive tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With four parameters, no output schema, and no annotations, the description covers the basic action but leaves consequential gaps: side effects on linked/adjacent media, undo/reversibility, and error conditions. Adequate to invoke, thin for confident use of a delete operation.

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?

Schema coverage is 75%, so most parameters (including the 0-based indexing convention and the video/audio enum) are already documented in structured data. The parenthetical restates ripple semantics rather than adding format or edge-case detail, so the description stays at baseline.

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?

The description gives a specific verb and resource ("Delete a clip from the timeline") and adds the ripple-delete variant. It is clear on its own, though it does not explicitly position itself against near-neighbors like razor_clip or trim_clip, which also alter timeline content.

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?

Usage is only implied: the tool removes a clip. There is no statement of when to prefer this over razor_clip/overwrite_clip, no preconditions (selection, track lock, playhead), and no note on whether ripple is the appropriate choice versus a plain delete.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.