GOOGLESUPER_ADD_FILE_SHARING_PREFERENCE

Modifies sharing permissions for an existing Google Drive file, granting a specified role to a user, group, domain, or 'anyone'.

SERVERGoogle Super SOURCEgooglesuper
Medium RISK CLASS
Category Write
Parameters 60 required
Recommended Rate-limitedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/googlesuper/googlesuper-add-file-sharing-preference.md

What GOOGLESUPER_ADD_FILE_SHARING_PREFERENCE does on Google Super

AI agents use GOOGLESUPER_ADD_FILE_SHARING_PREFERENCE to create or update resources in Google Super, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Google Super environment.

ParameterTypeRequiredDescription
role string Permission role to grant.
type string Type of grantee for the permission.
domain string Domain to grant permission to (e.g., 'example.com'). Required if 'type' is 'domain'.
file_id string Unique identifier of the file to update sharing settings for. Use GOOGLEDRIVE_FIND_FILE or GOOGLEDRIVE_LIST_FILES to get valid file IDs from your Google Drive.
email_address string Email address of the user or group. Required if 'type' is 'user' or 'group'.
transfer_ownership boolean Whether to transfer ownership to the specified user. Required when role is 'owner'. Only a single user can be specified in the request when transferring ownersh

Parameters from the server's own tool schema.

Why GOOGLESUPER_ADD_FILE_SHARING_PREFERENCE is rated Medium

This tool modifies access control lists (ACLs) for Google Drive files by changing sharing permissions. While not destructive (the file itself remains intact), it is a reversible write operation that alters metadata and security posture. The ability to grant roles to 'anyone' represents a significant blast radius if misused—an AI agent could inadvertently expose sensitive files to the public or unauthorized parties.

From the tool's definition Tool description states it 'Modifies sharing permissions for an existing Google Drive file, granting a specified role to a user, group, domain, or anyone'. The word 'Modifies' and 'granting' indicate data modification rather than mere retrieval.

Questions about GOOGLESUPER_ADD_FILE_SHARING_PREFERENCE

What does the GOOGLESUPER_ADD_FILE_SHARING_PREFERENCE tool do? +

Modifies sharing permissions for an existing Google Drive file, granting a specified role to a user, group, domain, or 'anyone'. It is categorised as a Write tool in the Google Super MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

What parameters does GOOGLESUPER_ADD_FILE_SHARING_PREFERENCE accept? +

GOOGLESUPER_ADD_FILE_SHARING_PREFERENCE accepts 6 parameters: role, type, domain, file_id, email_address, transfer_ownership. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on GOOGLESUPER_ADD_FILE_SHARING_PREFERENCE? +

Register the Google Super MCP server in PolicyLayer and add a rule for GOOGLESUPER_ADD_FILE_SHARING_PREFERENCE: 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 Google Super. Nothing to install.

What risk level is GOOGLESUPER_ADD_FILE_SHARING_PREFERENCE? +

GOOGLESUPER_ADD_FILE_SHARING_PREFERENCE is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit GOOGLESUPER_ADD_FILE_SHARING_PREFERENCE? +

Yes. Add a rate_limit block to the GOOGLESUPER_ADD_FILE_SHARING_PREFERENCE 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 GOOGLESUPER_ADD_FILE_SHARING_PREFERENCE completely? +

Set action: deny in the PolicyLayer policy for GOOGLESUPER_ADD_FILE_SHARING_PREFERENCE. 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 GOOGLESUPER_ADD_FILE_SHARING_PREFERENCE? +

GOOGLESUPER_ADD_FILE_SHARING_PREFERENCE is provided by the Google Super MCP server (googlesuper). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Google Super, 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 Google Super'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.