Skip to main content
Glama

Create JFA Voronoi

create_jfa_voronoi

Create a Voronoi cell pattern with Jump-Flooding algorithm, exposing live controls for palette, seeds, speed, jitter, edges, and colors.

Instructions

Instantiate a self-contained Jump-Flooding-Algorithm Voronoi generator (stained-glass / cell pattern) as GLSL TOPs — seeds → jfa_init → K halving passes → color_pass → null. Exposes live PaletteMode / SeedCount / Speed / Jitter / EdgeThickness / EdgeColor / ColorA / ColorB controls and previews the output TOP. Pass count auto-derives from resolution (log2(max(w,h))); override with step_count.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seed_countNoNumber of Voronoi seeds (4..512). Drives the seed TOP width (next pow-2).
speedNoAnimation speed multiplier driving uTime drift of seeds. Live 'Speed' control.
palette_modeNorandom = HSV per seed; duotone = mix(ColorA, ColorB); from_image = sample image.random
palette_imageNoOp path to a TOP sampled at seed UVs when palette_mode='from_image'.
edge_thicknessNoCell border width in UV units (0..0.05). Live 'EdgeThickness' control.
edge_colorNoBorder colour as hex (e.g. '#000000'). Live 'EdgeColor' RGB swatch.#000000
jitterNoPer-seed drift amplitude (0 = static lattice). Live 'Jitter' control.
color_aNoDuotone primary hex. Live 'ColorA' swatch.#ff3366
color_bNoDuotone secondary hex. Live 'ColorB' swatch.#33ccff
resolutionNoOutput resolution [width, height]; JFA pass count auto-derived from max axis.
step_countNoManual JFA pass count (0 = auto = ceil(log2(max(w,h)))).
expose_controlsNoExpose live PaletteMode/SeedCount/Speed/Jitter/EdgeThickness/EdgeColor/ColorA/ColorB.
parent_pathNoParent COMP path; container 'jfa_voronoi' is created inside./project1
Behavior4/5

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

Annotations show readOnlyHint=false (writes), destructiveHint=false (non-destructive), openWorldHint=true (creates new nodes). The description adds valuable behavioral context: it creates a self-contained network with multiple GLSL TOPs, auto-derives pass counts, and exposes live controls. It does not contradict annotations and provides extra insight beyond the structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences with no wasted words. It front-loads the core purpose and pipeline, then adds an important detail about pass count auto-derivation. Every sentence earns its place.

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?

Given the complexity of 13 parameters and no output schema, the description covers the pipeline, exposed controls, and pass count logic. However, it could clarify the final output (preview TOP) and the meaning of 'null' in the pipeline. Still, it is mostly complete for a creation tool.

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 100%, so the description adds minimal extra parameter meaning beyond listing a few controls. It mentions exposed live parameters but does not explain interactions or behavior beyond the schema. The baseline of 3 is appropriate as schema already does the heavy lifting.

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?

The description clearly states it instantiates a Jump-Flooding-Algorithm Voronoi generator with a specific pipeline (seeds → jfa_init → K halving passes → color_pass → null). It distinguishes this from other tool creation tools by detailing the technique and exposed controls, making the purpose very specific and distinct.

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

Usage Guidelines2/5

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

The description does not provide explicit guidance on when to use this tool versus alternatives like create_particle_system or create_fluid_sim. It implies usage for Voronoi/cell patterns but lacks context for selection or exclusion, which is a gap given the large sibling list.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Pantani/tdmcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server