Skip to main content
Glama

checkpoint

Save a named snapshot of a wireframe screen for later restore or comparison, keeping up to 20 checkpoints per screen so you can rewind before layout or content changes.

Instructions

Persist a named snapshot of one screen (20 retained per screen). Example: {"screen":"checkout","label":"before_form_rework"}.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "screen": "<screen>",
      "label": "<label>"
    },
    "name": "checkpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelYesLowercase identifier matching [a-z][a-z0-9_]{0,31}
screenYesLowercase identifier matching [a-z][a-z0-9_]{0,31}

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It usefully discloses the retention limit of 20 per screen (implying old snapshots are evicted), which is real value beyond the schema, but it omits whether the snapshot is restorable, how to restore it, side effects on the screen, and irreversibility.

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?

Two compact sentences with the core action front-loaded and the retention limit immediately after. The inline example earns its place by showing the call shape, though it partially repeats the schema.

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?

For a state-mutating persist tool with no annotations and no output schema, the description covers the action and eviction limit but never says what is returned (an id? a confirmation?) or how a checkpoint is later used, leaving an agent to guess at the follow-up workflow.

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 description coverage is 100%, so the pattern constraint and both required params are already documented. The example demonstrates both fields in use but adds no semantic meaning about what qualifies as a valid screen or label beyond the regex.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Persist a named snapshot of one screen" gives a specific verb and resource with clear scope (one screen, named). It does not name a sibling to contrast with, so it stops short of a 5, but an agent can distinguish it from undo/redo/diff by the 'named snapshot' framing.

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?

Usage is only implied: the example label "before_form_rework" suggests taking a checkpoint prior to a risky edit, and "20 retained per screen" hints at bounded history. There is no explicit statement of when to choose this over undo, redo, or diff, nor any prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.