Skip to main content
Glama
PengLx
by PengLx

Find tiles by explicit semantics

tiled_find_tiles
Read-onlyIdempotent

Search a tileset for tiles matching specific class or property criteria, retrieving bounded tile references sorted by local ID.

Instructions

Searches one referenced external TSJ (atlas or image-collection) for exact tile classes or explicitly serialized scalar properties and returns bounded TileRefs ordered by local ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYes
mapPathYesCanonical project-relative POSIX path; absolute paths and .. are forbidden
startTileIdNo
tilesetAssetIdYes
expectedMapRevisionNoSHA-256 revision returned by a read or preview
expectedTilesetRevisionNoSHA-256 revision returned by a read or preview

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already indicate read-only, idempotent, non-destructive behavior. The description adds behavioral context: it returns bounded TileRefs ordered by local ID, and searches for exact matches. This goes beyond the structured fields.

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 a single sentence that front-loads the purpose. It is efficient but somewhat wordy; still, every part contributes meaning.

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?

Given the tool's complexity (7 parameters, nested query, siblings), the description covers the main purpose and search capabilities but omits the query mode (all/any) and details about startTileId and expected revisions. The output schema exists, so return value explanation is not needed.

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?

The description explains the query semantics (class and propertyEquals) which maps to the complex query object, but does not cover startTileId, limit, expected revisions. With 43% schema description coverage, more detail would be helpful, but the description adds value for the core parameters.

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 searches an external TSJ for exact tile classes or serialized scalar properties, returning bounded TileRefs ordered by local ID. It uses specific verbs and resources, and distinguishes itself from siblings like tiled_list_tile_names or tiled_render_tiles by focusing on semantic search.

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 usage for finding tiles by class or property values, but does not explicitly state when to use this tool versus alternatives (e.g., tiled_list_tile_names for listing all names, tiled_render_tiles for rendering). No when-not-to-use guidance is 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/PengLx/TiledMCP'

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