Skip to main content
Glama
tom275275

Google Workspace MCP Server

by tom275275

get_drive_file_permissions

Retrieve detailed Google Drive file metadata and sharing permissions for a specified file ID and user email to understand access control and sharing status.

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.14.3

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It indicates a read operation ('Gets') and describes the return as detailed metadata with sharing status and URLs, but it does not disclose authentication requirements, failure behavior, or whether the returned string is JSON or formatted text. This is adequate but not rich.

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 description is compact and organized into Args/Returns sections with no filler. The 'Required' note on user_google_email is redundant given the schema, but it does not meaningfully hurt. No important content is buried.

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

Completeness4/5

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

For a simple two-parameter getter with an existing output schema, this description provides enough to invoke the tool correctly: both parameters are explained and the broad return contents are stated. It does not discuss related permission tools or edge cases, but those are not necessary for a correct call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description compensates by explaining both parameters in plain language: the user's Google email address and the file ID whose permissions to check. It also marks requiredness. It could add where to obtain the file ID or expected email format, but the core semantics are clear.

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?

The description uses a specific verb ('Gets') and identifies the resource ('detailed metadata about a Google Drive file including sharing permissions'). It is clearly a retrieval tool rather than a mutation tool, but it does not further differentiate from closely related siblings such as get_drive_shareable_link or check_drive_file_public_access.

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 statement about when to prefer this tool over the many Drive access/permission siblings such as set_drive_file_permissions, check_drive_file_public_access, or manage_drive_access. No exclusions, prerequisites, or alternative routing are provided, so an agent must infer usage solely from the purpose sentence.

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

Deploy Server

Other Tools