Skip to main content
Glama

Set effect params

set_effect_params

Set effect parameters on an After Effects layer, including values, expressions, and keyframes at a specific time. Returns new values and warnings for invalid params.

Instructions

Set one or more params of an effect on a layer. With 'time' each value becomes a keyframe at that time; params that are already animated get a keyframe at the current time. Per-param objects can set expressions or several keyframes. Returns the new values; problems are listed in 'warnings' (strict=true makes them errors).

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>",
      "params": "<params>"
    },
    "name": "set_effect_params"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
timeNoSet values as keyframes at this time (seconds, '12f' or timecode).
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').
paramsYes{ param: value }. Keys: param display name (case/punctuation-insensitive), matchName, 1-based index, or 'Topic/Name' for params under a section header (e.g. Lumetri 'Vignette/Amount'). Values: numbers in AE scripting units (check min/max with get_effect_params; e.g. Drop Shadow Opacity is 0-255, Fill Opacity 0-1), colors '#RRGGBB', checkboxes true/false, points [x,y] in layer pixels, popups as 1-based item index, Dropdown Menu Control items by label, layer params by layer name/index (0 = none). An object {value?, time?, expression?, keyframes?:[{time,value}]} sets keyframes/expressions.
strictNoFail on the first unknown/invalid param instead of warning.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already establish this is a non-read-only, non-destructive, local mutation, and the description usefully adds the return contract (new values) and the warnings/strict error semantics. It does not say what happens to pre-existing values that are overwritten (whether undoable) or whether params omitted from the call are left untouched, which is the key risk for a mutating setter.

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?

Four tight sentences, front-loaded with the core action, then keyframe behavior, then the return/error contract. Dense but every sentence carries information; minor cost is that the keyframe rules read as compressed jargon.

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 6-parameter mutation tool with no output schema, the description covers the return value, the warning/strict behavior, and the keyframe mode, which is what an agent most needs. The remaining gap is only the unstated effect on existing values when overwriting.

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 the schema already documents layer, effect, comp, params, time, and strict in depth. The description adds behavioral meaning for 'time' (keyframe placement, and the subtle rule that already-animated params get a keyframe at the current time) rather than new per-parameter semantics, so it lands at the schema-driven baseline.

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?

States a specific verb and resource: setting params of an effect on a layer, which cleanly separates it from apply_effect, remove_effect, and get_effect_params. It does not explicitly name a sibling or state when another tool is preferred, but the resource scope is unambiguous.

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 implied rather than stated: the 'time' sentence implies keyframing mode, and the per-param object sentence implies expression/keyframe setting. It never says when to prefer set_expression, set_expressions_bulk, or set_keyframe_interpolation instead, so an agent must infer routing from sibling names.

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