Skip to main content
Glama

drive.teamdrives.delete

Permanently deletes a Team Drive by ID for decommissioning; deprecated—use drives.delete instead. Irreversible and refused under read-only profiles.

Instructions

Deprecated: Use drives.delete instead [HTTP DELETE] — removes the resource; irreversible unless the API documents a trash/undo flow; refused under --readonly safety profiles. Returns the post-delete resource state (or empty) as JSON — request bodies are built from the typed parameters (typed flags win over the params map), or read whole from body_file Siblings over the same resource: create, get, list, update.

Input Schema

NameRequiredDescriptionDefault
queryNoExtra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe.
paramsNoParameter map merged into the request; typed parameters win.
dry_runNoReturn the request that would be sent, without sending it.
body_fileNoRead the request body from this file ('-' for stdin) instead of building one from the parameters.
teamDriveIdYes[URL path segment] The ID of the Team Drive

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / teamDriveId / description
      Previous value: -"The ID of the Team Drive"New value: +"[URL path segment] The ID of the Team Drive"
  2. First observed

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations, the description does real work: it discloses irreversibility (absent a documented trash/undo flow), that the call is refused under --readonly safety profiles, and that it returns the post-delete resource state as JSON. However, it omits permission/auth requirements and any rate-limit or error behavior for a destructive operation.

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?

The deprecation warning and replacement are correctly front-loaded, and the whole definition is a single compressed paragraph with no filler. The em-dash-chained clauses make it denser than necessary, but nothing is wasted.

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 five-parameter, no-output-schema destructive tool, the description covers migration path, irreversibility, safety-profile refusal, return shape, and request-body construction — everything an agent needs to call or avoid it correctly.

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 100%, so all five parameters including teamDriveId and dry_run are already documented. The description restates the typed-flags-win-over-`params` precedence and the `body_file` whole-body path, which mostly duplicates existing schema text rather than adding new meaning, so the baseline 3 applies.

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 the specific action (HTTP DELETE, removes the resource) and immediately names the replacement tool `drives.delete`, so an agent can distinguish this deprecated Team Drive deletion from its siblings. The trailing sibling list (create, get, list, update) further pins down the resource scope.

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

Usage Guidelines5/5

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

Explicitly says to use `drives.delete` instead, which is the strongest possible routing guidance for a deprecated endpoint. It also enumerates the alternative operations over the same resource, leaving no ambiguity about which tool to pick.

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

Deploy Server

Other Tools