Skip to main content
Glama

set_tiles

Place tiles on a tilemap layer by grid position, specifying col/row and tile index for each cell, with tile index 0 clearing the cell.

Instructions

Place tiles on a tilemap layer by grid position.

Args: filename: Aseprite file to modify layer_name: Tilemap layer to edit frame_index: Frame index starting at 1 tiles: List of {"col": int, "row": int, "tile_index": int} (col/row are grid coordinates; tile_index 0 clears the cell)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tilesYes
filenameYes
layer_nameYes
frame_indexYes
Behavior3/5

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

With no annotations, the description carries full burden. It reveals that tile_index 0 clears the cell and frame_index starts at 1, but doesn't address write implication, required permissions, or error handling. Adequate but not comprehensive.

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 a single focused paragraph with a clear Args list. Every sentence adds value, no filler. Front-loaded with the core action.

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?

Given no output schema or annotations, description covers action and parameters well. Could be improved by mentioning prerequisites (e.g., tilemap layer must exist) and behavior for invalid indices. Currently, it's mostly sufficient for a standard tile placement tool.

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 description fully defines each parameter: filename as file to modify, layer_name as tilemap layer, frame_index as starting at 1, and tiles as list of col/row/tile_index with special meaning of 0. This adds essential meaning beyond schema titles.

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 action 'Place tiles' and the resource 'tilemap layer', specifying grid-based placement. It distinguishes from sibling tools like draw_on_tile or create_tilemap_layer by focusing on batch tile placement via grid coordinates.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The description implies batch tile placement but lacks explicit guidance on when to use this tool vs alternatives such as draw_on_tile or clear_cel. No exclusions or when-not-to-use scenarios are provided.

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/NosytLabs/aseprite-mcp'

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