Skip to main content
Glama

scale_keyframes

Stretch or squash keyframes in time around the first keyframe: use a factor above 1 to slow animation and below 1 to speed it up.

Instructions

Stretch/squash keyframes in time around the first keyframe. factor>1 expands (slower), <1 compresses (faster).

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>",
      "factor": "<factor>"
    },
    "name": "scale_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.
factorYes
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

A3.6/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. It usefully discloses the anchoring behavior (scaling is relative to the first keyframe) and the direction of the factor, which is real behavioral context, but it says nothing about whether the operation is destructive/in-place, what happens with a single keyframe, or how comp/layer resolution failures are reported.

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 anchor point, then the factor semantics. Nothing is padded and every clause carries information the agent needs.

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 five parameters, no annotations, and no output schema, the description covers the core operation but leaves the return value, mutation side effects, and failure modes unaddressed. Adequate to call correctly in the happy path, incomplete for an agent reasoning about consequences.

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 80%, so the baseline is 3; the description goes beyond that by defining the semantics of `factor`, the one parameter the schema leaves as a bare number with only a minimum. "factor>1 expands (slower), <1 compresses (faster)" removes genuine ambiguity about direction that the schema does not resolve.

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 (stretch/squash) plus resource (keyframes) and scope (in time around the first keyframe). It is clearly distinct from neighbors like shift_keyframes or reverse_keyframes by naming the anchor and the scaling operation, though it does not name any sibling explicitly.

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 operation itself — an agent can infer this is the tool for retiming keyframe spacing. However, there is no explicit when-to-use versus shift_keyframes / distribute_keyframes_evenly / reverse_keyframes guidance, and no stated prerequisites such as the property needing at least two keyframes.

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