Skip to main content
Glama
Google Workspace MCP
by holms

Delete Google Doc

delete_google_doc

Deletes a Google Doc by document ID through the Drive API, enabling agents to remove unneeded files during automation workflows.

Instructions

Delete a Google Doc (via Drive API).

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": {
      "document_id": "<document_id>"
    },
    "name": "delete_google_doc"
  }
}

Input Schema

NameRequiredDescriptionDefault
document_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, yet it never says whether the deletion is permanent, whether it moves the doc to trash, whether it is reversible, or what permissions are required. For a destructive mutation this is a significant disclosure gap.

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?

One short sentence with no wasted words and the key information front-loaded. Brevity here is under-specification rather than efficiency, which caps the score at adequate.

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

Completeness2/5

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

An output schema exists, so return values need not be explained. But for a destructive tool with zero annotations and undocumented parameters, the definition says nothing about irreversibility or required access, leaving the agent without the information it needs to call this safely.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the single document_id parameter is undocumented everywhere; the description adds nothing about its format or how to obtain one. The parameter name is fairly self-explanatory, which keeps this above a 1, but the description does not compensate for the coverage gap.

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?

The description pairs a specific verb (Delete) with a specific resource (a Google Doc), so the operation is unambiguous. It does not, however, distinguish this from the sibling delete_drive_file, which could plausibly target the same document, leaving the agent to guess which deletion path applies.

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

Usage Guidelines2/5

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

There is no statement of when to use this versus delete_drive_file, nor any prerequisite or exclusion guidance. The only cue is the parenthetical '(via Drive API)', which hints at mechanism but not at tool selection.

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