Skip to main content
Glama

Trash many items

drive_bulk_trash
Idempotent

Trash up to 200 remote items using a plan-first workflow: preview problems first, then approve the exact list before any items move to trash.

Instructions

Trash up to 200 items (drive_restore recovers). Without confirmed: plan and problems only. With confirmed=true: trashes only if no problems. With confirmed=true the server first asks the user to approve the exact list, and trashes nothing if the plan changed meanwhile.

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": "drive_bulk_trash"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathsYesAbsolute remote paths.
confirmedNoPlan/apply switch: false or absent returns the plan only and changes nothing; true applies it after the server has asked the user to approve the exact list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.12.0
    • changedInput schema / properties / confirmed / description
      Previous value: -"Must be true; only after the user approved this exact action."New value: +"Plan/apply switch: false or absent returns the plan only and changes nothing; true applies it after the server has asked the user to approve the exact list."
  2. Addedv1.5.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare idempotency and non-destructiveness; the description adds substantial context beyond them: the 200-item cap, the plan/apply switch, a server-side user-approval step on the exact list, and an abort if the plan changed between approval and apply. These are the safety facts an agent needs before issuing a bulk mutation.

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-loads the action and the recovery path in one short sentence, then covers the two modes. Slightly repetitive with 'With confirmed=true' used twice, but every clause carries behavioral weight.

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 two-parameter, no-output-schema bulk mutation, the description covers risk, reversibility, and failure behavior. It does not describe the shape of the returned 'plan and problems', though that is a minor remaining gap.

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 100%, so the baseline is 3, but the description adds meaning beyond the schema: it clarifies that confirmed=true triggers a user-approval round-trip and that a stale plan causes a no-op, which the schema's terse 'Plan/apply switch' phrasing does not convey.

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+resource (trash items) with a concrete scope (up to 200), and immediately names the recovery sibling drive_restore. An agent can distinguish this bulk operation from single-item trash tools without opening a schema.

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

Usage Guidelines4/5

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

Gives explicit guidance on the two modes: without confirmed it only plans, with confirmed=true it applies — and it names drive_restore as the undo path. It does not explicitly contrast with drive_trash for single items, which is the only missing routing cue.

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