Skip to main content
Glama

Apply animation preset

apply_preset

Applies an After Effects animation preset (.ffx) to one or more layers in a composition, accepting an absolute path, category/name path, or unique preset name and returning added effects.

Instructions

Apply an animation preset (.ffx) to layer(s). 'preset' is an absolute .ffx path, a '/' path from list_presets (e.g. 'Text/Animate In/Fade Up Characters'), or a unique preset name. Opens the comp in the viewer and selects each target layer while applying (AE requires this), then restores the previous selection. Returns the effects added.

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": {
      "preset": "<preset>"
    },
    "name": "apply_preset"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
layersNoTarget layer(s): one ref, an array of refs, 'selected' (default) or 'all'.
presetYesPreset path ('Category/Sub/Name' or absolute .ffx) or unique name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior5/5

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

Adds substantive side-effect disclosure beyond the annotations: the comp is opened in the viewer and each target layer is selected during application, then the previous selection is restored, with the note that AE requires this. It also states the return value ('the effects added'), which matters because no output schema exists.

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

Conciseness4/5

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

One front-loaded paragraph opens with the action and target, then layers in side effects and return value with no filler. It is dense but each clause contributes; the nested parenthetical in the preset enumeration is slightly heavy but not wasteful.

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 mutating tool with no output schema, the description covers the essentials: what is applied, accepted preset forms, target defaults, viewer/selection side effects, and what is returned. Only minor gaps remain, such as behavior when a preset is incompatible with a target layer or when name resolution is ambiguous.

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 100%, so the schema already carries most parameter meaning. The description still adds value by enumerating the three resolution strategies for 'preset' (absolute .ffx path, '<category>/<name>' path, or unique name) and giving a concrete example path, clarifying ambiguity resolution the schema only hints at.

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 ('Apply an animation preset') plus the target ('layer(s)') and the file format (.ffx). It also names list_presets as the source of preset identifiers, which lets an agent route between discovery and application without opening either schema.

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?

The description is implicitly usage-oriented: it explains the acceptable preset reference forms and that 'selected' is the default target, so an agent knows how to call it. However, it never contrasts with the other apply-family siblings (apply_effect, apply_quick_effect, animate_text_preset) or states prerequisites/exclusions, leaving the choice of tool to inference.

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