Skip to main content
Glama

Shift layers in time

shift_layers_in_time

Move selected or specified After Effects layers earlier or later by a time offset, shifting keyframes with them. Use a negative offset to move layers earlier.

Instructions

Move layers earlier/later in time by an offset (keyframes move with them). Negative offset = earlier.

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

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'.
offsetYesOffset: seconds or '12f' frames (negative = earlier).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare this is a non-readonly but non-destructive, closed-world edit, so the bar is lower. The description still adds a genuinely useful behavioral trait not present in the schema or annotations: keyframes travel with their layers rather than staying pinned, which directly tells the agent what side effects to expect. Missing are margins, clamping at t=0 for negative offsets, or undo/return behavior.

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?

One sentence, front-loaded with the action and the axis, followed by the key behavioral clause and then the sign convention. There is no filler and nothing redundant, and the most decision-relevant fact (keyframes moving) sits before the parameter detail.

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 three fully documented parameters, annotations covering the safety profile, and no output schema, the description is minimally sufficient. It still leaves an agent guessing about what happens to layers pushed past the comp's start/end, whether the result reports how many layers moved, and how 'selected' default scoping interacts with the shift.

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% and the offset parameter's own description already states 'negative = earlier', so 'Negative offset = earlier' in the description largely restates structured data. The reused term 'offset' and 'earlier/later' framing add no unit, format, or edge-case detail beyond the schema's seconds-or-'Nf' documentation.

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 (move) plus resource (layers) and the axis (in time) with the unit of change (an offset), which is enough to distinguish it from sibling rearrangers like align_layers or sequence_layers. It does not explicitly name shift_keyframes as the alternative for keyframe-only movement, so sibling differentiation is only implicit.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no mention of the sibling tools (shift_keyframes, reverse_layer_time, time_convert) that an agent would need to choose between. Usage is only inferable from the verb, and the one routing hint available (keyframes move with them) is buried in a parenthetical.

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