Skip to main content
Glama

manage_terrain

Modify Roblox terrain by filling shapes, clearing regions, replacing materials, managing colors, reading/writing voxels, generating procedural terrain, and smoothing surfaces.

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.
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 carries the full burden of disclosing behavioral traits. Despite containing destructive operations (fill, clear, replace, write), the description fails to mention mutation safety, reversibility, permission requirements, or performance implications of large voxel operations.

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 single-sentence description efficiently lists capabilities without redundancy. However, it is front-loaded with a '[PRO]' tag of unclear significance and presents capabilities as a flat list rather than grouping related operations (shapes vs. IO vs. procedural), slightly reducing clarity.

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 rich schema with conditional parameter logic fully documented, the description serves adequately as an overview. However, for a complex 23-parameter tool with action-dependent parameter subsets and no output schema, it lacks guidance on error handling, return values, or the action-driven parameter selection pattern.

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?

With 100% schema description coverage and each parameter explicitly documenting which actions consume it (e.g., 'Used by: fill_ball'), the schema carries the semantic weight. The description provides a high-level categorization that maps to the action enum but does not add syntax clarification beyond the schema.

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 enumerates eight specific terrain capabilities (fill shapes, clear regions, replace materials, manage colors, read/write voxels, generate/smooth terrain), distinguishing it from sibling tools like manage_animation or mutate_instances by domain. However, it uses 'operations' as a noun rather than an active verb and lacks explicit scope limitations.

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 provides no guidance on when to use this tool versus alternatives like mutate_instances for geometry modification, nor does it indicate prerequisites, parameter dependencies, or workflow sequencing. It is purely a capabilities list with no conditional advice.

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