Skip to main content
Glama

Arrange items

arrange_items
Destructive

Organizes timeline clips by deleting, closing gaps, linking, moving, grouping, aligning, and managing takes or multicam, with dry-run confirmation for destructive edits.

Instructions

Arrange timeline clips: delete (with or without closing the gap), close all gaps, link, unlink, move a group, make compound or Fusion clips, paste attributes, align by sound or timecode, takes, multicam. Deleting actions need the user's agreement. Resolve has no script command for the razor: to split, append the same source range twice and trim both with set_item.

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": "arrange_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
clipNoadd_take: media pool clip
nameNo
takeNoTake number, from 1
itemsNoTimeline clip handles; ['selected'] = selected clips, ['current'] = clip under the playhead.
trackNo
actionYes
dry_runNotrue: only show the plan and get a confirm_token. false: do it, together with that token.
optionsNocopy_attributes: on/off values, e.g. {allVideoAttributes: true} or {opacity: true, colorCorrection: true}; auto_align: {by: waveform|timecode}; multicam: SmartSwitchSettings; flatten_multicam: {grade: copy_grade|retain_grade_from_angle}
targetsNocopy_attributes: clips that receive the attributes
in_frameNo
timelineNoHandle (tl:...) of the timeline to change, from list_timelines or state_snapshot.
out_frameNo
move_linkedNo
start_frameNo
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
Behavior4/5

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

Annotations already declare destructiveHint=true and non-idempotent, so the safety profile is partly covered. The description adds genuine context beyond that: deletes require the user's explicit agreement, and the razor limitation with its workaround is a behavioral constraint an agent could not infer from structured fields. It does not describe what state changes per action or any error behavior, keeping it below a 5.

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?

Two sentences with no filler, and the action inventory is front-loaded, so nothing is wasted. But the first sentence is an 18-item comma run that is hard to parse, and the important operational notes (user agreement, razor workaround) are buried at the tail rather than structured alongside the relevant action clusters.

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?

For an 18-action, 15-parameter destructive tool with no output schema, the description establishes scope and one key behavior but omits the per-action parameter contract that an agent most needs before invoking any single action. The dry_run/confirm_token flow is left entirely to the schema. Adequate, but thin for this complexity.

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?

With 15 parameters at 53% schema coverage, the description does some compensating work by naming option shapes for copy_attributes, auto_align and flatten_multicam and by implying range/trim usage in the razor note. But it says nothing about the many undocumented parameters (name, track, in_frame/out_frame/start_frame, move_linked, take, clip) or which parameters each of the 18 actions requires, so half the surface remains opaque.

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 opens with a specific verb+resource ("Arrange timeline clips") and then enumerates the concrete operations covered: delete, ripple/gap closing, link/unlink, move, compound/Fusion clips, paste attributes, auto-align, takes, multicam. The sibling list confirms this is the edit-manipulation tool, distinct from set_item/append_clips/manage_timeline, though the boundary with manage_timeline is never drawn.

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?

It gives one explicit alternative route ("Resolve has no script command for the razor: to split, append the same source range twice and trim both with set_item"), which is real when-to-use-elsewhere guidance. It also states a precondition for deletes ("need the user's agreement"). However, there is no systematic guidance for the other 17 actions or on when to reach for this tool rather than set_item, manage_timeline, or edit_plan.

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