Skip to main content
Glama

set_water_style

Styles every water body on a level by setting deep and shallow colors, shoreline blend distance, and border visibility so rivers, swamps, and pools match the intended look.

Instructions

Style this level's water: what KIND of water it is. Returns the result.

Geometry first (add_water), then this. A muddy river, a clear shallow, a
peat swamp and a deep cold pool are the same mesh with different colour.

deep_color / shallow_color: hex, e.g. '#12304f'. Deep is the body, shallow
  is the edge; the gap between them is most of the character.
blend_distance: how far the shallow colour reaches in from the shoreline.
  Small is an abrupt drop-off, large is a gradual wade.
border: draw the shoreline border. Off suits a swamp or a flooded floor
  where the edge should be indefinite.

Per LEVEL: every body of water on this level is restyled, and water drawn
later on a level whose bodies share one style takes that style too. The
response reads the style back off the water bodies, which are what the map
saves; `bodies` is how many there are, and `mixed_styles` means they differ.

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

Input Schema

NameRequiredDescriptionDefault
borderNo
deep_colorNo
shallow_colorNo
blend_distanceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A4.5/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 burden and does substantial work: it discloses per-level scope, that every water body on the level is restyled, that later-drawn water may inherit the style, and that the response reads the style back from the saved bodies including `bodies` and `mixed_styles`. It stops short of stating what happens to previously customised styles or how failures are reported.

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 one-line purpose, then per-parameter blocks that are easy to scan. The opening 'Returns the result.' is filler given the later, better explanation of the response, and the final per-level paragraph is dense enough to require a second read.

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 no-annotation, no-output-schema tool with zero schema coverage, the description supplies scope, parameter meaning, workflow ordering and return-shape hints, which is close to complete. Remaining gaps are default behaviour when a colour is left empty and how invalid hex is handled.

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%, so the description must compensate and largely does: all four parameters are explained, including hex format with an example for the two colours and the visual meaning of the deep/shallow gap, plus when border should be off. The gap is blend_distance lacking any units or scale reference for a numeric parameter.

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 ('Style this level's water') and clarifies the scope as the kind of water rather than its geometry, immediately separating it from the sibling add_water. The concrete examples (muddy river, clear shallow, peat swamp, deep cold pool) make the distinction unmistakable.

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?

Explicitly orders the workflow: 'Geometry first (add_water), then this', naming the alternative tool and the condition that puts it first. It also states the per-level application rule, so an agent knows a call affects more than the body it just created.

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