Skip to main content
Glama

split_layer_at_time

Cut one or more After Effects layers at a given time by duplicating them: originals end at that time and copies begin there, enabling precise timing edits.

Instructions

Split (razor) layers at the given time. Each layer is duplicated; original ends at time, duplicate starts at time.

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

Input Schema

NameRequiredDescriptionDefault
compNoComp: name (string), or { id: N } for duplicate-name-safe stable-id addressing. Defaults to active comp.
timeNo
frameNo
layersNoOne or many layers (each: name, 1-based index, or { id: N }). If omitted, uses currently selected layers.
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It usefully discloses the core mutation: each layer is duplicated, the original ends at the split time, and the duplicate starts there. However, it does not mention whether layers are modified in place, what happens to keyframes/effects, error cases such as a time outside layer bounds, or whether the operation is reversible.

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 short sentences are front-loaded and entirely relevant: the action is stated first, followed by the exact resulting layer behavior. There is no redundant or filler wording.

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 five-parameter mutation tool with no annotations and no output schema, the description adequately explains the core split behavior. It is less complete about invocation context: it does not address comp defaults, instance targeting, the selected-layers fallback, the time-versus-frame choice, or what the call reports back.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description mentions splitting at a 'given time' and refers to layers, but it does not add meaning beyond the schema for comp, instance, or the critical distinction between the time and frame parameters. With schema coverage at 60% and both time and frame undocumented in the schema, the description does not compensate for the ambiguity an agent would face.

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 states a specific verb and resource: 'Split (razor) layers at the given time.' It also clarifies the resulting duplication behavior, which helps distinguish it from a simple duplicate operation, though it does not name a specific sibling alternative.

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?

The description explains what happens when invoked but gives no explicit guidance on when to use this instead of related time tools such as freeze_frame_at or time_stretch. There are no stated prerequisites, exclusions, or alternative-selection criteria.

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