Skip to main content
Glama

Drive Delete

drive_delete
Destructive

Delete a Drive file by its file ID when an explicit delete action is requested. Returns the deleted file's ID for confirmation.

Instructions

Delete a Drive file. Requires user to have used an explicit 'delete' verb.

Returns dict with key: id (deleted Drive file ID).

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": {
      "file_id": "<file_id>"
    },
    "name": "drive_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

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 openWorldHint=false, so the safety profile is known. The description adds the important behavioral gate (explicit user 'delete' verb required), which is not expressible in annotations. It does not say whether the file goes to trash or is permanently purged, or what error results for a missing file.

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?

Three short sentences, front-loaded with the action, then the safety gate, then the return value. No filler or redundancy.

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 one-parameter destructive tool whose annotations already flag destructiveness, the key missing piece an agent needs is the consent gate, which is present. Only gaps are irreversibility/trash behavior and missing-file error handling; return value is already covered by the output schema, so restating it is harmless but not additive.

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 single parameter file_id has 0% schema description coverage and the description never explicitly explains that it must be the ID of the file to delete. It is only inferable from 'Delete a Drive file' and the returned `id` key. Self-describing name plus implied target keeps this at a minimum-viable level.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Delete a Drive file.' This is unambiguous against siblings like drive_update, drive_get, drive_list. It does not explicitly name a sibling alternative, though the destructive verb alone separates it adequately.

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?

Adds a real precondition for invocation: the user must have used an explicit 'delete' verb, which tells the agent not to infer deletion intent from vague phrasing. No mention of alternatives such as drive_get to verify before deleting, so not a full when/when-not treatment.

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