Skip to main content
Glama

google_drive_trash_file

Destructive

Move a specific file to Google Drive Trash; do not permanently delete it 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_trash_file"
  }
}

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

A4/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 safety bar is partly met; the description still adds real value by clarifying the file is moved to Trash rather than permanently destroyed, and by noting that the supplied explanations do not grant permission and that an account connection or permission change may be required. It does not say how to reverse a trashing or what happens to files already in Trash, which keeps it short of 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening clause is front-loaded and effective, but the sentence boundary is missing ("...delete it Supply a concise reason..."), making it read as a run-on. The trailing two sentences about permissions and Leash access guidance are generic boilerplate that repeats across the catalog and dilutes the tool-specific content.

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 single-target mutation tool with no output schema, the description covers the essential questions: what happens to the file, what the required metadata is for, and what permission caveats apply. It stops short of describing whether the call is idempotent or how to restore a trashed file, which annotations do not supply either.

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?

The schema documents the nested file id (67% coverage), but the description adds the non-obvious purpose of the reason and context parameters: they are recorded in the user's activity record and do not confer authorization. That meaning is not derivable from the field descriptions alone and directly guides how much detail to write.

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?

"Move a specific file to Google Drive Trash; do not permanently delete it" states a specific verb (move), resource (file), destination (Trash), and explicitly rules out permanent deletion. That negative clause is what separates it from google_drive_files_empty_trash without the agent needing to reason about sibling names.

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?

The description implies the use case (recoverable removal) and warns it is not a permanent delete, but it names no alternative and gives no conditions for choosing trash over empty_trash or deleting a file outright. The only explicit directives are the boilerplate about supplying reason/context and following access guidance, which is generic across this tool set rather than specific to trashing.

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.