Skip to main content
Glama

ae_layer_precompose

Precompose specified After Effects layers into a new composition to group related elements, reuse animations, and simplify timeline editing. Pass layer indices and an optional comp target.

Instructions

Precompose sekumpulan layer

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": {
      "layerIndices": "<layerIndices>"
    },
    "name": "ae_layer_precompose"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
compIdNoID numerik CompItem (opsional jika comp aktif)
compNameNoNama CompItem (opsional)
layerIndicesYes
moveAllAttributesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and delivers essentially none. Precompose is a structural mutation that relocates the selected layers into a new nested comp, but the description says nothing about that effect, about irreversibility, or about which comp receives the result. Only domain knowledge of After Effects fills the gap.

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

Conciseness2/5

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

The description is a bare four-word fragment, so it wastes nothing but also earns nothing; brevity here is under-specification rather than conciseness. It also switches to Indonesian while the schema mixes English and Indonesian descriptions, an inconsistent register for an agent parsing it.

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?

For a five-parameter mutation tool with no annotations and no output schema, the definition is far too thin. An agent cannot determine which comp is targeted, what the required layerIndices mean, or what the result looks like without falling back entirely on external knowledge.

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 40%, and the description adds no parameter meaning at all. Nothing explains moveAllAttributes (a subtle AE behavior about carrying transform/masks/effects into the precomp), nothing clarifies the compId/compName/active-comp fallback, and nothing constrains the layerIndices array.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The phrase names a specific verb ('precompose') and resource ('sekumpulan layer' = a set of layers), which is enough to distinguish it from siblings since no other tool in the list precomposes. However it stops there: it never says what precomposing produces (a nested comp), nor what options exist, leaving the operation's scope vague to anyone without After Effects domain knowledge.

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 precompose versus using related layer tools, no prerequisites (e.g. that a target comp must be active or supplied via compId), and no mention of what selection state is required. The agent must infer everything 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