Skip to main content
Glama

draw_wall

Create wall geometry from a list of [x, y] points to outline rooms, corridors, or boundaries, with optional loop closure and snapping; returns the new element ID.

Instructions

Draw a wall through a list of [x, y] woxel points. Returns the new element id.

asset: optional Walls asset path. loop: close into a loop (e.g. a room).
type: 0=auto, 1=manual, 2=cave. joint: 0=sharp, 1=bevel, 2=round.
snap: 'none', 'grid' or 'auto'; see get_snap_settings.

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": "draw_wall"
  }
}

Input Schema

NameRequiredDescriptionDefault
loopNo
snapNo
typeNo
assetNo
colorNo
jointNo
pointsYes
shadowNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose that the call creates an element and returns a new element id, which matters since there is no output schema. It says nothing about undo/checkpoint requirements, permission needs, minimum point counts, or error behavior for invalid geometry.

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?

The core action and return value are front-loaded in one sentence, followed by a dense per-parameter legend with no filler. Every line conveys information the schema does not.

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?

For an 8-parameter mutation tool with zero annotations and no output schema, the definition covers the most opaque enums but omits color, shadow, and the interaction between snap and points. Enough to call it plausibly, not enough to call it confidently in edge cases.

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

Parameters4/5

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

Schema coverage is 0% and the raw schema gives bare integer/string fields, so the description's decoding of type (0=auto, 1=manual, 2=cave), joint (0=sharp, 1=bevel, 2=round), and snap values adds real meaning that would otherwise be unguessable. It leaves color and shadow undocumented and does not clarify the coordinate space or constraints on points.

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?

States a specific verb and resource ('Draw a wall through a list of [x, y] woxel points') plus the return value ('Returns the new element id'). It is clearly distinguishable from siblings like draw_path or add_floor, though it never names an alternative to contrast against.

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

Usage Guidelines3/5

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

Usage is only implied by the verb and the parameter hints; there is no statement of when to prefer this over draw_path, dig_cave, or build_room. The one routing cue is a pointer to get_snap_settings for snap behavior, which is genuinely useful but narrow.

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