Skip to main content
Glama

vfx_render

Render a WGSL effect node on the GPU into one preview image as flipbook frames, chosen phases, or a parameter sweep, returning per-cell stats and quality warnings.

Instructions

Renders a node on the GPU and shows it as one image, cells in reading order with grey lines between them. Default: the clip as a flipbook would play it (frames cells across phase 0..1). phases: chosen moments instead. sweep: { param, from?, to?, count?, phase? } renders one f32 parameter across a range (default its own range) at one phase. Answers per-cell stats (coverage, peak, edge alpha, full-white share, change) and, for a clip, the quality warnings. backdrop: dark (default, how it reads in game), light, checker, or alpha (the shape as grey). The file is not changed.

Input Schema

NameRequiredDescriptionDefault
ssNoSamples per pixel axis (1..4); default 3 for render, 4 for bake
modeNooneshot (default): frames span phase 0..1 inclusive; loop: phase 1 wraps to frame 0
nameYesNode name in the library, like ring/shock (letters, digits, _ and -)
sizeNoImage width in px, 128..1024, default 512
sweepNo
framesNoCells across the clip, 1..64, default 16
marginNoEmpty border inside each cell, as a share of the cell (0..0.25), default 0.02; 0 for tiling textures
phasesNo1..64 phases in 0..1
valuesNoParameter values for this call only: { glow: 2, tint: "#ffaa33", tilt: [0.2, 0] }
backdropNo
durationNoClip length in seconds (vfx.time = phase * duration), default 1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the burden and discloses key traits: GPU rendering, non-destructive behavior ('The file is not changed'), per-cell stats, quality warnings, and backdrop choices. It still omits operational traits such as performance or auth requirements, which prevents a full 5.

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?

The description is front-loaded and dense with useful details, avoiding filler. Its semicolon-heavy style makes some mode distinctions harder to scan, but every sentence contributes information.

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 an 11-parameter rendering tool with nested sweep and no output schema or annotations, the description covers the essential modes, output stats, quality warnings, and non-mutation. It is not fully exhaustive about every parameter, but the schema supplies most remaining details.

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 high at 82%, so the baseline is 3, but the description adds meaningful semantics beyond the schema: the phases mode, the sweep object's purpose and defaults, and the backdrop options. It does not add much for ss, size, frames, margin, values, or duration, but the added nested-object guidance is valuable.

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 gives a specific verb and resource: 'Renders a node on the GPU and shows it as one image,' with concrete grid behavior. It indirectly distinguishes itself from write-oriented siblings by saying 'The file is not changed,' though it does not name alternatives.

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?

It explains the default flipbook behavior, when phases are useful, and what sweep does, which implies usage contexts. However, it never explicitly says when to choose vfx_render over vfx_preview, vfx_bake, or other siblings, nor does it state exclusions.

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