Skip to main content
Glama
PengLx
by PengLx

Read referenced tileset details

tiled_get_tileset
Read-onlyIdempotent

Retrieve a semantic summary of a tileset from a map, including tile properties, animations, collision geometry, and Wang sets.

Instructions

Returns a bounded semantic summary of one tileset referenced by a map — an external TSJ selected by tilesetAssetId, or an embedded (inline) atlas tileset selected by its original tilesets[] index via embeddedIndex (exactly one selector is required; embedded content is pinned by the map revision itself). Includes sparse tile metadata with per-tile custom-property values (scalars, enums, object references, and bounded raw nested class/list values; only oversized entries carry an explicit valueOmitted marker), animation, exact collision shape geometry (gid/template objects and oversized paths carry omission markers), and expanded Wang sets (full color projections plus a bounded wangtile sample; wangid slots run clockwise from the top edge). Image-collection tilesets project a collection block instead of atlas geometry, with each returned page tile's image verified and revision-pinned; collection Wang sets, per-tile sub-rectangles, and embedded image-collection tilesets fail closed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
mapPathYesCanonical project-relative POSIX path; absolute paths and .. are forbidden
startTileIdNo
embeddedIndexNo
tilesetAssetIdNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false. The description adds value by detailing what the summary includes (sparse tile metadata, animation, collision shapes, Wang sets) and limitations (omission markers for oversized entries, collection Wang sets fail closed).

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?

The description is clearly structured with front-loaded purpose and layered details. Some sentences are dense and could be simplified, but the information is well-organized and relevant.

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 the tool's complexity (5 parameters, output schema exists), the description is quite complete. It covers return value content, edge cases (omission markers), and failure conditions. The presence of an output schema reduces the burden, and the description adds useful summary context.

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 only 20% (only mapPath described). The description adds meaning for the selectors (tilesetAssetId, embeddedIndex) by explaining their roles, but it does not provide additional semantics for limit or startTileId beyond their schema defaults and constraints.

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 returns a bounded semantic summary of one tileset referenced by a map. It distinguishes two selector methods (external TSJ by tilesetAssetId or embedded by embeddedIndex), which differentiates it from sibling tools like tiled_get_map_summary or tiled_list_tile_names.

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?

The description explicitly notes that exactly one selector is required (tilesetAssetId or embeddedIndex) and mentions failure modes for embedded image-collection tilesets. However, it lacks explicit guidance on when to use this tool versus alternatives like tiled_get_map_summary for broader map data.

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/PengLx/TiledMCP'

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