Skip to main content
Glama

fill_terrain

Flood-fills the current level with a terrain slot, optionally assigning an asset first, to set the base ground layer before painting roads, yards, and edges.

Instructions

Flood-fill the whole current level with a terrain slot.

If asset is given, it is assigned to the slot first.

The usual first ground call is fill_terrain(asset=<base material>) on the
default slot 0: that replaces the base under everything and leaves slots
1-3 free for roads, yards and worn edges painted on top with 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": "fill_terrain"
  }
}

Input Schema

NameRequiredDescriptionDefault
slotNo
assetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A4.2/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose the key risk: it replaces the base under everything, and the asset is assigned before the fill. Reversibility, whether pre-existing content in slots 1-3 is cleared, and the response shape are not described.

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?

Three short, front-loaded blocks with no filler; the destructive semantics come before the worked example call, which is the right order for an agent reading top-down.

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 two-parameter, no-output-schema tool, the description covers the slot model, the layer ordering, and the overwrite behavior an agent needs to call it safely. Only edge details (slot range limits, asset format, effect on other levels) are missing.

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 description coverage is 0%, so the description must compensate. It does add meaning: asset is the material assigned to the slot, slot defaults to 0, and slots 1-3 are the intended overlay range. Valid slot bounds and the asset identifier format are still undocumented.

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?

Names a specific verb ('flood-fill') and a precise scope ('the whole current level') applied to 'a terrain slot', which separates it from fill_region (region-scoped, painted on top) without the agent needing to open either 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?

Gives concrete ordering advice ('the usual first ground call', asset assigned to the slot first) and points to fill_region for the subsequent layer painting, so the when-to-use case is clear. It stops short of stating any exclusion or failure condition explicitly.

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