Skip to main content
Glama
AsifKibria

Claude Code Toolkit

by AsifKibria

cleanup_backups

Free disk space by deleting backup files older than a specified number of days, with a dry-run option to preview actions before removal.

Instructions

Delete old backup files to free up disk space.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
older_than_daysNoDelete backups older than this many days. Default: 7
dry_runNoShow what would be deleted without actually deleting. Default: true
Behavior2/5

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

No annotations are provided, so the description must carry the full burden. It describes deletion but does not disclose the destructive nature, default dry_run behavior (true, which is safe), or that files are permanently removed. The user must infer these from the schema parameters, which is insufficient for full transparency.

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 description is a single, short sentence that directly states the tool's purpose. It is concise with no wasted words, though it could benefit from slightly more detail about the age parameter's role.

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?

Given the simplicity of the tool (two parameters, no output schema), the description adequately covers the high-level purpose. However, it lacks safety warnings, explicit mention of the default dry_run behavior, and guidance on when cleanup is safe. This leaves gaps for an agent needing to invoke it correctly.

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 the schema already explains both parameters (older_than_days as age threshold, dry_run as preview). The description adds no additional meaning beyond the schema, meeting the baseline of 3.

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?

Description clearly states verb 'Delete' and resource 'old backup files' with goal 'free up disk space'. This distinguishes it from sibling tools like list_backups or restore_backup, though it does not specify the age criterion explicitly, which is partially covered by the input schema.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives (e.g., restore_backup, list_backups). The description merely states what it does, without context on prerequisites, safety, or when it is appropriate to run.

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/AsifKibria/claude-code-toolkit'

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