Skip to main content
Glama

drive_upload

Encrypt and upload a local file into a Proton Drive folder; leave the destination empty to place it at the account root.

Instructions

Encrypt and upload a local file into a Proton Drive folder (empty dest_folder is the root).

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": {
      "local_path": "<local_path>"
    },
    "name": "drive_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
mime_typeNoapplication/octet-stream
local_pathYes
dest_folderNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does add real value by disclosing that content is encrypted before upload and what an empty dest_folder means, but it omits what happens on filename collision (overwrite vs. new version), whether a nonexistent dest_folder is auto-created or errors, and any size/permission constraints.

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?

A single front-loaded sentence with no filler; the root-folder caveat is packed into a tight parenthetical rather than a separate clause. Nothing could be removed without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations and zero schema description coverage, this is thin: an agent knows what it does and where files land, but not the failure modes or the meaning of two of its four inputs. An output schema exists, so return values need not be described, but upload-write hazards (collision, path errors) remain unaddressed.

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

Parameters2/5

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

Schema coverage is 0%, so the description must explain four parameters and only covers one: dest_folder's empty-means-root semantics, which is genuinely useful. The non-obvious 'name' parameter (default empty, presumably derived from local_path) and 'mime_type' (default application/octet-stream) are left entirely to the bare schema titles.

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?

Specific verb pair ('Encrypt and upload') plus a named resource and destination ('a local file into a Proton Drive folder'), which clearly separates it from drive_download and the other read-oriented siblings. It stops short of any explicit sibling comparison, but the intent is unambiguous.

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?

The parenthetical 'empty dest_folder is the root' gives one concrete usage hint for targeting the drive root, which is the most common ambiguity. There is no explicit when-to-use guidance, no mention of prerequisites (auth, folder existence), and no pointer to drive_mkdir for creating a destination folder first.

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