Skip to main content
Glama

Timeline edit

timeline_edit
Destructive

Edit Resolve timelines by splitting, inserting, overwriting, ripple-trimming clips, or fitting a clip to a gap via speed changes, with a dry-run plan before applying.

Instructions

Cut a clip in two, insert a clip and push the rest, overwrite a part, trim and close the gap, or fill a gap by changing the speed. Works without keys or mouse. For titles, changed speeds and other frame rates it says so: use the razor key then.

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": {
      "action": "<action>"
    },
    "name": "timeline_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
byNoripple_trim: frames to cut off; negative gives frames back
clipNoinsert, overwrite, fit_to_fill: media pool clip
edgeNoripple_trimend
itemNosplit: one clip, empty = every clip at this frame; ripple_trim: the clip
frameNoFrame from the start of the timeline: where to cut or place
mediaNoboth
trackNo
actionYes
lengthNofit_to_fill: frames to fill on the timeline
dry_runNotrue: only show the plan and get a confirm_token. false: do it, together with that token.
in_frameNo
timelineNoHandle (tl:...) of the timeline to change, from list_timelines or state_snapshot.
out_frameNoFirst source frame that is NOT used
confirm_tokenNoFrom the dry run of exactly this call. Works once, for five minutes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, and the description usefully reinforces this by saying insert pushes the rest and overwrite replaces part of the timeline, plus it flags a class of clips the tool cannot handle correctly. It omits the two-phase safety flow entirely: that dry_run defaults to true and that a confirm_token from the dry run is needed to actually commit, which is the single most behaviorally important fact about calling this tool. 'Works without keys or mouse' is also unexplained and adds little.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is excellent, front-loaded and dense with the five operations. The trailing sentences are weak: 'Works without keys or mouse' is cryptic and 'For titles, changed speeds and other frame rates it says so: use the razor key then' is grammatically garbled, so the caveat costs reading effort without paying off.

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 14 parameters, a destructive mutation profile and no output schema, the description covers the operation set but not the workflow: nothing says a dry run is the default, that a token expires after five minutes, or what an agent gets back. It is adequate to understand the tool's capabilities but not complete enough to call it safely without reading the schema carefully.

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 71%, so most parameters are self-documented, and the description's action phrasing loosely implies clip, length, by and edge usage without naming them. It adds nothing for the highest-consequence parameters — dry_run, confirm_token, item, media, timeline handle — leaving those to the schema alone.

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 names five concrete operations — split, insert-and-ripple, overwrite, ripple-trim-and-close-gap, and speed-fit gap fill — that map one-to-one onto the action enum, so the tool's purpose is unmistakable. It never names a sibling tool, though, so an agent must infer on its own that edit_plan/edit_audio/analyze_timeline are different modes of working.

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

Usage Guidelines4/5

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

By describing each action in plain terms it effectively explains when to choose split versus insert versus overwrite versus fit_to_fill. It also gives one explicit exclusion — titles, speed-changed clips and mismatched frame rates should instead use the razor key — which is real when-not guidance, though no sibling tool or dry-run prerequisite is routed to here.

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