Skip to main content
Glama

copy_effects

Clone an effect stack from a source layer to one or more destination layers, including parameter values, keyframes, and expressions; copy selected effects or clear existing effects first.

Instructions

Clone an effect stack from a source layer to one or more dest layers. For each effect it adds the effect by matchName, then copies every settable parameter value, its keyframes (full fidelity — interp/ease/spatial tangents), and any expressions. Copies ALL source effects by default; pass effects (names and/or 1-based indices) to copy a subset (in source order). clearExisting removes each dest layer's existing effects first (rejected when a dest is the source layer itself). Dest layers may live in another comp via destComp. CUSTOM_VALUE / ARB parameters (e.g. Curves curves, Colorama gradients) are NOT script-copyable — they are skipped and listed in skippedParams ("Effect > Param"). Returns { copiedTo:[{layer,index,effects,failed?}], effectsCopied, skippedParams, effectsNotFound? }.

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

Input Schema

NameRequiredDescriptionDefault
compNoComp: name (string), or { id: N } for duplicate-name-safe stable-id addressing. Defaults to active comp.
destYesOne or many layers (each: name, 1-based index, or { id: N }). If omitted, uses currently selected layers.
sourceYes
effectsNoEffect names and/or 1-based indices to copy. Omit to copy every effect.
destCompNoComp (name or { id: N }) for the dest layer(s) if different from the source comp. Defaults to the source comp.
instanceNoTarget a specific AE when more than one is connected (e.g. "2026", "2025", or a major like "26"). Omit when only one AE is open — see list_instances.
clearExistingNoRemove all existing effects on each dest layer before copying. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so thoroughly: it explains matchName-based addition, parameter/keyframe/expression copying, source-order subsetting, the rejection when a destination equals the source, cross-comp destinations, and non-copyable parameter types. It also documents return fields and skipped parameters, giving the agent a clear picture of side effects and failure reporting.

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 description is dense but well front-loaded: the core clone operation comes first, then parameter behavior, then edge cases and return shape. Every sentence adds useful information, and the parentheticals clarify complex cases without becoming filler.

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

Completeness5/5

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

For a 7-parameter mutation tool with nested objects, no output schema, and no annotations, the description is unusually complete. It covers copying behavior, subset selection, replacement semantics, cross-comp destinations, unsupported parameters, rejection conditions, and return shape.

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 already high at 86%, so the baseline is 3, but the description adds meaningful semantics beyond the schema: `effects` can be names and/or 1-based indices and are copied in source order; `clearExisting` is rejected when a destination layer is the source; and CUSTOM_VALUE/ARB parameters are skipped and reported. It does not add much about `comp`, `instance`, or `source` syntax, but those are well covered by the schema.

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 opens with a precise verb and resource: "Clone an effect stack from a source layer to one or more dest layers." It clearly distinguishes the operation from siblings like apply_effect or copy_keyframes by describing full effect-stack cloning, including parameters, keyframes, and expressions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear operational context: copy all effects by default, pass `effects` for a subset, and use `clearExisting` only when removal is intended. It does not explicitly name when to choose copy_effects over siblings such as apply_effect or copy_keyframes, so it falls short of full alternative guidance.

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