Skip to main content
Glama

render_animation

Renders a full animation or selected frame range in Daz Studio with Iray, outputs one image per frame, and joins them into an MP4 or GIF; use step or short ranges to test long renders.

Instructions

Renders the whole animation (or a frame range) with Iray, one image per frame, and joins them into an MP4 or GIF. Waits until it is done. It takes about frames x max_time: render a short range or a few frames (step) first, and ask the user before a long render.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "render_animation"
  }
}

Input Schema

NameRequiredDescriptionDefault
fpsNoVideo frame rate; default timeline fps / step.
cullNoLeave out what the camera sees at none of the frames (render_cull, tested on up to 12 of them); put back after.
nameNoFile name start: <name>_0000.png ...frame
stepNoRender every n-th frame (2 = half the frames).
widthNo
cameraNoCamera label; default is the active one.
heightNo
resumeNoKeep frames already in out_dir and render only the missing ones (to continue a stopped render).
out_dirNoAbsolute folder for the frames and the video; default a new folder in ~/.daz3d-mcp/renders/.
qualityNo
max_timeNoSeconds per frame. Set it: the total is about frames x max_time.
previewsNoFrames to return as images.
cull_keepNoWith cull: labels never to leave out.
end_frameNoDefault: end of the timeline range.
max_samplesNoPer frame.
start_frameNoDefault: start of the timeline range.
image_formatNopng
preview_sizeNo
video_formatNoAlso join the frames into a video (needs ffmpeg; Daz Studio ships one).mp4

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.0.3
    • addedInput schema / properties / cull
      Added value: +{
      +  "default": false,
      +  "description": "Leave out what the camera sees at none of the frames (render_cull, tested on up to 12 of them); put back after.",
      +  "title": "Cull",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / cull_keep
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "With cull: labels never to leave out.",
      +  "title": "Cull Keep"
      +}
  2. First observedv0.4.0

TDQS

A3.9/5.0
Behavior4/5

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

The annotations only declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false. The description adds behavior those annotations cannot convey: this is a long-running blocking call ('Waits until it is done'), its duration scales with frames x max_time, and long runs warrant user confirmation. It still does not say what happens to an interrupted run or where results land, but that is largely covered by the resume and out_dir parameters.

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?

Three sentences, front-loaded with what the tool produces, then cost, then caution. The cost heuristic restates the max_time parameter description, a minor redundancy, but it earns its place as a decision aid at the top level.

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 19-parameter batch render with no output schema, the definition covers the essential agent-facing facts: it blocks, it is expensive in time, output is frames plus an optional video, and resumption exists. It does not describe the return payload (e.g. paths to the video and preview images), which is the main remaining gap.

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 description coverage is 74% across 19 parameters, below the threshold where the schema does the whole job. The description reinforces two of the most consequential ones (step and max_time) with the cost formula, but the remaining undocumented parameters (width, height, quality) get no added meaning. Baseline 3 fits.

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?

The description uses a specific verb and resource: 'Renders the whole animation (or a frame range) with Iray, one image per frame, and joins them into an MP4 or GIF.' That clearly separates it from a single-image render or a cull/pass render. It never names a sibling tool outright, so the differentiation is implied by scope rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

There is concrete workflow guidance: 'render a short range or a few frames (step) first, and ask the user before a long render,' plus the cost heuristic 'about frames x max_time.' It does not say when to pick the single-frame or cull variants instead, but the pre-flight advice is unusually actionable.

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