Skip to main content
Glama

gdrive_permissions_delete

DestructiveIdempotent

Revoke access by deleting a specified permission from a Google Drive file or shared drive. Provide the file ID and permission ID to remove that access.

Instructions

Delete a permission. Concurrent permission writes on the same file are not supported.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileIdYesThe ID of the file or shared drive.
permissionIdYesThe ID of the permission.
supportsAllDrivesNoWhether the requesting application supports both My Drives and shared drives.
useDomainAdminAccessNoIssue the request as a domain administrator. If set to `true`, and if the following additional conditions are met, the requester is granted access: (1) The file ID parameter refers to a shared drive. (2) The requester is an administrator of the domain to which the shared drive belongs. For more information, see Manage shared drives as domain administrators.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is covered. The description adds a genuinely useful trait not present in structured data: concurrent permission writes on the same file are unsupported, which warns the agent about a real failure mode.

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?

Two short sentences, purpose first and the operational caveat second, with no filler or redundancy.

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?

For a delete operation with full schema coverage and annotations carrying the destructive/idempotent profile, the description is close to adequate. It omits any note about who may delete a permission (the schema's useDomainAdminAccess hints this matters) and what happens on success or failure, leaving a modest gap.

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 description coverage is 100%, so fileId, permissionId, supportsAllDrives and useDomainAdminAccess are all documented in the schema itself. The description adds no syntax, format or defaulting information beyond that, so the baseline of 3 applies.

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 permission'), which cleanly separates it from the sibling gdrive_permissions_create and gdrive_permissions_list. It does not explicitly name or contrast with those siblings, so it stops short of a 5.

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?

No guidance on when to use this tool versus alternatives such as gdrive_permissions_create or the broader gdrive_files_* tools, and no prerequisites (e.g. required ownership or admin rights) are given. The only caveat offered is a concurrency limitation, which is a constraint rather than usage direction.

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