Skip to main content
Glama
claude-continuity-mcp

claude-continuity-mcp

router_checkpoint

Save session state to editable JSON checkpoints and restore full context in about 300 tokens on resume, flagging which tracked files changed on disk.

Instructions

Traspaso de contexto entre sesiones y clientes (Desktop, Code, Cowork comparten esto).

save: guardá resumen, decisiones, pendientes y archivos relevantes al cerrar una tarea larga o cuando el contexto se llena. Persiste en disco como JSON legible (checkpoints/{name}.json) — el usuario puede editarlo. resume: una sesión nueva restaura todo en ~300 tokens, e indica qué archivos cambiaron en disco desde el checkpoint (via hash) — sin re-leerlos. Pasá project_dir con la carpeta raíz del proyecto en el que trabajás para retomar el último checkpoint DE ESE proyecto (sin él, el más reciente de todos); con name se ignora. Los autoguardados de un handoff traen además project_dir, stopped_by, git y last_assistant. list: checkpoints disponibles con fecha y resumen.

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": {
      "params": "<params>"
    },
    "name": "router_checkpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.10.0
    • addedInput schema / $defs / CheckpointInput / properties / project_dir
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "[resume] Only consider checkpoints saved for this project folder (a path inside the repo is fine). Ignored when `name` is given.",
      +  "title": "Project Dir"
      +}
  2. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false, destructiveHint=false, idempotentHint=false, so the description is carrying useful extra weight: it discloses the on-disk artifact path (checkpoints/{name}.json), that the file is human-readable and user-editable, that resume costs ~300 tokens and detects changed files by hash without re-reading, and that handoff autosaves carry extra fields (project_dir, stopped_by, git, last_assistant). That is meaningful behavior beyond the annotations and consistent with them (writing a checkpoint is additive, not destructive). It does not say what happens when save targets an existing name, which is the one real gap for a mutating action.

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?

Well front-loaded and structured as labelled blocks (save / resume / list), so an agent can scan to the action it needs. Sentences are mostly load-bearing, though the resume block runs long and mixes in details (hash comparison, autosave fields) that could be tightened. The list of three actions against an enum of four is a structural mismatch that costs it a point.

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?

An output schema exists, so return values need no explanation, and the save/resume lifecycle is covered thoroughly. But this is a multi-action tool whose enum includes 'why' (decision history behind a ref), and the description never acknowledges that capability — an agent skimming the description would not know the tool can answer provenance questions. For a four-action tool that is a material omission.

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 description adds genuine semantics beyond the schema for the trickiest parameter: project_dir selects the latest checkpoint of that project, falls back to the globally most recent without it, and is ignored when name is given — precedence rules the schema alone states more tersely. It does not cover ref, files, summary, decisions or open_items, though those carry [save]/[why] descriptions inside the nested $defs; the reported 0% coverage reflects only the undocumented top-level 'params' wrapper, not the actual per-field documentation.

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?

Opens with a specific framing ('Traspaso de contexto entre sesiones y clientes') and then names concrete operations: save persists a JSON checkpoint, resume restores it, list enumerates them. That is a clear verb+resource, and no sibling (inbox, project_search, rules, status) overlaps with checkpointing. It falls short of 5 because the schema's enum declares four actions and the description only explains three — 'why' is never mentioned.

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?

Gives real when-to-use guidance for the two main actions: save 'al cerrar una tarea larga o cuando el contexto se llena', resume 'una sesión nueva restaura todo'. It also explains when to pass project_dir versus name. What it lacks is any exclusion or routing statement — nothing tells the agent when NOT to checkpoint, or how this relates to the sibling tools that also read project state.

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