Skip to main content
Glama

download_file

Save a Google Drive file to a local path. Exports Google-native files to common formats and refuses to overwrite unless specified.

Instructions

Save a file to a local absolute path. Google-native files are exported (Docs to docx, Sheets to xlsx, Slides to pptx, Drawings to png by default; pass format to change). Refuses to overwrite unless overwrite is true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileIdYes
formatNoExport format for Google-native files.
overwriteNo
destinationPathYesAbsolute path of the file to write, or of an existing directory to save into using the Drive name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden and does well: it discloses Google-native export behavior with per-type defaults, the format override, and the explicit refusal to overwrite unless overwrite=true — a key destructive-safety trait. It omits authentication requirements, error/partial-write behavior, and whether it creates parent directories.

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 tight sentences, front-loaded with the core action, then the two behavioral caveats that matter most. No filler or repetition of the tool name.

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 download tool with no output schema and no annotations, the description covers the essential behaviors (export mapping, overwrite protection). Missing are the return value or returned path and any auth/permission context, but nothing critical to invoking it correctly is absent.

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?

With 50% schema description coverage, the description compensates: it explains format's default-per-file-type behavior and clarifies overwrite's polarity ('refuses to overwrite unless true'), which the bare boolean property does not. destinationPath's file-or-directory duality is left to the schema, and fileId is never described, but the added meaning exceeds the baseline.

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?

States a specific verb and resource with clear directionality ('Save a file to a local absolute path'), which inherently separates it from upload_file (local→Drive) and read_file_content. An agent can identify the tool's job without opening the schema.

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: nothing says when to prefer this over read_file_content or upload_file, and no prerequisites (auth scopes, target directory existence) are given. The export-format and overwrite notes are operational detail, not when-to-use guidance.

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