Skip to main content
Glama

Set property value

set_property

Sets static values for After Effects layer properties and, when keyframes exist, requires atTime to add or update a keyframe at that time.

Instructions

Set a property's static value. If the property already has keyframes, this fails unless atTime is given; with atTime it sets (or adds) a keyframe at that time. Colors accept '#RRGGBB'; scalars fill all dimensions (Scale: 50 -> [50,50]); [x,y] on a 3D property keeps z. Source Text accepts a string or {text, fontSize, fillColor, ...}.

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>",
      "property": "<property>",
      "value": "<value>"
    },
    "name": "set_property"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
layerYesLayer: 1-based index, layer name, or {id}/{index}/{name}. 'selected' = first selected layer.
valueYesValue: number (1D), array ([x,y] / [x,y,z] / color), '#RRGGBB' for colors, string or {text,...} for Source Text, {vertices,inTangents,outTangents,closed} for paths.
atTimeNoSet a keyframe at this time instead of a static value.
propertyYesProperty path, '/'-separated, by display name, matchName or 1-based index. Shortcuts: 'Position', 'Scale', 'Rotation', 'Opacity', 'Anchor Point', 'Source Text', 'Time Remap', 'Audio Levels'. Examples: 'Transform/Position', 'Effects/Gaussian Blur/Blurriness', 'Contents/Rectangle 1/Fill 1/Color', 'Masks/Mask 1/Mask Feather'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare the operation as non-read-only and non-destructive, but the description adds a genuine failure mode (keyframed properties reject static writes) and the atTime add-or-update semantics. It still omits return value, undo behavior, and what happens when only part of the value is applied.

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?

Front-loaded with the core action, then the keyframe precondition, then value-format rules in the order an agent would need them. Dense but every clause carries information; only the trailing type enumeration feels slightly list-like.

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 mutation tool with annotations but no output schema, the description covers the precondition, keyframe semantics, and the type-specific value encodings well enough to call correctly. It leaves out what is returned and whether existing static values or interpolation modes are affected.

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 100%, so the baseline is 3; the description earns more by explaining value coercion that the schema cannot express: scalars broadcast to all dimensions (Scale 50 -> [50,50]), [x,y] on a 3D property preserves z, colors take '#RRGGBB', and Source Text accepts a string or {text, fontSize, fillColor}.

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 opens with a specific verb+resource: "Set a property's static value," and the keyframe clause makes clear it is not the same as an animation helper. It never names a sibling, so the distinction from animate_property or set_shape_path is inferred rather than stated.

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?

There is real conditional guidance: use atTime when the property already has keyframes, otherwise the call fails. However, it never says when to prefer a sibling such as animate_property or set_shape_path/set_source_text_keyframes, even though those clearly overlap with the keyframe and path behavior described here.

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