Skip to main content
Glama

animation_tween

Creates weighted breakdown, anticipation, or overshoot keyframes between surrounding keyframes across multiple animation channels at a target frame.

Instructions

Generate a weighted breakdown (0..1), anticipation (weight < 0), or overshoot (weight > 1) keyframe at frame interpolated between surrounding keyframes across one or more channels.

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": {
      "frame": "<frame>"
    },
    "name": "animation_tween"
  }
}

Input Schema

NameRequiredDescriptionDefault
holdNoFrames to hold prior value before interpolating
val1NoInterpSetting.val1 (relative cycle delta or noisy/bounce/elastic param)
val2NoInterpSetting.val2 (absolute cycle target frame when >= 0, -1 for relative)
frameYesTarget breakdown frame (>= 1)
boneIdNoZero-based bone index inside the BoneLayer
weightNoInterpolation weight: 0.5 midpoint, < 0 anticipation, > 1 overshoot (default: 0.5)
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
staggerNo
targetsNo
boneNameNoExact bone name
channelsNo
colorTagNoKeyframe color tag index (InterpSetting.tags)
intervalNoStep interval in frames (1 = ones, 2 = twos, 3 = threes)
cycleBackNoRelative frame delta for Cycle interpolation (default: frame - 2, loops back to Frame 2)
cycleModeNoCycle targeting mode: 'relative' (val1 delta, val2=-1) or 'absolute' (val2 frame)
dimensionNoSeparate Dimension axis for vector channels (x, y, z)
groupNameNoVitruvian group name for vitruvian_active_bone
layerNameNoExact layer name
layerUuidNoLayer UUID
nextFrameNoOptional explicit next keyframe override
prevFrameNoOptional explicit previous keyframe override
shapeNameNoShape name for shape_* / combo_blend channels
curveIndexNoCurve index on point for point_curvature (default: 0)
groupIndexNoVitruvian group index for vitruvian_active_bone
additiveCycleNoEnable additive cycle accumulation
bezierInAngleNoBezier incoming tangent angle (radians, InterpSetting:SetBezierInAngle)
interpolationNo
bezierOutAngleNoBezier outgoing tangent angle (radians, InterpSetting:SetBezierOutAngle)
bezierInPercentNoBezier incoming handle percentage (InterpSetting:SetBezierInPercentage)
splitDimensionsNoSplit vector channel dimensions automatically if not already split
bezierOutPercentNoBezier outgoing handle percentage (InterpSetting:SetBezierOutPercentage)
cycleTargetFrameNoTarget loop frame when using Cycle interpolation

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It discloses the core behavior (key is derived by interpolation from neighbors, effects vary with weight sign) but says nothing about overwrite semantics if a key already exists at `frame`, why prevFrame/nextFrame overrides exist, whether changes are undoable, or what the response looks like.

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 dense sentence that front-loads the output and uses parentheticals to map weight ranges to effects. Every clause carries information; the only weakness is that the parameter-explanation parentheses crowd the core statement.

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 35-parameter mutation tool with no annotations and no output schema, the description covers only frame targeting and weight. It omits channel/target selection, hold/stagger, interpolation mode interactions, cycle parameters, and result behavior, leaving the agent to infer a great deal from the schema alone.

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 86%, so the schema already documents nearly all 35 parameters, including the weight semantics the description restates. The description adds essentially no meaning beyond the schema and leaves the interaction of hold, stagger, targets, channels, and cycle parameters unexplained. Baseline 3 for high coverage is appropriate.

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?

Uses a concrete verb ('Generate') plus a precisely described artifact: a breakdown, anticipation, or overshoot keyframe at `frame`, interpolated between surrounding keyframes across channels. The weight-to-effect mapping makes the output unambiguous. It does not name a sibling (e.g. animation_setKeyframes or animation_createCycle) to contrast against, 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 Guidelines3/5

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

The phrase 'interpolated between surrounding keyframes' implies the use case: inserting an in-between key rather than authoring a key from scratch, and the weight semantics imply anticipation/overshoot scenarios. But there is no explicit when-to-use versus animation_setKeyframes or animation_createCycle, and no stated prerequisites such as needing existing surrounding keys.

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