Skip to main content
Glama
PengLx
by PengLx

Preview restoring a recovery checkpoint

tiled_preview_checkpoint_restore
Read-only

Validate a checkpoint and its expected revision to preview a destructive restore proposal without writing. Ensures safe restoration of a single document, even if the target file is missing.

Instructions

Validates one checkpoint and its exact pre-write JSON bytes, pins the current target revision, and returns a destructive restore proposal without writing. When the target file is missing (deleted through tiled_delete_file or externally), expectedRevision must equal the checkpoint's restorable content revision and the approved restore recreates the file with no-replace semantics. Only that document is restored; referenced tilesets, images and other files are not.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
checkpointIdYes
expectedRevisionYesSHA-256 revision returned by a read or preview

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Annotations declare readOnlyHint=true and destructiveHint=false. The description adds significant behavioral detail: the tool only returns a proposal, does not write, handles missing target files with specific revision matching, and restores only the document (not referenced files). No contradiction with 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 reasonably concise at four sentences, front-loading the key action. It packs essential details without excessive verbosity, though the first sentence is somewhat long and could be split for clarity.

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 has an output schema for return values, the description covers core behavior, scope limitation, and missing file handling. Minor gaps include lack of explicit prerequisites (e.g., checkpoint existence) and multi-step process context, but these are inferable from sibling names and overall workflow.

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 coverage is 50% (only expectedRevision has a description). The tool description does not explain the parameters, missing checkpointId meaning entirely. It mentions 'pins the current target revision' which relates to expectedRevision but is not explicit. Description fails to add value over 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 validates a checkpoint, pins a revision, and returns a destructive restore proposal without writing. It distinguishes itself from sibling commit/discard tools by emphasizing 'without writing' and only restoring the specific document, not referenced files.

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 usage for previewing before commit and addresses edge cases like missing files. It provides clear context but does not explicitly state when to use versus alternatives like tiled_preview_prepared_checkpoint_commit, though the read-only nature and 'proposal' wording serve as implicit guidance.

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