Skip to main content
Glama

add_water

Creates ponds, pools, river bends, moats, or flooded rooms from a rectangle or closed point outline; invert the shape to erase water or cut out islands.

Instructions

Add a body of water — a pond, pool, river bend, moat, or flooded room.

rect: [x, y, w, h] in woxels, or points: [[x,y], ...] for a shoreline.
invert: erase water inside the outline instead of adding it. Water is a
  layer, not an object — there is nothing to select and delete — so this is
  how you take a pond back or cut an island out of one.

Water is a polygon layer, not a brush stroke: you give it a closed outline
and the whole enclosed area becomes water. Give exactly one of:

rect: [x, y, w, h] in woxels, for a rectangular pool.
points: [[x, y], ...] with at least 3 points, for an irregular shape — a
  pond, a river bend, a cave lake. The outline closes automatically.

Call it repeatedly to build up several separate bodies of water. When the
level's existing water shares one style (set_water_style), new water takes
it too and the response says `matched_level_style`.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "add_water"
  }
}

Input Schema

NameRequiredDescriptionDefault
rectNo
invertNo
pointsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations supplied, the description carries the behavioral burden and does so well: it discloses that water is a layer with no selectable object, that invert is the only way to remove or cut water, that outlines close automatically, and that the response may include `matched_level_style`. It omits any statement about undo, permissions, or failure modes for malformed outlines.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core information is front-loaded, but the rect and points formats are stated twice (once in the opening summary, again in the "Give exactly one of" block), and the pond/river-bend examples recur three times. It is readable but carries noticeable redundancy that could be trimmed without losing meaning.

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

Completeness4/5

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

For a 3-parameter, no-annotation, no-output-schema mutation tool, the description covers geometry formats, the either/or constraint, erasure semantics, style inheritance, and a response field. Only minor behavioral details such as undo or behavior on invalid/degenerate outlines are absent.

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 coverage is 0%, so the description must compensate, and it does: rect is defined as [x, y, w, h] in woxels, points as [[x, y], ...] with a minimum of 3 points, invert as erasing the interior of the outline, and the critical constraint that exactly one of rect or points must be given — none of which appears in the schema.

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?

The description opens with a specific verb and resource ("Add a body of water") and immediately enumerates concrete instances — pond, pool, river bend, moat, flooded room. It further distinguishes the tool's nature as a polygon layer rather than a brush stroke, so an agent can tell it apart from terrain/path siblings 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 Guidelines4/5

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

It gives clear conditional guidance: exactly one of rect or points, rect for rectangular pools, points for irregular shapes, invert to erase, and repeated calls for multiple bodies. It does not explicitly name a competing tool to use instead for other water operations beyond the passing mention of set_water_style, so it falls just 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