Skip to main content
Glama

clear_checkpoints

Deletes all project checkpoints after user confirmation. Use without confirm to preview the number of checkpoints that would be removed.

Instructions

Delete all checkpoints for this project. Requires confirm=true.

Called without confirm, it only reports how many checkpoints would be deleted; ask the user before calling again with confirm=true.

Args: confirm: Must be true to actually delete. False = dry run. project_dir: Optional project directory override; defaults to the server's working directory (walking up to the nearest .git root).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNo
project_dirNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

In the absence of annotations, the description discloses the dry-run behavior and the requirement for confirmation. However, it does not mention edge cases like zero checkpoints or result format.

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?

Concise and well-structured with a clear main sentence and bullet-pointed Args. Slightly verbose in the dry-run explanation, but overall efficient.

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?

Given sibling tools and the presence of an output schema, the description covers the essential functionality and parameter behavior. Could add a word about response format.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description fully explains both parameters: confirm's dry run vs delete behavior, and project_dir's default resolution policy.

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 clearly states 'Delete all checkpoints for this project', using a specific verb and resource. It distinguishes itself from siblings like get_checkpoint, list_checkpoints, and save_checkpoint.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly explains when to use confirm=false (dry run) vs confirm=true (actual deletion), and instructs to ask user before deleting. Provides clear usage context.

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/DiegoWare/agent-checkpoint-mcp'

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