Skip to main content
Glama

slice_layers

Read-only

Print chosen voxel layers along X/Y/Z as coordinate-labeled text grids with material legends to inspect Buildup model cross-sections.

Instructions

Print layers of the model as text grids, one symbol per voxel ('.' = empty).

Rows and columns are labelled with model-frame voxel coordinates; the legend gives the palette index and material of each symbol.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
axisYes'y': horizontal layers seen from above (front at the top, +X on the right); 'z': cross-sections seen from the front (+X, the right side, on the LEFT); 'x': side sections seen from the left (front on the left).
partNoOnly this part; default: the whole model.
projectYesProject name, for example 'red_pickup'.
positionsYesLayer coordinates (voxels).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavioral context beyond that: the output is a text grid with coordinate-labelled rows/columns and a legend mapping symbols to palette index and material, which is valuable given there is no output schema.

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?

Two compact sentences with no filler. The core action and output shape are front-loaded, and the legend/coordinate detail follows as supporting information. Every clause 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?

For a read-only inspection tool with no output schema, the description adequately explains what the agent receives (grid, coordinates, legend). The only real gap is how this output relates to the other inspection siblings, and there is no mention of the 1-8 position limit, though the schema covers that.

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 100%, and the schema's axis description is richer than anything in the tool description (orientation of x/y/z views). The description adds only the notion of 'model-frame voxel coordinates' for the layer positions. This is a baseline 3: the schema already carries the parameter semantics.

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 (print) and resource (layers of the model) and specifies the output form (text grids, one symbol per voxel, '.' = empty). It is clear what the tool does, but it never contrasts itself with plausible siblings such as 'preview' or 'inspect', so an agent gets no explicit sibling differentiation.

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?

There is no when-to-use guidance at all. With siblings like 'preview', 'inspect' and 'export_model' in the same toolset, an agent is left to infer when slicing layers is preferable to those alternatives; the description offers no conditions, exclusions or named replacements.

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