Skip to main content
Glama
571242

mcp-local-sandbox-cleaner

by 571242

clean_sandbox_artifacts

Removes verified transient files and directories from a workspace to free disk space and keep repositories clean, with dry-run previews and age filters protecting active sessions.

Instructions

Safely sweep verified transient files and directories to recover disk space and maintain repository cleanliness.

Input Schema

NameRequiredDescriptionDefault
dryRunNoIf true, only report what would be deleted without actually deleting.
minAgeMinutesNoMinimum age in minutes. Files modified more recently will be skipped to avoid disrupting active agent sessions.
workspacePathYesTarget workspace path.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It implies deletion via 'sweep' and 'recover disk space', but does not state that files are irreversibly removed, what 'verified' means, whether dry-run is the default, or what permissions are required.

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 front-loaded sentence with no filler or repetition. It is appropriately sized, though the space saved by conciseness could have been used to disclose critical deletion behavior.

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

Completeness2/5

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

For a destructive cleanup tool with no annotations and no output schema, the description is too thin. It should explain what gets deleted, how safety is ensured, and how dry-run interacts with real deletion, especially since the schema already defines these parameters but the description does not tie them together.

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 all three parameters are already documented with useful detail, including dryRun behavior and minAgeMinutes semantics. The description does not add meaning beyond the schema, which is the expected baseline when schema coverage is high.

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 states a specific verb/resource combination: 'sweep verified transient files and directories' with the goal of recovering disk space. It is clear that this performs cleanup, but it does not explicitly distinguish itself from the sibling scan_sandbox_artifacts tool or state that it deletes rather than reports.

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?

There is no explicit guidance on when to use this tool versus the sibling scan_sandbox_artifacts, nor any conditions for when not to use it. The phrase 'maintain repository cleanliness' implies usage but does not give the agent actionable selection criteria.

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