Skip to main content
Glama

set_cave_entrance

Open or restore a circular cave entrance in a battle map by setting its center and radius as one undoable edit, without digging or filling cave floor.

Instructions

Open or restore a circular section of cave border, as one undoable edit.

Place the centre at an existing cave edge in woxels. radius is the half-width
(0 < radius <= 2048), rounded to cave cells. open=False removes the blast
mask, restoring the border; neither mode digs or fills cave floor. Dig the
approach first with dig_cave, then inspect a screenshot of the mouth.
The edit belongs to the selected level. Undo requires that same level and
unchanged bitmap dimensions. Returns the actual number of changed cells.

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": {
      "x": "<x>",
      "y": "<y>"
    },
    "name": "set_cave_entrance"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYes
yYes
openNo
radiusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it discloses that the edit is undoable, that it is scoped to the selected level, that undo requires the same level and unchanged bitmap dimensions, that neither mode digs or fills floor, and that it returns the actual number of changed cells. These are non-obvious side effects and prerequisites that cannot be inferred from the schema.

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?

Front-loaded with the core action and undoability, then constraints and workflow. Every sentence carries information, though the line-broken layout and mixed ordering of constraints, workflow, and return value make it slightly denser than needed.

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?

Although there is no output schema, the description states the return value (actual number of changed cells) and covers scope, constraints, and undo requirements. Nothing an agent needs in order to call this correctly 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 four parameters: x/y as the centre on an existing cave edge in woxels, radius as half-width with the bound 0 < radius <= 2048 and rounding to cave cells, and open=False as removing the blast mask to restore the border.

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: 'Open or restore a circular section of cave border, as one undoable edit.' It explicitly distinguishes itself from the sibling dig_cave by noting that neither mode digs or fills cave floor, so an agent can tell the two apart without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete preconditions ('Place the centre at an existing cave edge in woxels') and an explicit workflow ordering ('Dig the approach first with dig_cave, then inspect a screenshot of the mouth'). It also names the alternative mode semantics (open=False restores the border) so the agent knows which variant to pick.

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