Skip to main content
Glama

paint_terrain

Paint a soft circular terrain brush at a woxel position with radius and rate falloff, optionally setting an asset, to blend terrain strokes on battle maps. Undoable; use fill_region for hard edges.

Instructions

Paint a soft circular terrain brush of a slot at a woxel position.

radius: brush radius in woxels. rate: peak strength 0..1 at the center, with
a smooth falloff to the rim so strokes blend. asset: optional Terrain asset
to assign to the slot first (else set it with set_terrain_slot). Undoable.
For a hard-edged region instead of a brush, use fill_region.

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

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
rateNo
slotNo
assetNo
radiusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does real work: it explains the smooth falloff-to-rim behavior so strokes blend, states the operation is undoable, and clarifies the side effect that a supplied asset is assigned to the slot first. It leaves out any note on permissions, cost, or what is returned, which keeps it from 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-loaded with the action, then one compact line per meaningful parameter, then an undoability note and an alternative-tool pointer. No sentence is filler and the most decision-relevant information comes first.

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 six-parameter, zero-annotation, no-output-schema mutation tool, the description covers the traits an agent needs: blending behavior, undoability, asset side effect, and the alternative for hard edges. The remaining gap is the opacity of the coordinate parameters and their null defaults, which an agent must guess at before calling.

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

Parameters3/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 for radius (woxels), rate (peak strength 0..1 at center), asset (optional assignment), and implicitly slot via the brush's target. However, the x and y parameters are only alluded to by 'at a woxel position' with no explanation of what null defaults mean, leaving two of six parameters semantically unexplained.

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 ('Paint a soft circular terrain brush of a slot at a woxel position') and immediately distinguishes itself from the hard-edged sibling 'fill_region'. An agent can tell what this does and how it differs from nearby tools without opening the 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 explicit routing: use this for a soft brush, use 'fill_region' for a hard-edged region, and use 'set_terrain_slot' when the asset should be set separately rather than passed here. Both the when-to-use and the alternative are named with their selecting conditions.

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