Skip to main content
Glama

add_keyframe

Add a keyframe to a layer property at a specific time, defaulting to that property's current value so easing stays clean. Pair with set_easing to refine motion.

Instructions

Add a keyframe to a property at the given time. Defaults the value to the property's value at that time, so easing stays clean. Pair with set_easing afterward.

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

Input Schema

NameRequiredDescriptionDefault
compNoComp: name (string), or { id: N } for duplicate-name-safe stable-id addressing. Defaults to active comp.
propYesProperty: a transform alias ("Position","Scale","Rotation","Opacity","Anchor Point","X Rotation","Y Rotation","Orientation"), an ADBE matchName ("ADBE Position", "ADBE Effect Parade.ADBE Gaussian Blur 2.ADBE Blurriness"), or a dotted display path ("Effects.Gaussian Blur.Blurriness").
timeNo
layerYesLayer: name (string), 1-based index (integer), or { id: N } for duplicate-name-safe stable-id addressing.
valueNoOptional explicit value (defaults to property's value at that time). Number/string/boolean for scalars; array of numbers for vectors.
instanceNoTarget a specific AE when more than one is connected (e.g. "2026", "2025", or a major like "26"). Omit when only one AE is open — see list_instances.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.4/5.0
Behavior2/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 discloses the value-defaulting behavior, which is genuinely useful, but says nothing about whether an existing keyframe at the same time is overwritten, what is returned, or any error/permission conditions for this mutation.

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?

Two tight sentences with the core action front-loaded and the follow-up instruction last. No filler; slightly cramped phrasing ('so easing stays clean') but efficient.

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 mutation tool with no annotations and no output schema, the description covers the main behavior and next step, but leaves the agent guessing about duplicate-keyframe handling, return values, and failure modes across its 6 parameters.

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 83%, so the schema already documents prop, layer, comp, instance and the value default. The description's mention of defaulting value to the property's value merely repeats what the schema says, adding no format or semantics beyond it.

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 ('Add a keyframe to a property at the given time'), which is unambiguous against the add_* siblings. It clarifies the relationship to set_easing as a follow-up step, but does not explicitly rule out any alternative approach to keyframing.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Gives clear workflow context: defaults the value to the property's current value 'so easing stays clean', and instructs to pair with set_easing afterward. Useful positive guidance, but no when-not-to-use cases or prerequisites (e.g. what happens if a keyframe already exists at that time).

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