Skip to main content
Glama
tom275275

Google Workspace MCP Server

by tom275275

get_drive_file_download_url

Download any Google Drive file to your local machine. Returns a local file path or temporary URL, and exports Docs, Sheets, and Slides to PDF, DOCX, XLSX, CSV, or PPTX.

Instructions

Downloads a Google Drive file and saves it to local disk.

In stdio mode, returns the local file path for direct access. In HTTP mode, returns a temporary download URL (valid for 1 hour).

For Google native files (Docs, Sheets, Slides), exports to a useful format:

  • Google Docs -> PDF (default) or DOCX if export_format='docx'

  • Google Sheets -> XLSX (default), PDF if export_format='pdf', or CSV if export_format='csv'

  • Google Slides -> PDF (default) or PPTX if export_format='pptx'

For other files, downloads the original file format.

Args: user_google_email: The user's Google email address. Required. file_id: The Google Drive file ID to download. export_format: Optional export format for Google native files. Options: 'pdf', 'docx', 'xlsx', 'csv', 'pptx'. If not specified, uses sensible defaults (PDF for Docs/Slides, XLSX for Sheets). For Sheets: supports 'csv', 'pdf', or 'xlsx' (default).

Returns: str: File metadata with either a local file path or download URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_idYes
export_formatNo
user_google_emailYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.14.3

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations present, the description carries the full burden of behavioral disclosure. It explicitly states the side effect of saving to local disk, explains the temporary URL validity of 1 hour, and describes export conversion behavior for native Google files. It does not cover auth requirements or failure behavior, but the disclosed side effects and mode-dependent returns are substantial and useful.

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 well-structured with an opening summary, mode-specific behavior, a clear format table, and an Args section. It is somewhat repetitive—the Returns section echoes the mode-specific return info already stated—but the organized layout and front-loaded key behavior make it easy to scan.

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?

The description covers the essential operational details: required and optional parameters, mode-dependent return values, export format defaults, and native file handling. It is reasonably complete for a file download tool, though it does not address authentication prerequisites, permissions, or how it relates to sibling tools like get_drive_file_content or get_drive_shareable_link.

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

Parameters5/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 fully compensate, and it does. It explains user_google_email as required and identifies what it represents, defines file_id as the Google Drive file ID, and gives detailed semantics for export_format including allowed values, defaults, and per-document-type support. This is strong parameter documentation beyond the bare schema.

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 clearly states the tool downloads a Google Drive file and saves it to local disk, with mode-specific return behavior (local path in stdio, temporary URL in HTTP). It also details export handling for native Google files, which clarifies the resource and action. However, the tool name emphasizes 'download URL' while the description leads with 'downloads and saves to local disk,' creating slight ambiguity, and it does not distinguish itself from sibling tools like get_drive_file_content or get_drive_shareable_link.

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 provides clear context on when stdio vs HTTP mode applies and what return type to expect, plus explicit export format behavior for Docs, Sheets, and Slides. It does not explicitly name alternative tools or state when not to use this tool, but the mode and format guidance gives enough context for an agent to decide correctly in most cases.

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