Skip to main content
Glama

ae_layer

Create and manage After Effects layers: add solids, text, shapes, nulls, cameras, and more, then set properties, apply track mattes, duplicate, reorder, precompose, or time-remap them.

Instructions

Unified layer operations with native Layer.id support and modern arbitrary-layer Track Matte. Actions: create (solid/null/adjustment/text/shape/av/camera/light/mesh), info, set, track_matte, duplicate, remove, reorder, precompose, stagger, center_anchor, time_remap.

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": {
      "action": "<action>"
    },
    "name": "ae_layer"
  }
}

Input Schema

NameRequiredDescriptionDefault
shyNo
compNoComp name or '@id:N' (defaults to active comp).
fontNo
itemNoProject item ref for type='av'.
modeNo
nameNo
sizeNo
soloNo
textNo
typeNo
zoomNo
colorNo
countNo
labelNo
layerNoLayer name, 1-based index, or '@id:N'.
scaleNo
widthNo
actionYes
anchorNo
atTimeNo
heightNo
layersNoArray of layer refs for remove/precompose/stagger/center_anchor.
lockedNo
parentNo
commentNo
enabledNo
inPointNo
opacityNo
stretchNo
durationNo
fontSizeNo
meshTypeNo
outPointNo
positionNo
rotationNo
blendModeNo
fillColorNo
intensityNo
lightTypeNo
placementNo
shapeKindNo
startTimeNo
xRotationNo
yRotationNo
zRotationNo
guideLayerNo
matteLayerNoTrack matte source layer (AE 2023+ supports any layer).
motionBlurNo
stepFramesNo
centerPointNo
orientationNo
stepSecondsNo
strokeColorNo
strokeWidthNo
targetLayerNo
threeDLayerNo
effectsActiveNo
justificationNo
adjustmentLayerNo
environmentLayerNo
moveAllAttributesNo
preserveTransparencyNo
collapseTransformationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

C2.6/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 and largely drops it. It mentions two capabilities (native Layer.id support, arbitrary-layer Track Matte on AE 2023+) but says nothing about destructive behavior for remove/precompose, undo semantics, required permissions, or what reorder/placement does to existing layer order.

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?

Two sentences, front-loaded with the differentiators and then a compact action enumeration; nothing is padded. The one weakness is that create sub-types are parenthesized inline with the action list, which slightly blurs actions and layer types, but the text stays tight.

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

Completeness1/5

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

For a tool with 63 parameters, 11 actions, no annotations, and no output schema, the description is far too thin to support correct invocation. It conveys what the tool covers but not how to call it, which is the critical missing piece at this complexity level.

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?

Schema description coverage is only 8% across 63 parameters, so the description must compensate and does not. It never maps parameters to actions (e.g. which fields apply to set vs. track_matte vs. precompose), leaving the agent to infer that 60+ optional fields are action-dependent on its own.

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 names a specific resource (layers) and enumerates all eleven supported actions plus the eight create sub-types, so an agent can see the tool's scope at a glance. It stops short of differentiating itself from overlapping siblings such as ae_text, ae_shape, ae_3d, or ae_comp, which an agent would need in order to pick the right tool.

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 guidance on when to choose ae_layer over ae_text/ae_shape/ae_3d/ae_comp, and no guidance on which of the eleven actions suits which situation. The action list implies capability but gives no conditions, prerequisites, or exclusions, so an agent must guess.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.