Skip to main content
Glama
PengLx
by PengLx

List JSON world map members

tiled_list_world_maps
Read-onlyIdempotent

Read a Tiled .world file and return its explicit map members with world coordinates, sizes, existence, pinned revisions, and custom properties. Optionally expand pattern-based members by matching file names.

Instructions

Reads one project-local JSON .world file and returns its explicit map members with world coordinates, declared sizes, per-member existence and pinned revisions, plus world custom properties. Pattern-based members are counted only by default; pass expandPatterns to match them with World::allMaps semantics — every pattern partially matches project-asset file names in exactly the world's own directory, two capture groups become x/y through the multipliers and offsets, sizes default to the absolute multipliers, and expanded members append after explicit ones without deduplication, marked fromPattern with their patternIndex.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
worldPathYesCanonical project-relative POSIX path; absolute paths and .. are forbidden
expandPatternsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations declare readOnlyHint=true and idempotentHint=true, and the description aligns with these by specifying it reads and returns data. The description goes beyond annotations by detailing expandPatterns semantics, pattern matching, lack of deduplication, and output structure, providing useful behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is fairly long and dense, packing many details into one paragraph. While it is front-loaded with the main purpose, the length could be reduced by splitting into multiple sentences or bullet points. It is informative but not optimally concise.

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 complexity of world maps with pattern-based members, the description covers key aspects: explicit members, coordinates, sizes, pinned revisions, custom properties, and expandPatterns behavior. The presence of an output schema (not shown) likely covers return values, so the description is sufficiently complete for agent understanding.

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

Parameters4/5

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

Schema coverage is 50% (worldPath has description, expandPatterns does not). The description compensates by explaining expandPatterns thoroughly: when true, it matches patterns with specific semantics, uses multipliers/offsets, and appends members without deduplication. This adds significant meaning beyond 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 reads a project-local JSON .world file and returns explicit map members with world coordinates, sizes, per-member existence, pinned revisions, and custom properties. It distinguishes itself from sibling tools by focusing specifically on listing world maps, not other Tiled resources.

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 explains the behavior when expandPatterns is passed but does not explicitly state when to use this tool versus alternatives like tiled_list_files or tiled_get_map_summary. Usage context is implied (reading world maps) but lacks explicit guidance on when not to use it.

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