Skip to main content
Glama

checkpoint

Save a full project snapshot and return its ID so you can restore the project to that state later.

Instructions

Save a snapshot of the whole project. Returns its id for restore().

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
labelNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden and does disclose the two most important traits: the snapshot covers the entire project (implying a heavy, persistent write) and it yields an identifier consumed by restore(). It says nothing about retention, storage cost, whether a new snapshot is always created or deduplicated, or permission requirements.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the action and scope, then the return value. Nothing is redundant and nothing is buried.

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?

Return-value shape is covered by the output schema, so the description needn't explain the id object. For a simple one-parameter tool the remaining gaps are the undocumented label and the absent when-to-use guidance relative to list_checkpoints and restore.

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 description coverage is 0% and there is one parameter, 'label' with a default of empty string, which the description never mentions. The agent gets no signal about what the label is for, whether it must be unique, or how it surfaces in list_checkpoints.

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?

The description names a specific verb and resource ('Save a snapshot') and scopes it explicitly to 'the whole project,' so an agent can tell it apart from a per-file or per-symbol operation. It stops short of naming a sibling to contrast with, but the pointer to restore() makes the pairing obvious.

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 phrase 'Returns its id for restore()' signals that this tool is the prerequisite step before restoring. It never states when to create a checkpoint versus listing existing ones via list_checkpoints, nor any preconditions such as requiring a clean tree.

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