Skip to main content
Glama

manage_terrain

Fill shapes, clear regions, replace materials, manage colors, read/write voxels, generate procedural terrain, and smooth terrain in Roblox.

Instructions

[PRO] Terrain operations: fill shapes, clear regions, replace materials, manage colors, read/write voxels, generate procedural terrain, smooth terrain.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes[PRO] Terrain action. fill_block/fill_ball/fill_cylinder/fill_wedge: fill shapes with material. clear_region/clear_bounds: clear terrain. replace_material: swap materials in region. colors_get/colors_set: manage material colors. read_voxel: single voxel. read_voxels/write_voxels: bulk voxels. generate: procedural terrain. smooth: smooth terrain.
contextIdNoOptional execution context identifier. Used to continue an existing context for mutating actions.
contextSummaryNoOptional structured execution context attached to this tool call.
replayMetadataNoOptional replay-ready metadata attached to this tool call.
materialNoTerrain material name (e.g., Grass, Rock, Water, Sand, Slate, Concrete). Used by: fill_*, replace_material, colors_get, colors_set.
centerNoCenter position as Vector3. Used by: fill_ball.
positionNoPosition as Vector3. Used by: read_voxel.
cframeNoPosition and rotation for fill shapes. Used by: fill_block, fill_cylinder, fill_wedge.
sizeNoSize in studs. Used by: fill_block, fill_wedge.
radiusNoRadius in studs. Used by: fill_ball, fill_cylinder.
heightNoHeight in studs. Used by: fill_cylinder.
regionNoRectangular region with min/max corners. Used by: clear_region, replace_material, read_voxels, write_voxels, generate, smooth.
minNoMinimum corner for bounds-based clear. Used by: clear_bounds.
maxNoMaximum corner for bounds-based clear. Used by: clear_bounds.
sourceMaterialNoMaterial to replace. Used by: replace_material.
targetMaterialNoReplacement material. Used by: replace_material.
colorNoRGB color (0-255). Used by: colors_set.
resolutionNoVoxel resolution (studs per voxel). Used by: read_voxels, write_voxels. Default: 4.
materialsNo3D array of material names [x][y][z]. Used by: write_voxels.
occupancyNo3D array of occupancy values [x][y][z] (0-1). Used by: write_voxels.
baseHeightNoBase terrain height in studs. Used by: generate. Default: 32.
amplitudeNoHeight variation amplitude in studs. Used by: generate. Default: 24.
frequencyNoNoise frequency (0.001-0.1). Used by: generate. Default: 0.01.
seedNoRandom seed for terrain generation. Used by: generate.
layersNoMaterial layers by height. Used by: generate. Each: {material, maxHeight}.
intensityNoSmoothing intensity (0-1). Used by: smooth. Default: 0.5.
Behavior2/5

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

No annotations are provided, so the description must carry the full burden of behavioral disclosure. It does not mention that some actions are destructive (e.g., clear_region, write_voxels) or that others are read-only (e.g., read_voxel, colors_get). It also does not disclose any permissions, side effects, or constraints. The description only lists operations without behavioral context.

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 a single sentence with a clear, list-like structure, front-loading the purpose. It is concise and covers the major capabilities. However, it could be more structured (e.g., separating read and write operations) to improve scannability.

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

Completeness3/5

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

Given the high complexity (26 parameters, multiple actions) and no output schema, the description provides a high-level overview but lacks details like which parameters are required for which actions. However, the input schema is very detailed with per-parameter descriptions and usage per action, which compensates. The description alone is not fully complete, but combined with the schema it is adequate.

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%, so the baseline is 3. The description does not add additional meaning beyond what is already in each parameter's description. It merely categorizes operations but does not provide examples or contextual details that enhance understanding.

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 clearly states that this tool handles terrain operations, listing specific categories like fill shapes, clear regions, replace materials, manage colors, read/write voxels, generate procedural terrain, and smooth terrain. It distinguishes itself from sibling tools which cover other domains (animation, assets, audio, etc.). However, the description does not single out a specific verb-resource pair, instead listing many capabilities, which slightly reduces clarity.

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 any guidance on when to use this tool versus alternatives or when not to use it. It only lists what the tool does, without explicit context or exclusions. While sibling tools are clearly different domains, the absence of usage instructions is a gap.

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/hope1026/roblox-mcp'

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