Skip to main content
Glama
redesignhealth

Google Workspace MCP Server

get_drive_file_permissions

Retrieve Google Drive file sharing permissions by supplying a user's Google email and file ID. Returns detailed metadata including sharing status and URLs.

Instructions

Gets detailed metadata about a Google Drive file including sharing permissions.

Args: user_google_email (str): The user's Google email address. Required. file_id (str): The ID of the file to check permissions for.

Returns: str: Detailed file metadata including sharing status and URLs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_idYes
user_google_emailYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It states the output ('Returns: str: Detailed file metadata including sharing status and URLs') but does not mention authentication requirements, side effects, error conditions, or whether it is read-only. The term 'Gets' implies a read, but no explicit guarantees or limitations are provided.

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?

The description is concise and well-structured: a one-sentence purpose, followed by Args and Returns sections. Every sentence earns its place, with no extraneous detail. The front-loaded summary makes the tool's purpose immediately clear.

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 simple getter with an output schema, the description is minimally viable: it explains the resource, parameters, and return type. However, given the large number of sibling permission-related tools (share_drive_file, update_drive_permission, check_drive_file_public_access), it does not provide enough context to choose this tool over alternatives, and it omits authentication/error details. This makes it incomplete for safe autonomous use.

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 0%, so the description must compensate. It does describe both parameters: 'user_google_email (str): The user's Google email address. Required.' and 'file_id (str): The ID of the file to check permissions for.' However, the meaning of user_google_email is ambiguous (whose email? the account owner or the user to impersonate?), and file_id could benefit from format hints. This adds value but leaves gaps.

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?

The description clearly states the tool's function: 'Gets detailed metadata about a Google Drive file including sharing permissions.' This distinguishes it from sibling tools like get_drive_file_content (content) and get_drive_shareable_link (link). The verb 'Gets' plus the specific resource (Drive file metadata/permissions) makes the purpose unambiguous.

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?

The description provides no guidance on when to use this tool versus alternatives. It does not mention any exclusions or comparisons to closely related siblings such as check_drive_file_public_access, share_drive_file, or update_drive_permission. Usage is only implied by the stated purpose, not explicitly directed.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/redesignhealth/google-mcp-unofficial'

If you have feedback or need assistance with the MCP directory API, please join our Discord server