Skip to main content
Glama

camera_move

Animate camera pans, truck zooms, and decaying impact shakes in OpenToonz scenes, with optional layer parallax for depth.

Instructions

Camera work (satsuei): kind='pan': move view by dx,dy px from start..end (eased 8f). parallax={layer: ratio} makes layers move at ratio of camera speed (sky 0.05, far BG 0.3, mid 0.6, char 1.0, FG 1.8). kind='truck': zoom to 'zoom' scale (0.75 = push in 25%) with exponential interpolation. kind='shake': impact shake starting at 'start', strength px (8 default), decays x0.7/frame on ones.

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>",
      "kind": "<kind>",
      "start": "<start>"
    },
    "name": "camera_move"
  }
}

Input Schema

NameRequiredDescriptionDefault
dxNo
dyNo
endNo
kindYes
zoomNo
sceneYes
startYes
parallaxNo
strengthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.6/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 it does disclose real behavior: 8-frame easing, exponential zoom interpolation, shake decay of x0.7 per frame 'on ones', and default strength of 8px. It omits whether existing camera keyframes are overwritten, whether the operation is reversible, and what unit 'scene'/'start' anchor to, leaving mutation semantics partly unclear.

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?

Three mode-keyed clauses, each front-loaded with the kind name and packed with concrete numbers; no filler sentences. The mode-per-line structure lets an agent read only the branch it 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 9-parameter tool with zero annotation and zero schema coverage, the description covers the animation math well and supplies missing enum values for 'kind'. It still leaves the scene reference, interaction with existing camera moves, and any return value undefined, which is a meaningful gap for a tool that mutates timeline state.

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 0%, so the description must compensate, and it largely does: dx/dy are pixel offsets, end is the terminal frame of the eased move, zoom is a scale factor (0.75 = push in 25%), parallax maps layer names to speed ratios with concrete default values, and strength is in px with a default of 8. Only 'scene' is left entirely to inference, which is acceptable given its self-evident meaning.

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 ('Camera work') and immediately enumerates the three modes it performs: pan, truck, shake. An agent can tell this is a manual camera-animation tool rather than a selection tool. It does not differentiate itself from the sibling camera_follow, which is a plausible competing choice for camera behavior.

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?

By defining each kind's effect (dx/dy pan with easing, zoom-to-scale truck, decaying shake) the description implicitly guides which kind to pick. It offers no explicit when-to-use framing, no exclusions, and no guidance on choosing this over camera_follow or how it composes with existing camera keyframes.

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