New Your team’s decisions, in one playbook every coding agent works from. Never answer your agent twice

manage_permissions

Manages who can access a file. action=list shows the grants (id, type, role, emailAddress/domain, expirationTime, pendingOwner). action=share grants access: type=user/group (needs email_address), domain (needs domain), or anyone (link sharing; allow_file_discovery=true also makes it searchable); ...

SERVERMcp Google Drive SOURCE@a1-x-tech/mcp-google-drive
Critical RISK CLASS
Category Destructive
Parameters 122 required
Recommended Hiddensee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/a1-x-tech-mcp-google-drive/manage-permissions.md

What manage_permissions does on Mcp Google Drive

AI agents call manage_permissions to permanently remove resources in Mcp Google Drive, typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

ParameterTypeRequiredDescription
role string — share/update: the access level. fileOrganizer/organizer exist only on shared drives; owner transfers ownership.
type string — share only: who the grant is for. user/group need email_address; domain needs domain; anyone = link sharing.
action string Yes What to do with the file's permissions.
domain string — share with type=domain: the Workspace domain, e.g. example.com.
file_id string Yes The file id — the long id from the Drive URL (drive.google.com/file/d/<fileId> or docs.google.com/.../d/<fileId>/edit) or from search_files/get_file output. Fol
page_token string — list: nextPageToken from the previous page.
email_address string — share with type=user/group: the grantee's email address.
email_message string — share: a custom note for the notification email.
permission_id string — update/remove: the permission id from action=list.
expiration_time string — update: RFC3339 expiry for the grant, e.g. 2026-12-31T00:00:00Z (not available for owners).
transfer_ownership boolean — share with role=owner: confirm the ownership transfer (required by the API for role=owner).
allow_file_discovery boolean — share with type=domain/anyone: whether the file can be FOUND by search (default false = link only).

Parameters from the server's own tool schema.

Why manage_permissions is rated Critical

An AI agent that decides to call manage_permissions doesn't hesitate, doesn't double-check, and doesn't stop at one. Whatever it removes from Mcp Google Drive is gone. There is no undo for destructive operations.

Risk signalsHigh parameter count (13 properties)

Questions about manage_permissions

What does the manage_permissions tool do? +

Manages who can access a file. action=list shows the grants (id, type, role, emailAddress/domain, expirationTime, pendingOwner). action=share grants access: type=user/group (needs email_address), domain (needs domain), or anyone (link sharing; allow_file_discovery=true also makes it searchable); role=reader, commenter, writer, fileOrganizer/organizer (shared drives only) or owner. Sharing with a user emails them by default — send_notification_email=false suppresses it (not allowed for ownership transfers); email_message adds a note. action=update changes an existing grant's role (needs permission_id from list); action=remove revokes it. Ownership transfer: role=owner with transfer_ownership=true — between personal accounts this only INVITES the new owner (pendingOwner until they accept). Changes are live immediately; removing your own access to someone else's file is irreversible from your side. role=owner/organizer grants full control including permanent deletion — prefer writer or less. It is categorised as a Destructive tool in the Mcp Google Drive MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.

What parameters does manage_permissions accept? +

manage_permissions accepts 12 parameters: role, type, action, domain, file_id, page_token, email_address, email_message, permission_id, expiration_time, transfer_ownership, allow_file_discovery. Required: action, file_id. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on manage_permissions? +

Register the Mcp Google Drive MCP server in PolicyLayer and add a rule for manage_permissions: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Mcp Google Drive. Nothing to install.

What risk level is manage_permissions? +

manage_permissions is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit manage_permissions? +

Yes. Add a rate_limit block to the manage_permissions rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block manage_permissions completely? +

Set action: deny in the PolicyLayer policy for manage_permissions. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides manage_permissions? +

manage_permissions is provided by the Mcp Google Drive MCP server (@a1-x-tech/mcp-google-drive). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Mcp Google Drive, and thousands of servers like it.

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Mcp Google Drive's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.