Skip to main content
Glama

dig_cave

Carve cave tunnels and chambers into solid rock along a path, with optional floor and wall tints, or fill them back to rock when dig is false.

Instructions

Carve a cave along a path with the Cave Brush (the dig/blast tool).

Dungeondraft caves are a separate layer: you dig open floor out of solid
rock, and DD auto-generates the rocky wall border + debris around the opening.

points: a list of [x, y] woxel points the cave runs through (>= 1). A single
point digs one circular chamber; multiple points dig a connected tunnel
(rasterized as a constant-width ribbon, like paint_path). radius: half-width
in woxels (default 256 = ~1 tile). dig: True carves open cave; False fills it
back to rock. ground_color / wall_color: optional cave floor/wall tints
("#rrggbb"). texture: optional Caves floor asset (see
list_assets(category="Caves")). The mesh rebuilds automatically.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "points": "<points>"
    },
    "name": "dig_cave"
  }
}

Input Schema

NameRequiredDescriptionDefault
digNo
pointsYes
radiusNo
textureNo
wall_colorNo
ground_colorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well: it discloses that caves live on a separate layer, that DD auto-generates wall borders and debris around openings, that dig=False reverses a carve, and that the mesh rebuilds automatically. It omits return values and any failure/permission behavior, keeping it short of a 5.

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?

Front-loads the purpose in one sentence, then a compact conceptual note, then one line per parameter group, closing with the automatic mesh rebuild. Dense but no filler; every sentence carries information an agent needs to call it correctly.

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

Completeness5/5

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

A six-parameter mutation tool with no annotations and no output schema is fully covered: layering model, auto-generated borders/debris, reversibility via dig=False, defaults, color formats, and the asset lookup path are all present. Nothing an agent needs to invoke it accurately is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it does for all six parameters: points (>=1, single point vs multi-point ribbon, rasterized like paint_path), radius (half-width in woxels, default 256 = ~1 tile), dig (carve vs fill back to rock), ground_color/wall_color (#rrggbb tints), and texture (Caves floor asset). Each earns meaning beyond the bare schema types.

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 and resource ('Carve a cave... with the Cave Brush') and immediately frames the mental model: caves are a separate layer dug out of solid rock. That framing alone separates it from siblings like clear_caves or get_cave without needing to name them.

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 clear context for when this tool applies (digging open floor out of solid rock, with dig=False to backfill to rock) and points at list_assets(category="Caves") for texture lookup. It does not explicitly say when to prefer a sibling such as clear_caves or get_cave, so it falls short of full when/when-not routing.

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

Deploy Server

Other Tools