Skip to main content
Glama

Stagger layers

stagger_layers

Offset selected or specified layers by a fixed step so each starts at startAt + i × offset, creating staggered timing from selection order.

Instructions

Offset layers' in points step by step: layer i starts at startAt + i * offset (order as given, 'selected' = selection order).

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": {
      "offset": "<offset>"
    },
    "name": "stagger_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'.
offsetYesStep between layers (seconds or '5f').
reverseNoReverse the order.
startAtNoIn point of the first layer (default: its current in point).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only but non-destructive, closed-world mutation, so the safety profile is covered. The description adds real value beyond that by specifying the exact mathematical transformation and the i = 0..n-1 ordering semantics. It does not say whether the change is reversible, what happens to layers lacking an in-point, or how 'all' orders layers, which are the remaining behavioral questions for a mutating tool. The phrase 'in points' is also ambiguous (in-points in time vs. spatial points).

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?

One densely packed sentence with the core formula front-loaded and the ordering caveat appended, with no filler. Minor cost: the grammar is compressed ("layers' in points step by step") and the formula is the only explanation of startAt/offset interaction, which makes it read more like a spec line than guidance.

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 5-parameter mutation with a fully described schema and safety annotations, the description covers the essential semantics, so nothing critical is absent. Gaps remain: the meaning of 'in points' is unclear, reverse is unexplained, and behavior on layers without in-points or on the 'all' ordering is unstated. Adequate but not complete for an agent that must predict the outcome before mutating a comp.

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 documents comp, layers, offset, reverse and startAt, giving a baseline of 3. The description adds the ordering rule that parameterizes i and clarifies that offset is a per-index step. However, it describes 'selected' as 'selection order' while the schema's layers item description says "'selected' = first selected layer", which introduces ambiguity rather than resolving it, and reverse is not explained at all.

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 (offset/stagger) and resource (layers) and pins down the effect with the formula startAt + i * offset, so an agent knows exactly what the tool does. It does not name the near-siblings (shift_layers_in_time, distribute_layers, sequence_layers) that an agent might confuse it with, 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?

Guidance is implied through the formula rather than stated: an agent can infer this is for giving a progressive time offset to an ordered set of layers. There is no explicit when-to-use, when-not-to-use, or pointer to alternatives such as shift_layers_in_time or distribute_layers, and no prerequisites are mentioned.

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