Skip to main content
Glama

Preview a prepared rig or clip

asset_preview_animation
Idempotent

Render a prepared GLB from multiple angles with optional clip sampling or bone pose, then save a nonblank contact sheet under the project root.

Instructions

Render a prepared GLB from several angles with an optional clip sample time or explicit bone pose, and publish a nonblank contact sheet under the project root. A missing rendering backend returns an explicit unavailable result instead of claiming success.

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": {
      "prepared": "<prepared>",
      "output": "<output>",
      "projectRoot": "<projectRoot>"
    },
    "name": "asset_preview_animation"
  }
}

Input Schema

NameRequiredDescriptionDefault
clipNo
poseNo
focusNoFrame the camera on this bone and its descendant bones, e.g. a hand with its fingers.
timesNo
widthNo
anglesNo
heightNo
outputYesOutput contact-sheet .png path under projectRoot.
preparedYesAbsolute path to a prepared (rigged or retargeted) GLB.
priorDigestNo
projectRootYesProject root that must contain the output.

Output Schema

NameRequiredDescriptionDefault
boundsYes
canvasYes
imagesYes
outputYes
reasonYes
statusYes
tracksYes
backendYes
animationsYes
boundTracksYes
sampledTimesYes
contactSheetSha256Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.2
    • addedInput schema / properties / focus
      Added value: +{
      +  "description": "Frame the camera on this bone and its descendant bones, e.g. a hand with its fingers.",
      +  "properties": {
      +    "bone": {
      +      "maxLength": 64,
      +      "type": "string"
      +    },
      +    "distance": {
      +      "exclusiveMinimum": 0,
      +      "maximum": 1000,
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "bone"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / bounds / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "max": {
      -        "prefixItems": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "number"
      -          }
      -        ],
      -        "type": "array"
      -      },
      -      "min": {
      -        "prefixItems": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "number"
      -          }
      -        ],
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "min",
      -      "max"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "max": {
      +        "items": {
      +          "type": "number"
      +        },
      +        "maxItems": 3,
      +        "minItems": 3,
      +        "type": "array"
      +      },
      +      "min": {
      +        "items": {
      +          "type": "number"
      +        },
      +        "maxItems": 3,
      +        "minItems": 3,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "min",
      +      "max"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Addedv0.1.1

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the annotations (readOnly=false, destructive=false, idempotent=true), the description discloses two behaviors the annotations cannot: the tool publishes a file under projectRoot, and a missing rendering backend returns an explicit unavailable result rather than a false success. That failure-mode disclosure is genuinely valuable for a rendering tool. It stops short of clarifying what happens to an existing output file or how long renders take.

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 the primary action and artifact, then the failure-mode caveat. Dense and almost waste-free; 'instead of claiming success' is slightly editorial but it carries real information about result semantics.

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?

An output schema exists, so return values need not be explained, and the core contract (prepared input, output path under projectRoot, nonblank sheet) is covered. However, for an 11-parameter write tool with nested pose/focus objects and an unexplained priorDigest, the description leaves too much of the invocation surface unaddressed.

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 only 36% across 11 parameters, and the description only loosely maps to a few of them: 'several angles' (angles), 'clip sample time' (clip/times), and 'explicit bone pose' (pose). It adds no meaning for focus, width, height, priorDigest, or the times array, so several parameters remain undocumented in both places.

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 and resource — 'Render a prepared GLB from several angles' — plus the concrete artifact produced ('a nonblank contact sheet under the project root'). It is clearly distinguishable from rig-preparation siblings like asset_auto_rig or asset_inspect_rig, though it never names an alternative renderer or inspection tool.

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?

Usage is implied by 'prepared GLB' (the asset must already be rigged/retargeted) and by the optional clip-vs-pose wording, which tells the agent it can supply either. There is no explicit when-to-use/when-not guidance and no named alternatives for related tasks such as inspecting a rig before previewing it.

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