Skip to main content
Glama

Clear track

clear_track
Destructive

Removes all clips from a single video or audio track while keeping the track intact, without rippling or shifting other tracks. Returns the track state and the number of clips removed.

Instructions

Remove every clip from one track and keep the track itself. Other tracks are not shifted (no ripple), and linked clips on other tracks stay. Fails with FAILED on a locked track. Returns the track state and removed (number of clips). Use delete_track to remove the track too.

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": {
      "track_type": "<track_type>",
      "track_index": "<track_index>"
    },
    "name": "clear_track"
  }
}

Input Schema

NameRequiredDescriptionDefault
track_typeYesTrack type: "video" or "audio".
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
track_indexYes0-based track index (0 = V1 or A1).
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
Behavior5/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description goes well beyond them: no ripple shifting of other tracks, linked clips on other tracks preserved, failure mode FAILED on a locked track, and the return payload (track state + removed count). This is the kind of operational detail an agent cannot get from the structured fields.

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?

Four short sentences, each carrying a distinct fact: scope, ripple behavior, linked-clip behavior, failure mode, return values, and the sibling alternative. The most consequential information (what is kept vs removed) is front-loaded with zero 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?

Although there is no output schema, the description explicitly states what is returned (track state and removed count), and it covers the destructive side effects and the locked-track failure condition. For a destructive four-parameter tool, nothing an agent needs before calling is missing.

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 description coverage is 100%, including the enum for track_type and the 0-based indexing note for track_index, so the parameters are already fully documented. The description adds no syntax, format, or defaulting nuance beyond the schema, which is the expected baseline here.

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?

The description states a specific verb and resource ("Remove every clip from one track") plus the crucial scope limit ("keep the track itself"), which is exactly what separates it from delete_track. An agent can distinguish this from its siblings without opening the 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?

It names the alternative explicitly ("Use delete_track to remove the track too") and gives the condition that selects it, plus an implicit inverse condition for using this tool. No inference about when-not-to-use is left to the agent.

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