Skip to main content
Glama

sequence_layers

Stagger layers by setting incremental start-time offsets in seconds or frames; optionally override the first layer’s start time for controlled sequencing.

Instructions

Stagger layers by setting their startTime to startTime + index*offset. Provide offsetSeconds OR offsetFrames. Optional startTime overrides the first layer's start.

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": {
      "layers": "<layers>"
    },
    "name": "sequence_layers"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComp: name (string), or { id: N } for duplicate-name-safe stable-id addressing. Defaults to active comp.
layersYes
instanceNoTarget a specific AE when more than one is connected (e.g. "2026", "2025", or a major like "26"). Omit when only one AE is open — see list_instances.
startTimeNo
offsetFramesNo
offsetSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the mutation formula and that startTime overrides the first layer, but says nothing about what happens if both offset parameters are passed, whether the operation is undoable, whether it requires selected layers, or what it returns.

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 short sentences, front-loaded with the core behavior, then the parameter constraint, then the override rule. Nothing is redundant or padded.

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 a 6-parameter mutation tool with no annotations and no output schema, the description covers the math and the offset choice but leaves gaps around conflicting parameters, ordering assumptions for the index, and error/return behavior.

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 only 33%, and the description compensates precisely where the schema is silent: it explains the mutual exclusivity of offsetSeconds/offsetFrames and the override semantics of startTime. It adds no meaning for comp, layers, or instance, but those already have schema descriptions.

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 (stagger) plus the exact mechanism (setting startTime to startTime + index*offset), which clearly separates it from align_layers or distribute_layers even though no sibling is named. The resource and effect are unambiguous.

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?

Gives an invocation constraint — supply offsetSeconds OR offsetFrames — which implies usage but never states when to choose this tool over align_layers/distribute_layers, nor any prerequisite such as layer selection or ordering.

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