Skip to main content
Glama

google_drive_files_empty_trash

Destructive

Permanently deletes all of the user's trashed files. For more information, see Trash or delete files and folders. This may delete data permanently. Undo is not guaranteed. Supply a concise reason and context for the user's activity record. These explanations do not grant permission. Listed tools may require an account connection or permission change in Leash; follow any access guidance returned by the tool and never bypass a denial.

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": {
      "reason": "<reason>",
      "context": "<context>",
      "input": "<input>"
    },
    "name": "google_drive_files_empty_trash"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes
reasonYesWhy this access is necessary to fulfill the user's request
contextYesThe user request or task that prompted this action; omit unnecessary private details

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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 and readOnlyHint=false, so the description's added warning that it 'may delete data permanently' and 'Undo is not guaranteed' is credible reinforcement rather than contradiction. It also discloses that the reason/context strings are recorded for the user's activity record and explicitly do not grant permission, plus permission-connection failure behavior. It stops short of saying what happens to shared-drive trash by default or whether the operation is batchable, so not a 5.

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 core destructive action and its irreversibility caveat, which is the right ordering. The trailing sentences about account connection and not bypassing denials are somewhat generic boilerplate, but they are short and operationally relevant rather than filler.

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

Completeness3/5

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

For a destructive, non-idempotent, no-output-schema tool, the description covers permanence and the audit fields well. It omits scope nuance an agent would want — that the operation applies to the user's trash by default and only to a shared drive's trash when driveId is set — leaving that entirely to the nested schema, which is a meaningful gap for an irreversible operation.

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 coverage is 67%, and the description adds genuine meaning for two of three top-level parameters: reason and context are audit-record fields whose presence does not authorize anything — a non-obvious point the schema's own descriptions do not make. However, the nested query options (alt, fields, prettyPrint, enforceSingleParent, driveId) are left entirely to the schema, so the description does not fully compensate for the remaining coverage gap.

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 with precise scope: 'Permanently deletes all of the user's trashed files.' The word 'all' and 'Permanently' clearly separate it from google_drive_trash_file, which trashes an individual item, so an agent can distinguish it without opening the schema.

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?

Usage context is implied rather than stated: the description makes clear this is a bulk-trash purge but never says when to prefer it over per-file trashing or deletion, nor what preconditions (e.g. confirming with the user) apply. The 'follow any access guidance returned by the tool and never bypass a denial' sentence gives real operational guidance for permission failures, which lifts it above a bare 2.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.