Skip to main content
Glama

VoxelDraft – AI Voxel Modeling

Edit voxel model

edit_voxel_model
Read-only

Compute a new model handle by appending compact modeling commands to a VoxelDraft model handle. This is stateless and does not modify a saved cloud project. Use VoxelDraft's compact instruction stream instead of emitting one JSON object per voxel. Coordinates are integers 0..63. Colors are either #RRGGBB or a zero-based palette index. Commands: ["box",x1,y1,z1,x2,y2,z2,color,hollow?] ["ellipsoid",cx,cy,cz,rx,ry,rz,color,hollow?] ["cylinder","x"|"y"|"z",x,y,z,radius,height,color,hollow?] ["line",x1,y1,z1,x2,y2,z2,color] ["roof","x"|"z",x1,y1,z1,x2,y2,z2,color] (gable roof, axis is ridge direction) ["runs","x"|"y"|"z",color,[[x,y,z,length],...]] (preferred exact/freeform representation) ["points",color,[[x,y,z],...]] (sparse details only) ["erase",x1,y1,z1,x2,y2,z2] ["recolor",fromColor,toColor] ["copy",x1,y1,z1,x2,y2,z2,dx,dy,dz] ["repeat",x1,y1,z1,x2,y2,z2,dx,dy,dz,count] ["mirror","x"|"y"|"z",plane,x1,y1,z1,x2,y2,z2] (plane is a grid boundary 0..64) Prefer box/roof/ellipsoid/cylinder for bulk geometry, runs for irregular silhouettes, repeat/mirror for repeated or symmetric parts, and points only for small details. This usually uses far fewer model tokens than raw voxel JSON.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYesOpaque VoxelDraft model handle
paletteNo
commandsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare readOnlyHint=true and destructiveHint=false, and the description reinforces this by explaining the operation is stateless and leaves saved cloud projects untouched, which is valuable because 'appending commands' could otherwise read as a mutation. It also discloses hard constraints (integer coordinates 0..63, colors as #RRGGBB or palette index) that annotations do not cover, though it says nothing about error behavior or whether command order matters.

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-loads purpose, statelessness, and the key 'don't emit raw voxel JSON' advice before the grammar reference, which is dense but each command entry carries unique syntax the agent cannot infer. It is long, but the length is justified by the opaque command DSL; little is wasted.

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?

There is no output schema, and the description covers the return conceptually ('compute a new model handle'), the full command grammar, and the coordinate/color conventions. It omits a few details an agent might want, such as whether commands apply sequentially, how errors in a command list are reported, or whether the returned handle feeds into other tools.

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 description coverage is only 33% (only 'model' is documented), so the description must compensate and largely does: it fully specifies the command tuple grammar for all twelve command types, coordinate range, and color encoding. The 'palette' parameter is never named explicitly, though the 'zero-based palette index' color rule implies its role, leaving a small gap.

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 ('compute a new model handle'), resource (VoxelDraft model handle), and mechanism ('appending compact modeling commands'). The explicit note that it is stateless and does not modify a saved cloud project distinguishes it from siblings like save_voxel_model and create_voxel_model without opening their schemas.

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 a clear directive to use the compact instruction stream rather than one JSON object per voxel, plus selection guidance among command types (box/roof/ellipsoid/cylinder for bulk, runs for irregular silhouettes, repeat/mirror for symmetry, points only for small details). It does not explicitly state when to choose this tool over load_voxel_project or create_voxel_model, so it stops short of full alternative routing.

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.

Resources