Skip to main content
Glama

reverse_keyframes

Reverse a property's keyframe order in time and mirror easing so in-becomes-out, enabling reversed animations without manual rekeying.

Instructions

Reverse keyframe order in time. Mirrors easing too (in becomes out).

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": "reverse_keyframes"
  }
}

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").
layerYesLayer: name (string), 1-based index (integer), or { id: N } for duplicate-name-safe stable-id addressing.
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.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does add a genuinely useful behavioral fact: easing is mirrored so "in becomes out", which an agent could not infer from the name or schema. However, it omits whether the operation applies to all keyframes on the property or only selected ones, whether it mutates in place, and whether it requires the property to be selected in AE first.

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

Conciseness5/5

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

Two short sentences, front-loaded with the action and followed by the non-obvious easing side effect. No filler or redundant restatement of the tool name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a mutating, non-annotated tool with four parameters and no output schema, yet the description never clarifies the scope of the mutation (selected keyframes vs. the entire property) or its reversibility. That omission is the single most important thing an agent needs before calling it correctly.

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% and the parameter descriptions are unusually rich (comp/layer/prop/instance addressing forms), so the schema does the heavy lifting. The description adds nothing about how layer and prop determine which keyframes are reversed, so the 3 baseline applies.

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 ("Reverse keyframe order in time") and adds the scope "in time", so it is immediately distinguishable from siblings like shift_keyframes or scale_keyframes which alter timing/duration rather than order. It does not explicitly name or contrast those siblings, which keeps it from 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, no preconditions (e.g., a minimum number of keyframes), and no mention of alternatives such as shift_keyframes for moving keys without reordering. Usage is only implied by the verb.

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