Skip to main content
Glama

checkpoint

Save active task state as session memory or restore the latest saved state to resume work and hand off context between sessions. Deprecated: use session instead.

Instructions

Deprecated: use session. Save the active task state (estado.md) as a session memory, or restore the latest; removed in the next minor release.

save: {"saved", "path", "task_title"}; saved is false when no state is active. restore: {"found", "path", "task_title", "content", "source"}. It reads the live active estado.md first (the branch's change, else the newest), with a flow line (etapa and tasks.md progress); without one it falls back to the saved checkpoint. Saved checkpoints of tasks with no active state are archived. Never blocks compaction. With [checkpoint] state_glob set, the JSON adds "deprecated".

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": {
      "action": "<action>"
    },
    "name": "checkpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes"save" or "restore".
projectNoProject; defaults to --project.
hook_eventNoOnly for Claude Code hooks: ${hook_event_name}. Omit otherwise.
task_titleNorestore only: resume this task (exact title) instead of the branch's.
project_dirNoAbsolute project directory (hooks pass ${cwd}).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.16.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the load well: it discloses that restore prefers the branch's live change then the newest, includes a flow line with etapa and tasks.md progress, archives checkpoints for tasks with no active state, and never blocks compaction. Missing only error/permission behavior, which keeps it below a 5.

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 deprecation warning is front-loaded and the compact '{field}' notation communicates both response shapes in few characters. The prose is dense but nearly every clause (fallback order, archiving, compaction) carries behavioral information.

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?

There is no output schema, and the description compensates by enumerating the save and restore response fields, including the conditional 'deprecated' key. Combined with the 100%-covered input schema, an agent has enough to call it correctly; error conditions are the only notable gap.

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 action, project, hook_event, task_title, and project_dir are already documented. The description adds value mainly for return values ('saved', 'found', 'source') rather than input parameter semantics, so the baseline 3 applies.

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 first sentence states a concrete verb and resource — save active task state (estado.md) as a session memory, or restore the latest — and explicitly names the sibling 'session' as the replacement. An agent can distinguish this tool from 'session' and from state-reading siblings without opening the schema.

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?

It gives clear routing guidance ('Deprecated: use session', 'removed in the next minor release') and describes the restore precedence (live estado.md first, checkpoint fallback). It stops short of spelling out the remaining valid conditions for calling save versus restore, but the deprecation context is unambiguous.

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