Skip to main content
Glama

animate_action

Animate a layer, peg, or camera move with anticipation, slow-in/out, overshoot, and damped settling to add natural motion to OpenToonz scenes.

Instructions

Move a layer/peg/camera with animation principles baked in (Illusion of Life numbers): anticipation (opposite move, 15% amplitude, 25% of duration, min 3f), main move with slow-in/out, overshoot (10% past target) and damped settle (x0.45 swing) over settle_frames AFTER 'end'. to/from_: {x,y,rotation,scale,scale_x,scale_y} (px/deg/factor). from_ defaults to current value at start.

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": {
      "scene": "<scene>",
      "target": "<target>",
      "start": "<start>",
      "end": "<end>",
      "to": "<to>"
    },
    "name": "animate_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
endYes
from_No
sceneYes
startYes
easingNoease
targetYes
overshootNo
anticipationNo
settle_framesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.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 the full burden and does disclose real behavior: the move extends past 'end' with a damped settle over settle_frames, and from_ defaults to the current value at start. It omits whether existing keyframes are overwritten, whether the target must already exist, permission constraints, and what the call returns — significant gaps for an unannotated mutation tool.

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?

Information-dense and front-loaded — the core action leads and the numeric model follows in a compact parenthetical. The nested parenthetical with multiple percentages is slightly hard to parse, but no sentence is filler.

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

Completeness4/5

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

For a 10-parameter, unannotated, no-output-schema tool the description is unusually substantive on the animation model and the nested to/from_ object. It falls short on easing interaction with slow-in/out and on scene/target/start/end semantics, and it never states the write consequences for an unannotated mutator.

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 0%, so description must compensate; it does well on to/from_ (enumerating x, y, rotation, scale, scale_x, scale_y with px/deg/factor units and the from_ default) and partially on overshoot, anticipation and settle_frames. However scene, target, start, end and especially easing ('ease' default) get no explanatory treatment, leaving half the parameter surface undocumented.

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?

Names a specific verb and resource ('Move a layer/peg/camera') and adds a distinguishing qualifier — animation principles are baked in, listing the exact anticipation/overshoot/settle model. That separates it from a plain transform, but it never contrasts itself with siblings like camera_move, inbetween, or follow_through, so sibling routing 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 or when-not guidance and no alternative is named. The reader can infer it is for animated moves, but nothing says whether to pick this over inbetween/follow_through or what preconditions (existing layer/peg, valid scene) must hold.

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