Skip to main content
Glama

Sequence layers

sequence_layers

Arrange layers back-to-back on a timeline in a set order so each starts where the previous ends, with optional overlap, reversal, and start time control.

Instructions

Place layers one after another in time (like Keyframe Assistant > Sequence Layers), in the order given ('selected' = selection order). Each layer starts where the previous ends minus 'overlap'.

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

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
layersNoLayers: array of layer refs, or 'selected' (default) or 'all'.
overlapNoOverlap between consecutive layers (seconds or '10f'; default 0).
reverseNoReverse the order.
startAtNoStart of the first layer (default: its current in point).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only say this is a non-readOnly, non-destructive, closed-world mutation; the description goes further by disclosing the actual layout algorithm (each layer starts where the previous ends minus overlap) and that order derives from selection order. Gaps remain: it does not say that layer in-points are modified in place, what happens to clips whose durations exceed the gap, or that existing arrangement is overwritten.

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?

Two sentences, front-loaded with the core action and followed by the positioning rule. No filler, no restatement of the name or title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter, all-optional mutation with no output schema, the description covers the essential mental model of what the tool does to the timeline. It could be stronger by stating that in-points are repositioned and left unchanged when only one layer is passed, but nothing critical for a correct first call is absent.

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%, so the schema already explains comp, layers, overlap, reverse, and startAt. The description adds only the sequencing rule ('minus overlap') and the selection-order meaning of 'selected', which is partially duplicative of the schema's own 'first selected layer' note. Baseline 3 is appropriate when the schema carries most of the meaning.

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?

States a specific verb and resource ('Place layers one after another in time') and anchors it to a familiar UI equivalent ('Keyframe Assistant > Sequence Layers'), which makes the operation unambiguous. It never names a sibling such as stagger_layers or align_layers, so differentiation is left implicit.

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?

Usage is implied by the description of the operation, and the note that 'selected' follows selection order clarifies a common ambiguity. There is no explicit when-to-use versus when-not guidance, no mention of alternatives like stagger_layers, and no prerequisites (e.g. minimum layer count) stated.

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