Skip to main content
Glama

delete_paths

Destructive

Deletes or moves user-approved files and directories to the Recycle Bin while blocking protected Windows and user roots. Runs as a dry run by default for safe verification before removal.

Instructions

Delete or move to Recycle Bin specific user-approved files or directories. Blocks protected Windows/user roots. Defaults to dry_run=True and move_to_trash=True.

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": {
      "paths": "<paths>"
    },
    "name": "delete_paths"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathsYes
dry_runNo
move_to_trashNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, so the description appropriately adds meaningful behavior beyond them: protected Windows/user roots are blocked, and both dry_run and move_to_trash default to true. It still does not explain post-dry-run permanence or permission requirements, but the safety profile is substantially strengthened.

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 compact sentences, front-loaded with the action and followed by safety constraints. There is no wasted wording.

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?

For a destructive deletion tool with annotations and an output schema, the description covers the key safety context: user-approved scope, protected roots, and safe defaults. It is slightly incomplete on explicit alternative routing and flag interaction, but otherwise adequate.

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 0%, so the description must compensate. It names paths as user-approved files/directories and states the defaults for dry_run and move_to_trash, but it does not explain what dry_run actually does or how the two flags interact.

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 clearly states the specific action and resource: delete or move to Recycle Bin files/directories, limited to user-approved paths. It does not explicitly distinguish itself from siblings like empty_recycle_bin or clean_caches, so it is clear but lacks sibling differentiation.

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?

It implies usage for user-approved deletion and highlights safety defaults, but gives no explicit when-to-use/when-not guidance or routing to alternatives such as empty_recycle_bin for bulk recycle-bin clearing.

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