Skip to main content
Glama
Google Workspace MCP
by holms

Download Drive File

download_drive_file

Download a Google Drive file to a local path and export Docs, Sheets, or Slides to an office format for local use.

Instructions

Download a Drive file to a local path. Saves to save_dir (default ~/Downloads) under the file's Drive name unless save_name is given. For Google Docs/Sheets/Slides, exports to a suitable office format.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "file_id": "<file_id>"
    },
    "name": "download_drive_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_idYes
save_dirNo
save_nameNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses the default destination (~/Downloads) and that Google-native files are converted to an office format, but it says nothing about overwrite behavior when the target name already exists, permission/scope requirements, or size/runtime limits for a potentially long-running network operation.

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?

Three short sentences with no waste; the core action is front-loaded, then destination/naming behavior, then the Google-native export caveat. Every sentence adds information an agent would otherwise have to guess.

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 three-parameter tool with an output schema already describing returns, the description covers destination resolution, filename derivation, and format conversion. The main omissions are overwrite semantics and auth/scope requirements, which matter for a write-to-disk operation without annotations.

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 coverage is 0%, so the description must compensate, and it does: save_dir is documented with its default value (~/Downloads) and save_name is explained as an override of the Drive-derived filename. Only file_id is left unelaborated, and its meaning is self-evident from the tool name.

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?

States a specific verb and resource — 'Download a Drive file to a local path' — which is concrete and immediately distinguishable from siblings like upload_drive_file, read_drive_file, or move_drive_file. It stops short of naming any sibling explicitly, so differentiation is inferred from the verb rather than stated.

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?

Usage is implied rather than stated: 'to a local path' signals this is the tool for materializing a file locally, implicitly distinguishing it from read_drive_file. There is no explicit when-to-use/when-not guidance and no named alternative for the case where the caller only wants content, not a saved file.

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