Skip to main content
Glama

preview_frame

Render a single frame from an OpenToonz scene and return the image so you can visually check your work before committing changes.

Instructions

Render one frame through OpenToonz and return the image (check your work visually).

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>"
    },
    "name": "preview_frame"
  }
}

Input Schema

NameRequiredDescriptionDefault
frameNo
sceneYes
max_widthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.1/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 disclosure burden. It does contribute the engine dependency (OpenToonz) and return type (an image), but is silent on side effects (does it write to disk, alter scene state?), required scene state, render latency, and failure modes — material gaps for a render operation.

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 action first and the usage hint appended in parentheses; nothing is wasted. It is efficient, though the parenthetical reads as an aside rather than integrated guidance.

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?

No output schema, no annotations, and three parameters with zero description coverage mean the description should do more. An agent still cannot tell how to address a scene, what frame indexing to use, or how 'max_width' affects the returned image, so it is under-specified for the tool's actual surface.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate and largely does not. 'one frame' gestures at the frame parameter but gives no numbering/indexing convention, and neither 'scene' (path format? scene name?) nor 'max_width' (resizing behavior of the returned image) is addressed.

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 specific verb ('Render') plus a scoped resource ('one frame') and states it returns the image, so the agent knows the outcome. It does not distinguish itself from the sibling 'render', so the difference between previewing one frame and a full render 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 Guidelines3/5

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

The parenthetical '(check your work visually)' implies the intended use — verification during iteration — but there is no explicit when-not guidance or pointer to the 'render' sibling for full renders. Usage is implied rather than stated.

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