Skip to main content
Glama

ae_layer_set_transform

Set an After Effects layer's anchor point, position, scale, rotation, opacity, and 3D orientation by layer index, with optional comp and time targeting.

Instructions

Atur cepat Transform layer (Anchor, Position, Scale, Rotation, Opacity)

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": {
      "layerIndex": "<layerIndex>"
    },
    "name": "ae_layer_set_transform"
  }
}

Input Schema

NameRequiredDescriptionDefault
scaleNo
compIdNoID numerik CompItem (opsional jika comp aktif)
opacityNo
compNameNoNama CompItem (opsional)
positionNo
rotationNo
xRotationNo
yRotationNo
zRotationNo
layerIndexYes
anchorPointNo
orientationNo
timeSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations at all, the description carries the full behavioral burden and falls well short. It never says whether unspecified transform properties are left untouched or reset, whether supplying timeSeconds writes a keyframe rather than a static value, whether rotation is in degrees, or whether the operation is undoable. For a mutation tool with 13 parameters this is a serious disclosure gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no wasted words, which is structurally clean. The concision comes at the cost of substance: the parenthetical field list is the only content, so brevity here reads as under-specification rather than efficiency.

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

Completeness2/5

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

A 13-parameter mutation tool with no annotations and no output schema needs the description to explain units, optionality behavior, and keyframe semantics, and it does none of that. An agent could easily mis-invoke it, for example assuming omitted properties are cleared or that timeSeconds is ignored.

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 only 15% (just compId and compName are documented), so the description must compensate and it largely does not. It names five of the concepts but adds no units, array-shape expectations for position/anchorPoint/scale, or coordinate-space context, and says nothing about xRotation/yRotation/zRotation, orientation, or timeSeconds. It does at least confirm the conceptual grouping of the transform fields, keeping it above the floor.

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 verb ('Atur' / set) and resource (layer Transform) and enumerates the fields it touches (Anchor, Position, Scale, Rotation, Opacity), so the core purpose is unmistakable. It does not, however, distinguish itself from siblings like ae_property_set_value or ae_layer_update_switches, and it omits several schema properties (3D rotations, orientation, timeSeconds). The Indonesian wording against an English schema also adds a small comprehension cost.

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 use this tool versus ae_property_set_value or ae_layer_update_switches, and no prerequisites are stated (e.g. that compId/compName or an active comp must resolve, or that a layerIndex must be valid). The agent must infer the entire selection context from the name alone.

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