Skip to main content
Glama

Download from Drive

drive_download

Download files or folders from Proton Drive to a local destination folder, including recursive folder contents, with conflict handling for existing local items.

Instructions

Download a file or folder from Proton Drive to the local filesystem. localPath is a destination FOLDER, not the file's final path — created if missing; the item is placed inside it under its remote name (/my-files/report.pdf with localPath '/tmp/out' gives /tmp/out/report.pdf). Folders download recursively. File and folder conflict strategies are separate, both default to 'skip'. Returns {downloaded, skipped, failed} counts (not the local path) and fails the call if any file failed. The server asks the user to approve this itself when fileConflictStrategy or folderConflictStrategy is 'remove' (it deletes the existing LOCAL file or folder).

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": {
      "remotePath": "<remotePath>",
      "localPath": "<localPath>"
    },
    "name": "drive_download"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmedNoOptional and ignored: the server asks the user to approve this itself. You do not need to send it.
localPathYesAbsolute local DESTINATION FOLDER, not the file's final path. Created if missing; the item is placed inside it under its remote name.
remotePathYesAbsolute remote path to download, e.g. /my-files/report.pdf.
fileConflictStrategyNo'skip' keeps the existing local file (default). 'rename' downloads under a unique name. 'remove' deletes the local file first — confirm with user.
folderConflictStrategyNo'skip' keeps the existing local folder (default). 'merge' merges contents into it. 'rename' downloads under a unique name. 'remove' deletes the local folder first — confirm with user.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.12.0
    • changedInput schema / properties / confirmed / description
      Previous value: -"Must be true; only after the user approved this exact action."New value: +"Optional and ignored: the server asks the user to approve this itself. You do not need to send it."
  2. Changed5 schema fields changedv1.2.0
    • changedInput schema / properties / confirmed / description
      Previous value: -"Must be true. Only set after the user explicitly approved this exact action."New value: +"Must be true; only after the user approved this exact action."
    • changedInput schema / properties / fileConflictStrategy / description
      Previous value: -"'skip' leaves an existing local file unchanged (default). 'rename' downloads under a unique name. 'remove' deletes the local file and downloads the remote copy in its place — confirm with user first."New value: +"'skip' keeps the existing local file (default). 'rename' downloads under a unique name. 'remove' deletes the local file first — confirm with user."
    • changedInput schema / properties / folderConflictStrategy / description
      Previous value: -"'skip' leaves an existing local folder unchanged (default). 'merge' merges the downloaded folder's contents into the existing one. 'rename' downloads under a unique name. 'remove' deletes the local folder and downloads the remote copy in its place — confirm with user first."New value: +"'skip' keeps the existing local folder (default). 'merge' merges contents into it. 'rename' downloads under a unique name. 'remove' deletes the local folder first — confirm with user."
    • changedInput schema / properties / localPath / description
      Previous value: -"Absolute local DESTINATION FOLDER (must start with '/'), not the file's final path. Created automatically if it doesn't exist. The downloaded item is placed inside it, keeping its original remote name."New value: +"Absolute local DESTINATION FOLDER, not the file's final path. Created if missing; the item is placed inside it under its remote name."
    • changedInput schema / properties / remotePath / description
      Previous value: -"Absolute remote Drive path to download (must start with '/'). E.g. /my-files/report.pdf"New value: +"Absolute remote path to download, e.g. /my-files/report.pdf."
  3. Changed1 schema field changedv1.0.38
    • addedInput schema / properties / confirmed
      Added value: +{
      +  "description": "Must be true. Only set after the user explicitly approved this exact action.",
      +  "type": "boolean"
      +}
  4. Changed4 schema fields changedv1.0.32
    • removedInput schema / properties / conflictStrategy
      Removed value: -{
      -  "description": "'skip' leaves an existing local file unchanged (default). 'replace' overwrites it — confirm with user first. 'keep-both' downloads under a unique name.",
      -  "enum": [
      -    "skip",
      -    "replace",
      -    "keep-both"
      -  ],
      -  "type": "string"
      -}
    • addedInput schema / properties / fileConflictStrategy
      Added value: +{
      +  "description": "'skip' leaves an existing local file unchanged (default). 'rename' downloads under a unique name. 'remove' deletes the local file and downloads the remote copy in its place — confirm with user first.",
      +  "enum": [
      +    "skip",
      +    "rename",
      +    "remove"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / folderConflictStrategy
      Added value: +{
      +  "description": "'skip' leaves an existing local folder unchanged (default). 'merge' merges the downloaded folder's contents into the existing one. 'rename' downloads under a unique name. 'remove' deletes the local folder and downloads the remote copy in its place — confirm with user first.",
      +  "enum": [
      +    "skip",
      +    "merge",
      +    "rename",
      +    "remove"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / localPath / description
      Previous value: -"Absolute local destination path (must start with '/'). Parent directory must already exist."New value: +"Absolute local DESTINATION FOLDER (must start with '/'), not the file's final path. Created automatically if it doesn't exist. The downloaded item is placed inside it, keeping its original remote name."
  5. Changed1 schema field changedv1.0.28
    • addedInput schema / properties / conflictStrategy
      Added value: +{
      +  "description": "'skip' leaves an existing local file unchanged (default). 'replace' overwrites it — confirm with user first. 'keep-both' downloads under a unique name.",
      +  "enum": [
      +    "skip",
      +    "replace",
      +    "keep-both"
      +  ],
      +  "type": "string"
      +}
  6. Changed2 schema fields changedv0.1.2
    • changedInput schema / properties / localPath / description
      Previous value: -"Absolute local destination path."New value: +"Absolute local destination path (must start with '/'). Parent directory must already exist."
    • changedInput schema / properties / remotePath / description
      Previous value: -"Remote Drive path to download. E.g. /my-files/report.pdf"New value: +"Absolute remote Drive path to download (must start with '/'). E.g. /my-files/report.pdf"
  7. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With annotations already declaring openWorldHint=true and destructiveHint=false, the description still adds substantial context: recursion into folders, separate file/folder conflict defaults, that 'remove' deletes the existing LOCAL item, that the server obtains user approval itself, and that the call fails if any file fails. The one nuance left implicit is why destructiveHint=false given local deletion — the approval sentence largely reconciles this rather than contradicting it.

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?

Front-loaded with the core action, then the highest-risk ambiguity (localPath is a folder) is corrected immediately with a concrete path example. Dense but every sentence carries information an agent needs: recursion, defaults, return shape, and approval behavior.

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?

There is no output schema, and the description compensates by naming the return shape ({downloaded, skipped, failed} counts, not the local path) and the failure semantics. Combined with approval flow and conflict defaults, an agent has everything needed to call this correctly; only the per-item result granularity is left unstated.

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

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so both required params and both conflict-strategy enums are already fully documented with defaults. The description reinforces the destination-folder semantics with a worked example ('/tmp/out/report.pdf'), but that meaning is already present in the localPath schema text, so the added value over structured data is modest — baseline 3.

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 file or folder from Proton Drive to the local filesystem' — which is far more than a restatement of the name. It does not explicitly distinguish itself from siblings like drive_read_content or photos_download, so an agent must infer that this is the disk-writing variant, but the local-filesystem framing does the differentiation implicitly.

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 context is implied rather than stated: the description makes clear this persists items to a local path, which contrasts with in-memory read tools. There is no explicit when-to-use/when-not sentence and no sibling is named as an alternative, leaving the agent to infer selection from the localPath requirement.

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