Skip to main content
Glama

Duplicate effect

duplicate_effect

Copy an effect on the same layer, including values, keyframes, and expressions. Optionally rename the copy or generate multiple copies.

Instructions

Duplicate an effect on the same layer (with its values, keyframes and expressions). Optionally rename the copy or make several copies.

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": {
      "layer": "<layer>",
      "effect": "<effect>"
    },
    "name": "duplicate_effect"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
countNoNumber of copies (default 1, max 50).
layerYesLayer: 1-based index, layer name, or {id}/{index}/{name}. 'selected' = first selected layer.
effectYesEffect on the layer: 1-based index in the Effects stack, effect name (as renamed), or matchName (e.g. 'ADBE Glo2').
newNameNoName for the copy (numbered when count > 1).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, and the description usefully adds what is carried over in the copy (values, keyframes, expressions). It does not say where the copy is inserted in the Effects stack, what happens on a name collision, or whether the effect must exist/be selected, which are the remaining behavioral unknowns for a mutating 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?

Two short clauses with zero waste, and the core action plus its fidelity guarantee are front-loaded ahead of the optional behaviors. Nothing repeats the schema or title verbatim beyond the necessary verb+resource.

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 a 5-parameter tool with full schema coverage and existing annotations, the description covers the essentials: what is copied and the optional rename/multi-copy modes. The notable gap is placement of the duplicate and any return information (no output schema exists, so the agent learns nothing about the result), but this is minor for a straightforward duplication primitive.

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 100%, so all five parameters (including layer/effect anyOf forms and the count maximum) are already documented. The description only restates the purpose of newName and count ('Optionally rename the copy or make several copies') without adding syntax or constraint detail, so baseline 3 applies.

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?

States a specific verb and resource ('Duplicate an effect on the same layer') and immediately clarifies the fidelity of the copy ('with its values, keyframes and expressions'). The resource noun cleanly separates it from the duplicate_comp and duplicate_layer siblings without needing to name them.

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 is only implied: the optional rename hints at a rename-via-copy workflow (relevant next to rename_effect) and 'make several copies' signals a bulk case. There is no explicit when-to-use, when-not-to-use, or named alternative, so an agent must infer the 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