Skip to main content
Glama

render_shots

Renders dialogue scenes as sequential visual novel shots: sets faces, gazes, and camera per beat, then outputs numbered images plus a shots.json manifest.

Instructions

Renders a dialogue scene as a series of shots for a visual novel: for each beat it sets the faces and gazes, frames the camera (camera_shot) and renders, into NN_ images plus a shots.json listing every beat, its line and its camera. Waits until all are done; it takes about beats x max_time, so render a few beats first and ask the user before a long run.

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": {
      "beats": "<beats>"
    },
    "name": "render_shots"
  }
}

Input Schema

NameRequiredDescriptionDefault
cullNoFor each beat, leave out what its camera cannot see (render_cull); put back after each image.
onlyNoRender just these beat numbers (1-based), e.g. to redo one; the others still set their faces so the state carries over.
beatsYesThe conversation in order, one beat per image.
widthNo
cameraNoCamera every beat uses (created if missing).Shot
heightNo
resumeNoKeep images already in out_dir and render only the missing ones (faces, gazes and cameras are still set).
out_dirNoAbsolute folder; default a new folder in ~/.daz3d-mcp/renders/.
qualityNo
max_timeNoSeconds per image. Set it: the total is about beats x max_time.
previewsNoImages to return.
cull_keepNoWith cull: labels never to leave out.
max_samplesNoPer image.
image_formatNopng
preview_sizeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.0.3
    • addedInput schema / properties / cull
      Added value: +{
      +  "default": false,
      +  "description": "For each beat, leave out what its camera cannot see (render_cull); put back after each image.",
      +  "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

A4.1/5.0
Behavior4/5

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

Annotations only declare it is not read-only, not destructive and not open-world; the description adds the important traits that it blocks ('Waits until all are done'), that runtime scales as beats x max_time, and that it mutates figure faces/gazes before each render. It stops short of saying the scene is left in the last beat's state after the call returns.

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?

Two sentences, front-loaded with what is produced, then the cost/safety caveat. Dense but every clause carries information; only the parenthetical '(camera_shot)' and the naming format are slightly heavy for the space.

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 15-parameter, long-running batch render with no output schema, the description covers input structure (beats), outputs (numbered images plus shots.json), and the blocking/cost behavior an agent must plan around. Remaining gaps (what previews returns, resume/cull interaction) are documented in the schema, so nothing critical is missing.

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 67% and 15 parameters is a lot; the description reinforces the beat model and the max_time cost formula (beats x max_time) and clarifies output naming (NN_<name>.png, shots.json). It adds nothing for only, resume, cull, cull_keep, previews or camera, which the schema documents itself, so this sits at the schema-driven baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Renders a dialogue scene as a series of shots') plus concrete artifacts produced ('NN_<name> images plus a shots.json'), and names the internal sibling it composes ('frames the camera (camera_shot)'). This distinguishes it from a plain single-image render without the agent opening any schema.

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?

Gives explicit cost-aware workflow guidance: 'render a few beats first and ask the user before a long run,' and implies the only/redo case. It does not explicitly contrast with sibling render or render_animation, so the when-not guidance is incomplete.

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