Skip to main content
Glama

get_tilemap

Read-only

Read a tilemap as a 2D grid of tile indices, plus tile size and count. Specify layer and frame to retrieve tile data from Aseprite sprites.

Instructions

Read the tilemap as a 2D grid of tile indices, plus tile size and count.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
frameNoDefault: 1.
layerYes
filenameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.10.0
    • removedInput schema / properties / filename / title
      Removed value: -"Filename"
    • addedInput schema / properties / frame / description
      Added value: +"Default: 1."
    • removedInput schema / properties / frame / title
      Removed value: -"Frame"
    • removedInput schema / properties / layer / title
      Removed value: -"Layer"
    • removedInput schema / title
      Removed value: -"get_tilemapArguments"
  2. First observedv0.7.0

TDQS

B3/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds useful context that the return is a 2D grid of tile indices plus tile size and count, but it says nothing about the layer/frame scoping behavior or error cases for a missing layer.

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?

A single front-loaded sentence with no wasted words. It is well-sized, though it spends its payload on the return shape rather than the arguments the caller must supply.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only tool whose annotations carry the safety profile, the description is adequate on the output side but thin on the input side: two required parameters (filename, layer) are unexplained and there is no output schema to fall back on. It leaves a meaningful gap for correct invocation.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33%: filename and layer — both required — have no descriptions, and only frame ('Default: 1') is documented. The description adds no meaning for any parameter, so it fails to compensate for the undocumented required inputs. An agent cannot tell what a valid 'layer' value is.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (read) and resource (tilemap), and even describes the shape of the result: a 2D grid of tile indices plus tile size and count. It is clearly a read operation, distinguishing it implicitly from write-oriented siblings like set_tile or fill_tilemap, though it never names an alternative explicitly.

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

Usage Guidelines2/5

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

No when-to-use guidance is given. The description does not state when an agent should call get_tilemap versus related tools (get_pixels, get_cel, list_slices) or what prerequisites apply. Usage is only implied by the word 'read'.

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