Skip to main content
Glama

checkpoint

Create a local snapshot of repo state (HEAD, working tree, untracked files) for rollback before risky edits. Unaffected by branches, history, or remotes.

Instructions

Snapshot the current repo state (HEAD + working tree, tracked AND untracked) into a local checkpoint so it can be rolled back. Free local git plumbing — no Codex cost. Take one before risky edits or implement runs (implement takes one automatically). Never touches branches, history, or remotes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNoOptional label for this checkpoint.
projectNoProject path the user named in chat (armed via init). Pass it explicitly on every call. If no project has been named, ask the user; never guess.
session_tokenNoSession token returned by init (or create_project). Required for every project tool call in this chat. A new chat must be re-armed.
Behavior5/5

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

With no annotations provided, the description carries full burden, and it delivers: discloses exact snapshot scope ('HEAD + working tree, tracked AND untracked'), cost characteristics ('Free local git plumbing — no Codex cost'), and non-destructive guarantees ('Never touches branches, history, or remotes'). This is exemplary disclosure of tool behavior and side effects.

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?

Four tightly-packed sentences, each earning its place: what it does, cost implication, when to use, and what it never does. Front-loaded with the core purpose; zero fluff or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple tool with 0 required parameters and no output schema, the description covers all essential aspects: what gets snapshotted, cost, usage timing, and constraints. Nothing material is left undisclosed for this tool's complexity level.

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 baseline 3 applies. The description does not add parameter-level detail about note/project/session_token, but the schema already documents these thoroughly. No transformation or format information needed; the description doesn't need to compensate, so baseline is appropriate.

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 uses a specific verb+resource+outcome pattern: 'Snapshot the current repo state (HEAD + working tree, tracked AND untracked) into a local checkpoint so it can be rolled back.' It distinguishes from siblings by stating 'Never touches branches, history, or remotes,' differentiating it from git_commit and clarifying rollback semantics relative to the rollback sibling.

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 explicit when-to-use guidance: 'Take one before risky edits or implement runs (implement takes one automatically).' The exclusion 'Never touches branches, history, or remotes' implies when NOT to expect persistence semantics, though it doesn't name an explicit alternative tool like git_commit for history preservation.

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/psrisuphan/cheap-labor'

If you have feedback or need assistance with the MCP directory API, please join our Discord server