Skip to main content
Glama

google_drive_permissions_delete

Destructive

Deletes a permission. For more information, see Share files, folders, and drives. Warning: Concurrent permission modifications (such as update or delete) on the same file, folder, or shared drive aren't supported across any users or clients; only the last update is applied. This may delete data permanently. Undo is not guaranteed. 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_permissions_delete"
  }
}

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

B3.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and openWorldHint=true, so the description doesn't need to establish that this is a mutation. It still adds meaningful context beyond them: concurrent permission modifications can silently overwrite each other, data may be deleted permanently, and undo is not guaranteed. It also explains that reason/context feed a user activity record and that supplying them does not grant or imply access, which is genuinely non-obvious.

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 destructive action is stated first, immediately followed by the most important caveat (concurrency, permanent loss, no guaranteed undo), which is the right ordering for a delete tool. The trailing paragraph about Leash account connections and not bypassing denials is generic boilerplate that pads the definition without tool-specific value.

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

Completeness3/5

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

The destructive-behavior surface is covered well, but the definition omits two things an agent would want before calling: who is allowed to delete a permission (owner/editor/domain admin, which matters given useDomainAdminAccess) and what happens to sharing links or inherited access after removal. There is no output schema, so return-value explanation is not required, keeping this at a moderate level.

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?

At 67% schema coverage the schema already documents fileId, permissionId, and most nested query options, so the baseline applies. The description adds real meaning for reason and context by framing them as an activity-record audit trail that does not confer permission, but it says nothing about the nested query object or whether supportsAllDrives/enforceExpansiveAccess matter for shared-drive permissions.

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?

"Deletes a permission" gives a specific verb and a precise resource, and the resource noun (permission) is enough to distinguish it from the many *_delete siblings that target files, comments, revisions, or drives. It stops short of distinguishing itself from google_drive_permissions_create/update/get/list, which share the same resource.

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 guidance on when to remove a permission by deletion versus changing a role via google_drive_permissions_update, and no stated prerequisites such as needing ownership or editor rights on the file. The concurrency warning implicitly contrasts delete with update, but only as a hazard, not as a decision rule.

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.