Skip to main content
Glama

Set transform

set_transform

Set transform properties for After Effects layers—position, scale, rotation, opacity, anchor point, and 3D orientation—with optional keyframes or relative adjustments.

Instructions

Set transform properties of one or more layers. Give any of anchorPoint, position, scale (number = uniform or [x,y(,z)] %), rotation (degrees), opacity (0-100), and for 3D layers orientation [x,y,z], xRotation, yRotation. With 'time' a keyframe is set there instead of a static value. relative=true adds to the current values. Separated position dimensions are handled.

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

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
timeNoSet a keyframe at this time instead of a static value.
scaleNo
layersNoLayers: array of layer refs, or 'selected' (default) or 'all'.
opacityNo0-100.
positionNo
relativeNoAdd the values to the current ones.
rotationNoZ rotation in degrees.
xRotationNo3D only, degrees.
yRotationNo3D only, degrees.
anchorPointNo
orientationNo3D only, degrees [x, y, z].

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, openWorldHint=false), so the description's burden is lower. It adds genuinely behavioral detail: 'time' switches from static value to keyframe insertion, relative=true is additive, and separated position dimensions are handled — but it never says whether omitted transform properties are left untouched or reset, which matters for a mutation tool.

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?

The lead sentence is the action; the rest is a compact enumeration of parameter semantics with parenthetical units. Every sentence carries information and there is no filler.

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

Completeness4/5

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

With 12 optional parameters, no output schema, and 75% schema coverage, the description covers the transform-related parameters and their modes thoroughly. The gap is the composition/layer targeting story (defaults to active comp, 'selected' layers), which is left entirely to the schema.

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 75%, and the description meaningfully compensates: it explains scale accepts a bare number for uniform or an array as a percentage, rotation is in degrees, opacity spans 0-100, orientation is 3D-only [x,y,z], and relative adds to current values. That is real semantic value beyond the schema. It omits any mention of the comp or layers scoping parameters, which the schema handles 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 opens with a specific verb and resource: 'Set transform properties of one or more layers', which clearly delimits it from property-setting siblings like set_property or reset_transform. It never names an alternative sibling or states when to prefer one, so it stops short of a 5.

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?

Usage context is implied through parameter behavior ('time' for keyframes, relative=true for additive changes) rather than an explicit when-to-use rule. There is no statement about when to use this versus set_property, reset_transform, or set_keyframe_interpolation, leaving the agent to infer routing.

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