Skip to main content
Glama

Get keyframes

get_keyframes
Read-only

List keyframes for an After Effects layer property—times, values, interpolation, easing, tangents, and selection—to inspect or debug animation data.

Instructions

List keyframes of a property with time, value, in/out interpolation, temporal ease (speed/influence per dimension), temporal continuous/auto-bezier, spatial tangents, spatial continuous/auto-bezier, roving, selected and label.

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

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
keysNoKeyframes to affect: 'all' (default), 'selected', a 1-based index, an array of indexes, {start,end} time range (inclusive, either end optional), or {times:[...]} exact key times.
layerYesLayer: 1-based index, layer name, or {id}/{index}/{name}. 'selected' = first selected layer.
limitNoMax keys returned (default 200).
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

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds value by spelling out the return payload in the absence of an output schema, but says nothing about truncation via limit (default 200), behavior on properties with zero keyframes, or errors for an unresolved property path.

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

Conciseness3/5

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

It is a single sentence with the verb and resource front-loaded, so there is no preamble waste. However, the back half degenerates into a dense run-on enumeration of return fields ('temporal continuous/auto-bezier, spatial tangents...') that is hard to parse and would read better as a structured list.

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?

With five parameters all fully documented in the schema and no output schema, the description's main remaining job is to describe the return shape, which it does thoroughly. The gap is that it omits the practical read behavior an agent needs—result capping at the default limit and what happens when the property has no keys.

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 100%, with comp, layer, property, keys and limit all documented in detail, so the schema does the heavy lifting and the baseline is 3. The description adds only the loose notion of 'a property' and contributes nothing about time-range selection, key filtering, or the limit cap.

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 ('List keyframes of a property') and then enumerates the data each keyframe carries (time, value, interpolation, ease, tangents), so the agent knows exactly what it gets back. It does not distinguish itself from nearby read tools such as get_property or get_layer_info, so it stops short of a 5.

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 guidance at all: no statement of when to reach for this instead of get_property, get_effect_params, or get_expressions, and no prerequisites (e.g. that the property must already be animated). The agent must infer the use case from the name alone.

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