Skip to main content
Glama

ae_apply_effect

Adds an effect to a specified After Effects layer, applies optional parameter values, and returns the effect's available parameters for configuration.

Instructions

Adiciona um efeito à camada e define parâmetros. Devolve a lista de parâmetros disponíveis.

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_index": "<layer_index>",
      "effect": "<effect>"
    },
    "name": "ae_apply_effect"
  }
}

Input Schema

NameRequiredDescriptionDefault
effectYesNome em inglês ou matchName: 'Gaussian Blur', 'ADBE Fill', 'Glow'…
paramsNoEx.: {"Blurriness": 15}; cores como "#RRGGBB"
comp_nameNoNome exato da composição. Use este OU comp_index.
comp_indexNoÍndice do item no painel Projeto (base 1), como em ae_get_project_overview.
layer_indexYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), so the description does not need to restate safety. It does add a genuinely useful post-condition — the call returns the list of available effect parameters — which compensates for the absent output schema. It does not disclose whether re-applying the same effect duplicates it, whether params are applied atomically, or what happens with invalid parameter names.

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 sentences, zero filler, with the primary action stated first and the return-value note second. Nothing redundant or buried.

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

Completeness3/5

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

For a 5-parameter mutation tool with no output schema, the description covers the core action and the return value, and the schema carries most parameter detail. It remains silent on effect duplication behavior, partial application of params, and comp/layer resolution prerequisites, which are meaningful gaps for an agent invoking it correctly the first time.

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 80%, with the effect name/matchName and params formats already documented in the schema, so baseline 3 applies. The description's phrase 'define parâmetros' adds only framing, not new syntax or mapping detail beyond what the schema provides.

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

Purpose4/5

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

The description names a specific verb and resource ('Adiciona um efeito à camada') plus a secondary action ('define parâmetros'), which is clearly distinct from siblings like ae_set_layer_properties or ae_add_layer. It stops short of explicitly contrasting itself with those siblings, so an agent must infer the boundary.

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 when-to-use vs when-not guidance, no prerequisites (e.g. that a comp and layer must already exist, or that ae_get_layer_properties can be consulted first), and no mention of how this differs from ae_set_layer_properties for setting effect values. The usage context is only implied by the verb.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.