Skip to main content
Glama

gdrive_download_file

Download Google Drive files to a local filesystem path. Google Docs, Sheets, and Slides are exported to Office formats; other files keep native binary format.

Instructions

Download a Google Drive file to a local filesystem path.

Google Docs/Sheets/Slides are exported to Office formats (.docx/.xlsx/.pptx). Other files are downloaded in their native binary form.

Discovery: use gdrive_search or gdrive_list_folder first to obtain file_name / file_id values.

Use this for: saving a Drive file locally for offline/binary use. Not for: reading text content in-chat — see gdrive_read_file.

Args: local_path: Destination file path, or directory to download into file_name: Name of the file to download file_id: Optional stable file ID (preferred when known) dry_run: Preview the download without writing bytes

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dry_runNo
file_idNo
file_nameNo
local_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.6/5.0
Behavior4/5

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

No annotations are provided, so the description carries the behavioral burden. It discloses that Google Docs/Sheets/Slides are exported to Office formats while other files download in native binary form, and that dry_run previews without writing bytes. It does not mention overwrite behavior or directory creation, but the core side effects are clearly stated.

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 purpose is front-loaded, followed by format behavior, discovery instructions, explicit use/not-for routing, and a terse Args list. Every sentence earns its place, and the structure is 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?

Given no annotations and a schema with zero parameter descriptions, the description covers purpose, alternatives, discovery, conversion behavior, and every parameter. Minor omissions like overwrite semantics and file_name/file_id precedence keep it from being fully complete.

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 input schema has no parameter descriptions, so the Args block adds meaningful value: local_path is a destination path or directory, file_id is an optional stable ID preferred when known, and dry_run previews without writing. It could further explain how file_name and file_id interact when both are supplied.

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 and resource: 'Download a Google Drive file to a local filesystem path.' It also distinguishes itself from the sibling gdrive_read_file by framing this tool as saving for offline/binary use rather than reading text content in-chat.

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

Usage Guidelines5/5

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

It explicitly says 'Use this for: saving a Drive file locally for offline/binary use' and 'Not for: reading text content in-chat — see gdrive_read_file.' It also directs agents to gdrive_search or gdrive_list_folder first to obtain file_name/file_id, which is clear usage guidance.

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