Skip to main content
Glama
tom275275

Google Workspace MCP Server

by tom275275

check_drive_file_public_access

Find a Google Drive file by name and verify whether it has public link sharing enabled. Ensure sensitive files aren't exposed to anyone with the link.

Instructions

Searches for a file by name and checks if it has public link sharing enabled.

Args: user_google_email (str): The user's Google email address. Required. file_name (str): The name of the file to check.

Returns: str: Information about the file's sharing status and whether it can be used in Google Docs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_nameYes
user_google_emailYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.14.3

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It clearly conveys that the operation is a search plus a read-only check and describes the return value. However, it does not disclose potential edge cases (e.g., file not found, multiple files with the same name) or whether prior authentication is required, which are relevant given the start_google_auth sibling exists.

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 compact and front-loaded with the primary purpose, followed by a clear Args/Returns structure. Every line earns its place and there is no redundant filler.

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 two-parameter tool, the description covers the core operation, parameter meanings, and return value. However, it lacks guidance on scope (which Drive account or folder), duplicate file names, and authentication prerequisites, and no output schema details are provided beyond a generic string return.

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%, so the description must compensate for the bare schema. It provides meaningful semantics for both parameters: user_google_email is identified as the user's Google email and required, and file_name is the name of the file to check. This adds value beyond the bare property names, though it could go further with format or source details.

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 states a specific action: 'Searches for a file by name and checks if it has public link sharing enabled.' This clearly identifies the resource (Drive file), the verb (search/check), and the specific focus (public link sharing). It is distinguishable from sibling tools like get_drive_file_permissions or get_drive_shareable_link because it combines lookup by name with a public-access check.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when to use this tool—when you need to verify whether a named file has public link sharing—but it does not explicitly mention alternatives or exclusion conditions. With many Drive-related siblings available, there is no guidance on when to prefer this over get_drive_file_permissions or manage_drive_access.

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