Skip to main content
Glama
redesignhealth

Google Workspace MCP Server

check_drive_file_public_access

Search for a file by name to check if its Google Drive link is publicly accessible. Get sharing status and whether it works in Google Docs.

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
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 discloses the search-and-check behavior and describes the return value as a string with sharing status and Google Docs usability. However, it omits edge-case behaviors such as multiple files with the same name, exact-match requirements, or what happens if no file is found. It also doesn't mention whether it is a pure read operation or if any side effects occur, though it appears safe.

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 well-structured with a clear opening sentence, an Args section, and a Returns section. Every sentence earns its place: the purpose is stated first, then parameters are defined, and the return type is clarified. There is no redundant or filler content, and the format is easy to parse.

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 tool that returns a string, the description is largely sufficient. The presence of an output schema (not shown) means return values don't need to be explained, yet the description still provides return info. The main gaps are lack of guidance on file lookup uniqueness and potential error cases, but given the tool's simplicity, the description covers the essentials.

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?

The schema only provides parameter names and types with no descriptions (0% coverage). The description compensates by explaining both parameters: 'user_google_email (str): The user's Google email address. Required.' and 'file_name (str): The name of the file to check.' This adds meaningful semantic value beyond the schema, though it could further specify constraints like case sensitivity or exact match requirement.

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 a specific action: 'Searches for a file by name and checks if it has public link sharing enabled.' This combines a specific verb ('searches', 'checks') with a resource (file) and a specific scope (public link sharing), distinguishing it from sibling tools like search_drive_files or get_drive_file_permissions.

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

Usage Guidelines4/5

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

The description implies usage context: use when you need to find a file by name and determine if it has public link sharing. While it doesn't explicitly name alternatives or exclusions, the purpose is clear enough that an agent can infer when to select this tool over others like get_drive_shareable_link or get_drive_file_permissions. No misleading guidance.

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