Skip to main content
Glama

Delete permanently

drive_delete
Destructive

Permanently deletes a file or folder already in Proton Drive trash; deletion is irreversible, so move the item to trash first and provide its trash path or uid.

Instructions

Permanently delete a file or folder already in the Proton Drive trash — irreversible. The CLI only accepts items inside /trash or /photos-trash, so drive_trash first, then pass the trash path (or uid from drive_list_trash). If several trashed items share the name, this refuses and lists their uids: the CLI can only address trashed items by name, so use the Proton Drive web or desktop app for that. The server asks the user to approve this itself and shows them the exact path.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "drive_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidNoTrash uid from drive_list_trash; if path is also given they must match.
pathNoTrash path to delete permanently. Give path or uid (or both).
confirmedNoOptional and ignored: the server asks the user to approve this itself. You do not need to send it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.12.0
    • changedInput schema / properties / confirmed / description
      Previous value: -"Must be true; the user has acknowledged this is permanent."New value: +"Optional and ignored: the server asks the user to approve this itself. You do not need to send it."
    • changedInput schema / required
      Previous value: -[
      -  "confirmed"
      -]New value: +[]
  2. Changed4 schema fields changedv1.2.0
    • changedInput schema / properties / confirmed / description
      Previous value: -"Must be true. Confirms the user has acknowledged this deletion is permanent and cannot be undone."New value: +"Must be true; the user has acknowledged this is permanent."
    • changedInput schema / properties / path / description
      Previous value: -"Absolute remote Drive path to permanently delete (must start with '/')."New value: +"Trash path to delete permanently. Give path or uid (or both)."
    • addedInput schema / properties / uid
      Added value: +{
      +  "description": "Trash uid from drive_list_trash; if path is also given they must match.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "path",
      -  "confirmed"
      -]New value: +[
      +  "confirmed"
      +]
  3. Changed2 schema fields changedv0.1.2
    • changedInput schema / properties / confirmed / description
      Previous value: -"Must be true. Confirms the user has acknowledged this is permanent."New value: +"Must be true. Confirms the user has acknowledged this deletion is permanent and cannot be undone."
    • changedInput schema / properties / path / description
      Previous value: -"Remote Drive path to delete."New value: +"Absolute remote Drive path to permanently delete (must start with '/')."
  4. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only declare destructiveHint=true; the description adds irreversibility, the hard constraint that only /trash or /photos-trash paths are accepted, the refusal-on-duplicate-names behavior, and that the server itself prompts the user for approval showing the exact path. That is substantial behavioral context beyond the annotation, though it doesn't describe the return payload or post-delete state.

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?

Front-loaded with the irreversible outcome, then prerequisites, then the edge case and approval flow. Dense but every sentence carries operational content; the longest sentence is the only candidate for trimming.

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

Completeness5/5

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

A destructive tool with sparse annotations and no output schema, yet the description covers the safety profile, prerequisites, failure mode, and approval semantics an agent needs before calling. Nothing essential is missing.

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

Parameters4/5

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

Schema coverage is already 100%, so the baseline is 3, and the description still adds meaning: path must be a trash path, uid must come from drive_list_trash, and the two must agree when both are supplied. It also explains that confirmed is ignored because the server handles approval, which the schema notes but the description makes unambiguous.

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?

States a specific verb and resource ("Permanently delete a file or folder") plus the gating scope ("already in the Proton Drive trash") and the irreversibility flag. An agent can immediately distinguish it from drive_trash, drive_empty_trash and drive_restore.

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?

Gives an explicit prerequisite sequence (drive_trash first, then pass the trash path, or take a uid from drive_list_trash) and names a fallback channel when the name is ambiguous (Proton Drive web or desktop app). When-to-use and when-not-to-use are both covered.

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