Skip to main content
Glama
spacecleaner-mcp

spacecleaner-mcp

by HalberdLLC

Is it safe to delete?

is_it_safe_to_delete
Read-only

Get a read-only safety verdict for any file or folder path before deleting it. Shows what a path holds, why it may be risky, and warns about uncommitted or unpushed git work.

Instructions

Verdict for a file or folder path: safe, careful, no, yours (your own files) or unknown, with what it holds, why, and a link. Also warns when the path is inside a git repository with uncommitted or unpushed work. Read-only; it does not delete anything.

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": {
      "path": "<path>"
    },
    "name": "is_it_safe_to_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute path or ~/..., e.g. ~/Library/Developer/Xcode/DerivedData

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description reinforces this rather than contradicting it. Beyond annotations it adds real behavioral context: the five verdict categories, an accompanying explanation and link, and a special warning when the path sits in a git repository with uncommitted or unpushed work. It stops short of explaining how verdicts are derived or how reliable 'unknown' is.

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 sentences, both load-bearing: the first front-loads the verdict set and payload, the second adds the git-specific warning and the read-only assurance. No filler and nothing that could be moved to a structured field instead.

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?

With one parameter, no output schema, and annotations covering the safety profile, the description successfully explains what the tool returns and what extra signal accompanies a verdict. It is nearly complete, missing only a note on how verdicts are determined or what conditions produce 'unknown'.

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?

There is a single parameter with 100% schema description coverage, including an absolute-path or ~/... example, so the schema already carries the semantics. The description does not add path formatting rules or edge cases (relative paths, nonexistent paths), so it lands at the baseline for high-coverage schemas.

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?

Names a concrete deliverable (a deletion verdict) for a concrete resource (file or folder path) and enumerates the exact verdict vocabulary: safe, careful, no, yours, unknown. It also states the payload shape (what it holds, why, and a link), which distinguishes it from the sibling tools that measure disk usage rather than judge a specific path.

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?

The purpose strongly implies the use case (check before deleting), and 'Read-only; it does not delete anything' sets a clear boundary against a delete operation. However, there is no explicit when-not guidance and no reference to alternatives such as what_can_i_free for broader cleanup decisions, leaving the agent to infer routing.

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