Skip to main content
Glama

Preview directional sprites

previewDirectionalSprites

Preview Directional Sprites: a few frames of a 3D model in a style, from each direction asked for, to check a style before rendering. Takes the same model, animation, camera and style fields as createDirectionalSprites. The response (synchronous, not a job) has one preview per direction, in the order asked, each with frame_urls - the frames as images (4 for an animated model, 1 for a still one) - and render_3d, the style and settings as rendered, which createDirectionalSprites takes back as they are. Free (no credits), and nothing is saved to your generations; the frame images are kept for 7 days. A preview takes several seconds. You run one preview at a time: starting another while one is still running cancels the older one, which then answers 204 with no body. Preview one or two directions while trying styles and render only once the look is right.

Input Schema

NameRequiredDescriptionDefault
requestBodyYesPayload for previewing directional sprite frames of a 3D model

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / requestBody / properties / animation_url / description
      Previous value: -"An animation for the model, as a URL or base64-encoded GLB file - the glb_url of an animation from animate3DModel or animate3DModelPreset, made for this model's skeleton. At most one of animation_url, preset_id and model_animation."New value: +"An animation for the model, as a URL or base64-encoded GLB file - the glb_url of an animation from animate3DModel or animate3DModelPreset, made for this model's skeleton. At most one of animation_url, preset_id and model_animation. Up to 30MB; a larger file is rejected with HTTP 400."
    • changedInput schema / properties / requestBody / properties / model / description
      Previous value: -"The 3D model, as a URL or base64-encoded GLB file (not an AI model name). Rigged, to animate it."New value: +"The 3D model, as a URL or base64-encoded GLB file (not an AI model name). Rigged, to animate it. Up to 30MB; a larger file is rejected with HTTP 400."
  2. Changed1 schema field changed
    • addedInput schema / properties / requestBody / description
      Added value: +"Payload for previewing directional sprite frames of a 3D model"
  3. Changed1 schema field changed
    • changedInput schema / properties / requestBody / properties / preset_id / description
      Previous value: -"An animation preset id from listAnimationPresets, retargeted onto the model. The model needs a humanoid_template or humanoid_template_hands rig. At most one of animation_url, preset_id and model_animation."New value: +"An animation preset id from listAnimationPresets, retargeted onto the model. Any rig type can take one; when the preset cannot be retargeted onto the model, the call returns an error. At most one of animation_url, preset_id and model_animation."
  4. Added

TDQS

A4.6/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: synchronous rather than a job, free/no credits, nothing persisted to generations, frames retained 7 days, multi-second latency, and the 204-no-body cancel behavior. The only gap is that it does not spell out what the `render_3d` payload contains field-by-field. Annotations (readOnlyHint=false, destructiveHint=false) are consistent with a non-persisting preview call, so no contradiction.

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?

Front-loaded with a one-line purpose, then behavior, then response shape, then the recommended workflow — a logical order with no filler. Some sentences are dense run-ons (the response-shape sentence in particular) and could be split for faster parsing, but every clause carries information an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description carries the full burden of describing the response and does so: one preview per direction, ordering, `frame_urls` frame counts, and `render_3d` as a handoff to the render call. Combined with the free/non-persisted/latency notes and the cancel semantics, an agent has everything needed to call and interpret this tool.

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 already 100%, so the baseline is 3, but the description adds cross-referential meaning: the request body takes the same model/animation/camera/style fields as createDirectionalSprites, and `render_3d` from the response is fed back into that sibling unchanged. It also notes direction ordering and that each preview carries 4 frames for an animated model and 1 for a still.

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 ('preview') and resource ('directional sprites'), scopes it ('a few frames ... from each direction asked for'), and explicitly contrasts with the sibling createDirectionalSprites (preview-to-check vs full render). An agent can distinguish it from createDirectionalStills and createDirectionalSprites without 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 Guidelines5/5

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

Gives explicit when-to-use guidance ('to check a style before rendering', 'Preview one or two directions while trying styles and render only once the look is right') and names the alternative render tool. It also states the serialization rule (one preview at a time, starting another cancels the older one), which prevents a common misuse.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.