Skip to main content
Glama

ae_set_keyframes

Add keyframes to layered or effect properties in Adobe After Effects and control interpolation, ease, influence, and spatial tangents for precise animation timing.

Instructions

Add keyframes to a layer or effect property and set their interpolation. ease: linear | hold | bezier | easy (Easy Ease) | easyIn | easyOut; influence 0.1..100 (default 33.3); easeIn/easeOut: { speed, influence } for custom temporal ease; spatial props also accept spatialAutoBezier, spatialContinuous, roving, inTangent, outTangent. One undo step.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
compNoComposition name or numeric item id. Omit to use the active composition.
easeNoDefault ease for all keys.
keysYes[{ time, value, ease?, influence?, easeIn?, easeOut?, ... }]. Omit value to only change an existing key's ease.
layerYesLayer name or 1-based index.
replaceNoRemove existing keyframes of this property first.
propertyYesProperty path: 'Transform/Position', 'Opacity', 'Source Text', 'Effects/Gaussian Blur/Blurriness' (names, matchNames or 1-based indices, '/'-separated or as an array).
influenceNoDefault influence for all keys.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does add real behavioral context with 'One undo step,' telling the agent the whole call is a single reversible transaction, and the replace semantics imply destructive behavior. It stops short of stating return behavior, permission needs, or error conditions for a mutation tool.

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 action, then dense parameter semantics, then the undo note. Given the seven parameters and the interpolation vocabulary, the length is justified and there is little filler, though the ease/easeIn detail is packed tightly into one long clause.

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?

No output schema and no annotations, so the description must stand alone for a 7-parameter mutation tool. It covers purpose, ease semantics and undo, but omits return values, error behavior, and how replace interacts with existing keyframe selection, leaving gaps for a tool of this complexity.

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 baseline is 3, but the description goes beyond the schema by explaining that influence defaults to 33.3, that 'easy' means Easy Ease, that easeIn/easeOut take {speed, influence} objects, and by listing the spatial-only keys (spatialAutoBezier, roving, inTangent, outTangent) not present in the schema.

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+resource ('Add keyframes to a layer or effect property') plus a secondary effect ('set their interpolation'), which distinguishes it from the value-setting sibling ae_set_property. It does not name any sibling explicitly, so it stops short of full differentiation.

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 by the domain — you call this when you need to create or re-time keyframes — but there is no explicit when-to-use versus ae_set_property or ae_copy_animation, and no exclusions or prerequisites are stated. The rest of the description is ease syntax, not usage context.

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