Skip to main content
Glama
PengLx
by PengLx

Preview deleting a project document

tiled_delete_file
Read-only

Permanently delete a TMJ map or TSJ tileset after a bounded fail-closed scan confirms it is unreferenced. Creates a checkpoint before unlinking to enable restoration.

Instructions

Plans the permanent deletion of one project-local TMJ map or TSJ tileset. The bounded fail-closed reference scan (TMJ maps, JSON worlds, JSON templates, plus TMX maps and XML templates through the bounded fail-closed XML reader; pattern-based worlds still reject the scan) must prove the target unreferenced, and it re-runs on apply. Apply commits a checkpoint of the exact current bytes before unlinking, so restoring that checkpoint recreates the file; the tool itself modifies nothing.

Input Schema

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

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

The description explicitly states the tool itself modifies nothing, aligning with the readOnlyHint annotation. It details the reference scan and checkpoint commit behavior, adding significant context beyond annotations.

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 detailed but not overly long; it front-loads the purpose. However, the technical details on reference scan types could be slightly more concise.

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

Completeness5/5

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

The description covers the tool's non-destructive nature, the reference scan preconditions, and the checkpoint mechanism, providing a complete behavioral picture given the annotations and output schema.

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?

The single 'path' parameter has full schema coverage, and the description adds clarity by specifying it must be a canonical project-relative POSIX path, reinforcing the schema's 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's function: planning permanent deletion of a TMJ map or TSJ tileset. It uses a specific verb and resource, distinguishing it from sibling tools that deal with checkpoints, rendering, or other operations.

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 implies when to use (for planning deletion of a single project-local file) but does not explicitly mention when not to use or provide alternative tools. The reference scan details give context, but no direct comparison to siblings.

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