Skip to main content
Glama

Copy effects between layers

copy_effects

Transfers all or selected effects from one After Effects layer to other layers, including keyframes and expressions while skipping unsupported curve/gradient values.

Instructions

Copy all (or selected) effects from one layer to other layers, recreating each effect by matchName and copying param values, keyframes (with interpolation/ease) and expressions. Source may be in another comp ('fromComp'). replace=true first removes the targets' existing effects. Curves/gradient-type custom values cannot be copied by script and are listed as skipped.

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": {
      "fromLayer": "<fromLayer>"
    },
    "name": "copy_effects"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
effectsNoEffects to copy (default all).
replaceNoRemove the targets' existing effects first (default false).
fromCompNoComp of the source layer (default: same as 'comp').
toLayersNoTarget layers in 'comp': array of refs, 'selected' or 'all'.
fromLayerYesSource layer (in 'fromComp' if given, else in 'comp').
keyframesNoCopy keyframes (default true); false copies the value at the first key.
expressionsNoCopy expressions (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior2/5

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

The description is unusually informative about mechanism (matchName matching, keyframe interpolation/ease, expressions) and about a silent-failure mode (curves/gradient custom values are skipped and reported). However, it discloses that replace=true 'first removes the targets' existing effects', which is a non-additive, destructive update, while the annotations declare destructiveHint=false — the two disagree on the tool's safety profile.

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?

Three dense sentences, each earning its place: scope first, mechanism second, destructive caveat and known limitation last. No filler and no repetition of the title.

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?

For an 8-parameter mutation tool with no output schema, the description covers the essential mechanics, the cross-comp case, and the known copy failure mode, and 'listed as skipped' implies a return payload. It stops short of saying what happens when a target already has a matching effect but replace=false (append vs overwrite) or with multiple target layers in mixed states.

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 coverage is 100%, so every parameter already carries documentation, and the description largely restates it (replace, fromComp, keyframe/expression copying). It adds a little framing value — cross-comp sourcing and the matchName-based identity used for effects — but nothing beyond what a reader of the schema would already know.

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

Purpose5/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 ('Copy all (or selected) effects from one layer to other layers') and immediately adds mechanism ('recreating each effect by matchName'), which separates it from sibling operations like copy_keyframes. An agent can tell exactly what gets copied and onto what.

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?

It makes the usage context clear (single source layer to one or many target layers, optionally across comps) and surfaces the replace=true semantics, but it never states when to prefer this over alternatives such as copy_keyframes, nor any precondition or when-not-to-use case. Guidance is implied rather than explicit.

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