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.

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