Skip to main content
Glama

Delete File

delete_file
DestructiveIdempotent

Permanently delete a file from Google Drive. ALWAYS confirm with the user before deleting — this cannot be undone.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_idYesThe file ID to delete

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
deletedYestrue when Drive confirmed permanent deletion; the file is not in the trash and cannot be recovered through ShareWatch
file_idYes
file_nameNoname of the file that was deleted — the only record of it the caller will get, because it is gone

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedOutput schema / additionalProperties
      Removed value: -false
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already include destructiveHint: true and readOnlyHint: false, but the description adds valuable context: 'this cannot be undone' and the mandatory user confirmation step. It discloses irreversibility and a required pre-call action, going beyond what annotations state. No contradiction with annotations.

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?

The description is a single, tightly-worded sentence that front-loads the primary action and immediately follows with the critical confirmation requirement. Zero wasted words; every clause serves a purpose.

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?

For a one-parameter destructive tool with an output schema, the description fully covers what an agent needs: the operation, the irreversibility warning, and the required user confirmation. No missing behavioral or usage information that the schema or annotations wouldn't already provide.

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?

The schema already describes file_id as 'The file ID to delete' with 100% coverage. The description adds no additional parameter-specific meaning beyond confirming the deletion target. Per calibration, baseline 3 is appropriate when schema fully documents parameters.

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?

The description explicitly states the action ('Permanently delete') and the resource ('a file from Google Drive'). It clearly distinguishes from siblings like move_file or set_file_read_only, which are non-destructive operations. The verb 'delete' plus 'permanently' makes the purpose unambiguous.

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?

The description provides a clear usage precondition: 'ALWAYS confirm with the user before deleting'. This tells the agent when it is appropriate to invoke the tool and implies it should not be used without user consent. However, it does not explicitly mention alternatives or when not to use it (e.g., for temporary changes), so it falls short of a perfect score.

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.

Resources