Skip to main content
Glama

animation_retime

Retime keyframes on explicit layers, bones, points, shapes, and channels to shift, scale, offset, or clear ranges without altering untouched scene layers; frame 0 stays protected.

Instructions

Scoped keyframe retiming across explicit targets/channels (never accidentally shifts untouched scene layers): push_frames, scale_range (Alt+Drag), relative_offset, and clear_range (always protects frame 0).

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": {
      "operation": "<operation>"
    },
    "name": "animation_retime"
  }
}

Input Schema

NameRequiredDescriptionDefault
deltaNoFrame shift delta for push_frames
boneIdNoZero-based bone index inside the BoneLayer
factorNoScale multiplier for scale_range (e.g. 1.5 slows down, 0.5 speeds up)
channelNo
layerIdNoNumeric depth-first layer ID (from layer_list)
pointIdNoZero-based point index for point_pos/point_width/point_curvature
shapeIdNoZero-based shape index for shape_* / combo_blend channels
targetsNoExplicit list of channel targets to retime
toFrameNoOptional inclusive end frame for push_frames
boneNameNoExact bone name
channelsNo
endFrameNoRange end frame
dimensionNoSeparate Dimension axis for vector channels (x, y, z)
fromFrameNoStart frame for push_frames (>= 1)
groupNameNoVitruvian group name for vitruvian_active_bone
layerNameNoExact layer name
layerUuidNoLayer UUID
operationYes
shapeNameNoShape name for shape_* / combo_blend channels
curveIndexNoCurve index on point for point_curvature (default: 0)
groupIndexNoVitruvian group index for vitruvian_active_bone
startFrameNoRange start frame (>= 1)
anchorFrameNoAnchor frame for scale_range (default: startFrame)
newEndFrameNoAlternative destination end frame for scale_range
valueOffsetNoNumeric or vector/color delta added to every key in range for relative_offset
newStartFrameNoAlternative destination start frame for scale_range
splitDimensionsNoSplit vector channel dimensions automatically if not already split

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.3/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 two valuable safety traits: scoping prevents collateral shifts to untouched layers, and clear_range protects frame 0. It says nothing about which arguments are required per operation, reversibility, out-of-range clamping, or failure behavior for a tool with 27 parameters.

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 front-loaded sentence with the scope guarantee first and the operation list after; no filler. It is dense but readable. A slightly clearer enumeration of operations would cost nothing but is not required.

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?

For a 27-parameter tool with four distinct operations and no annotations or output schema, the description only covers scoping and one special case (frame 0 protection). An agent must infer from the schema alone which of the 27 parameters apply to which operation and what each operation actually does to keyframe timing.

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 89%, so the baseline is 3. The description adds operation names (push_frames, scale_range, relative_offset, clear_range) and the Alt+Drag analogy, but does not map parameters to operations — e.g., that delta belongs to push_frames or factor/valueOffset drive the other modes — which is the main semantic gap the schema leaves open.

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 pairs a specific verb and resource ("keyframe retiming") with a scope qualifier ("across explicit targets/channels") and enumerates the four supported operations. This clearly separates it from destructive, scene-wide edits, though it never names a sibling tool by comparison.

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?

The parenthetical "never accidentally shifts untouched scene layers" implies when this tool is the right choice, and the operation list hints at the range of use cases. However, there is no explicit statement of when to use this versus animation_setKeyframes or animation_deleteKeyframe, nor any prerequisite or exclusion guidance.

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