Skip to main content
Glama
Redseb
by Redseb

paint_tiles

Paints tiles onto a map with automatic autotiling, recomputing shapes from same-kind neighbors. Supports layer selection and dry-run preview.

Instructions

Paint specific tiles onto a map, with automatic autotiling. Each cell is set to its tile id; if that id is an autotile (A1-A4, e.g. a catalog 'kind' base from find_tile), its shape and its neighbours' shapes are recomputed from same-kind adjacency so borders/corners line up. Flat tiles are painted as-is. Defaults to the lower ground layer (0). Higher-level than set_map_tile, which is a single raw tile with no autotiling.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
layerNoZ-layer 0-5 (default 0 = lower ground; 0-3 tiles, 4 shadow, 5 region id)
mapIdYesThe ID of the map
tilesYesCells to paint
dryRunNoPreview only: return a diff of what would change without writing to disk.
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses the important side effect that neighbors' shapes are recomputed from same-kind adjacency when autotiles are used, and that flat tiles are painted as-is. It also explains the layer default and the distinction from set_map_tile. However, it doesn't mention potential edge cases like overwriting behavior or what happens with layer 4/5, though these are partially in the schema.

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 description is three sentences, front-loaded with the core purpose, then explains the autotiling algorithm, then the alternative tool. Every sentence adds relevant information with no filler or repetition.

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?

The tool is moderately complex due to autotiling, and the description covers the algorithm, the layer default, and a close sibling. It doesn't mention the dryRun parameter, but that's documented in the schema. Given no output schema and good annotations in the schema, the description is reasonably complete for the agent.

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 100%, and the schema already explains layer ranges and tileId semantics (autotile base id or raw id). The tool description mostly restates the default layer and tileId kind, adding little beyond the schema. It does mention 'cells to paint' for the tiles parameter, but that's also evident from 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 clearly states the tool paints specific tiles onto a map with automatic autotiling. It specifies the exact behavior (cell set to tile id, autotile shape recomputation) and distinguishes itself from set_map_tile by noting it is higher-level and handles multiple tiles with autotiling.

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?

The description explicitly names set_map_tile as a lower-level alternative that does a single raw tile with no autotiling, providing clear when-to-use guidance. It also notes the default layer, helping the agent decide if layer needs to be specified.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Redseb/rpgmaker-mz-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server