Skip to main content
Glama

Remove empty tracks

remove_empty_tracks
Destructive

Deletes empty video or audio tracks from a Premiere Pro sequence, optionally for one track type, and returns removed and remaining track counts.

Instructions

Delete every track of a sequence that has no clips (Premiere's Delete Tracks > All Empty Tracks), optionally only video or audio. Premiere always keeps at least one track of each type. Returns removed_video, removed_audio and the remaining track counts. Use delete_track for one specific track.

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

Input Schema

NameRequiredDescriptionDefault
track_typeNoWhich tracks to act on: "video", "audio" or "both". Omit for "both".
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.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description adds genuinely useful behavior: Premiere keeps at least one track of each type, so the operation can silently remove fewer tracks than expected. It also names the return payload (removed_video, removed_audio, remaining counts), which matters since there is no output schema. It stops short of stating reversibility/undo or how locked tracks are handled, so it is strong but not exhaustive.

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?

Three tight sentences: the core action and its Premiere equivalent come first, then the guardrail, then the return values and sibling routing. Every sentence contributes and nothing is 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, zero-required-parameter tool with full schema coverage and no output schema, the definition covers action, scope, the non-obvious retention rule, the return shape, and the alternative tool. An agent can invoke it correctly without further information.

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 track_type enum and the sequence_id/sequence_name fallback, so the schema carries the parameter burden. The description only restates that the operation can be limited to video or audio, adding little beyond the existing field descriptions. Baseline 3 is appropriate.

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 (delete empty tracks in a sequence) and pins the semantics to a known Premiere action (Delete Tracks > All Empty Tracks), with the optional video/audio narrowing called out. It is clearly distinguishable from sibling delete_track because it names that tool as the single-track alternative.

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?

The description explicitly routes the agent: use this tool for bulk empty-track removal, and 'use delete_track for one specific track.' The scoping condition (all empty tracks, optionally limited by type) plus the sibling alternative leaves nothing to infer.

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