Skip to main content
Glama
After Effects MCP for Antigravity

After Effects MCP for Antigravity

by okaybhargav

get_property_keyframes

Retrieves existing keyframes and their times and values from a specified layer property, enabling inspection and reuse of animation data.

Instructions

Retrieves existing keyframes on a property (times, values).

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": {
      "property_name": "<property_name>"
    },
    "name": "get_property_keyframes"
  }
}

Input Schema

NameRequiredDescriptionDefault
layer_nameNoName of the layer.
layer_indexNo1-based index of the layer.
property_nameYesProperty name (e.g. 'Position', 'Scale', 'Opacity', 'Rotation').
composition_idNoOptional composition item ID.
property_groupNo'Transform' or effect name.

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?

With no annotations, the description carries the full behavioral burden; it does disclose the return content (times, values), which is valuable since no output schema exists. However, it says nothing about behavior when the property has no keyframes, how layer_name versus layer_index are resolved, or whether the call is purely read-only.

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?

A single short sentence with the core action and return content front-loaded and no wasted wording. It is efficient, though bordering on under-specified for a five-parameter tool.

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 read tool with no annotations and no output schema, one sentence covering the resource and returned fields is minimally adequate. It leaves out how to discover valid property names (a sibling tool exists for that) and how the layer-identification parameters combine, which an agent would need for confident invocation.

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%, so all five parameters are documented in the schema, including examples for property_name and property_group. The description adds no meaning beyond that baseline, such as how layer_name and layer_index interact or whether composition_id is required in practice.

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 gives a specific verb and resource ("Retrieves existing keyframes on a property") and clarifies the returned content (times, values), which is enough to distinguish it from the mutating siblings add_property_keyframe and remove_property_keyframe. It does not explicitly name those siblings or list_supported_keyframe_properties, so differentiation is implied 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 Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit guidance on when to use this versus add_property_keyframe, remove_property_keyframe, or list_supported_keyframe_properties. The word "existing" weakly implies a read of already-present animation data, but the agent must infer that on its own.

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