Skip to main content
Glama

animation_createCycle

Builds multi-channel animation cycles across a frame range by ensuring boundary keys and setting Cycle interpolation to the next frame, preventing double-frame stutter in Moho Studio projects.

Instructions

Build a seamless multi-channel animation cycle across [startFrame, endFrame]: ensures boundary keys at start/end, copies startFrame to endFrame when needed, and sets Cycle interpolation targeting startFrame + 1 (Frame 2 when starting at Frame 1) to avoid the double-frame stutter.

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": {
      "endFrame": "<endFrame>"
    },
    "name": "animation_createCycle"
  }
}

Input Schema

NameRequiredDescriptionDefault
boneIdNoZero-based bone index inside the BoneLayer
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
targetsNoOptional explicit list of { layerName/Id, channel, boneName/Id, dimension, ... } targets
boneNameNoExact bone name
channelsNoOptional list of channel names or channel selector objects to cycle together
colorTagNo
endFrameYesCycle end frame where Cycle interpolation is applied
intervalNo
cycleModeNoDefault: 'relative'
dimensionNoSeparate Dimension axis for vector channels (x, y, z)
groupNameNoVitruvian group name for vitruvian_active_bone
layerNameNoExact layer name
layerUuidNoLayer UUID
shapeNameNoShape name for shape_* / combo_blend channels
curveIndexNoCurve index on point for point_curvature (default: 0)
groupIndexNoVitruvian group index for vitruvian_active_bone
startFrameNoCycle start frame (default: 1)
additiveCycleNo
copyStartToEndNoCopy startFrame value to endFrame if endFrame has no key (default: true)
ensureStartKeyNoKey startFrame if no key exists yet (default: true)
splitDimensionsNoSplit vector channel dimensions automatically if not already split
cycleTargetFrameNoLoop target frame (default: startFrame + 1)
forceCopyStartToEndNoAlways overwrite endFrame value with startFrame value (default: false)
interpolationAtStartNoOptional interpolation mode for startFrame (e.g. 'linear')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries full disclosure burden, and it does explain concrete side effects: boundary keys are ensured at start/end, startFrame is copied to endFrame when needed, and Cycle interpolation is targeted at startFrame+1 to avoid a double-frame stutter. However, it omits that this mutates/overwrites existing keyframes, what happens to keys inside the range, and how additive/mode options change the result.

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 that packs in the essential mechanics with no filler. It is dense but every clause (boundary keys, copy behavior, cycle target) earns its place.

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 27-parameter mutation tool with no annotations and no output schema, the definition covers the core mechanism well but leaves many knobs (channels/targets selection, cycleMode, additiveCycle, interval, colorTag) unexplained. An agent could invoke the minimum viable call but would be guessing on the non-default options.

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 85%, above the 80% threshold, so the schema already documents most parameters; baseline is 3. The description adds useful meaning by showing that cycle targeting defaults to startFrame+1 (matching cycleTargetFrame) and explaining the copy/ensure behavior, but leaves undocumented params like additiveCycle, cycleMode, interval, and colorTag untouched.

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+resource ("Build a seamless multi-channel animation cycle") with the frame range, so an agent knows exactly what it produces. It never names or differentiates itself from close siblings like animation_tween or animation_setKeyframes, so sibling disambiguation is left to inference.

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 explicit when-to-use/when-not guidance and no mention of alternatives such as animation_tween or animation_setKeyframes that might also create looping motion. The frame-range context implies intended usage but nothing steers the agent between this tool and its neighbors.

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