Skip to main content
Glama

Manage tracks

manage_tracks
Destructive

Track operations on a timeline. action: 'mute' | 'unmute' | 'solo' | 'unsolo' (audio only; any solo silences non-solo tracks) | 'hide' | 'show' | 'rename' (needs name) | 'duck' | 'unduck' (audio only: dip this track under speech detected on the other audio tracks — transcript word timings when available, energy VAD otherwise) | 'merge' (needs intoTrackId: moves every clip of trackId onto another track of the same kind; refuses the WHOLE move if any clip would overlap, or if the source carries transitions) | 'delete' (an EMPTY track; refuses one that holds clips — deleting those is remove_clips, by name) | 'tidy' (NO trackId: drops the empty leftover tracks and renumbers). Track ids come from get_timeline. TIDYING UP, AND WHY ORDER MATTERS. Track counts only ratchet up while you build: a spare appears above whatever you fill, and the video and audio counts are kept EQUAL. That last rule is the one that surprises people — five video tracks force five audio tracks, however empty. So:

  1. 'merge' the tracks that hold clips but need not be separate (captions from several passes, b-roll that never overlaps). This is what actually lowers the count.

  2. 'tidy' once at the end. It settles both sides on one spare above the taller one and reports removedTracks. 'delete' on a single empty track usually reports removedTracks: 0 — the invariant puts it straight back to keep the counts equal. That is not a failure, it is why 'tidy' exists. Neither ever touches a clip, and both keep an empty track you renamed, muted, hid, soloed, unlocked or set to duck.

Input Schema

NameRequiredDescriptionDefault
nameNoNew name (rename only).
tokenYesThe session token `connect` returned. Pass it on every call — it says which browser to drive.
actionYesmute | unmute | solo | unsolo | hide | show | rename | duck | unduck | merge | delete | tidy
trackIdNoTrack to modify. Required for every action except 'tidy'.
projectIdYesProject id from get_projects.
timelineIdYesTarget timeline.
intoTrackIdNoDestination track (merge only) — same kind as trackId.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare destructiveHint=true and idempotentHint=false, and the description goes well beyond them: solo silences non-solo tracks, merge aborts the WHOLE move on any overlap or source transitions, delete refuses a track holding clips, and delete on an empty track usually reports removedTracks: 0 without being a failure. It also documents the invariant that video and audio counts are forced equal — the key non-obvious side effect.

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 list, then a numbered, well-structured section on ordering. Dense and mostly earning its space, though the 'removedTracks: 0 is not a failure' point is stated twice (in the delete bullet and again below), costing some length.

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?

No output schema exists, yet the description still discloses the key return signal (removedTracks) and the refusal behaviors. For a 12-action, 7-parameter mutation tool with destructive semantics, nothing an agent needs in order to call 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 baseline is 3, but the description ties parameters to actions: 'rename' needs name, 'merge' needs intoTrackId of the same kind, 'tidy' takes NO trackId. It also gives each action value behavioral meaning (duck uses transcript timings or energy VAD) that the bare enum list in the schema does not.

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 title-line 'Track operations on a timeline' is generic on its own, but the immediately following enumeration of the twelve actions (mute/rename/duck/merge/delete/tidy) makes the resource and scope unambiguous. An agent can distinguish this from remove_clips, manage_effects, or manage_transitions 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?

Explicit routing: deleting a non-empty track is 'remove_clips, by name', track ids come from get_timeline, projectId from get_projects. It also gives an ordered procedure (merge first, then tidy once at the end) and states which action to prefer and why.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources