Skip to main content
Glama

Drive Upload

drive_upload

Upload a local file to Google Drive with an optional target folder; returns the created file ID so you can reference it in later steps.

Instructions

Upload a local file to Drive. Requires user confirmation before calling.

If folder_id is omitted, uploads to the configured default parent folder.

Returns dict with key: id (created Drive file ID).

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

Input Schema

NameRequiredDescriptionDefault
nameYes
folder_idNo
local_pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations declare openWorldHint=false, idempotentHint=false, and destructiveHint=false, so the safety profile is already visible. The description still adds real value by disclosing the approval requirement and the default-parent-folder fallback. It does not address overwrite behavior for an existing file of the same name, which is the main remaining gap.

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 that are front-loaded with the purpose and constraint, then parameter behavior, then the return value. Nothing is redundant or padding.

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?

An output schema exists, and the description still names the returned id key, so return semantics are covered. The remaining shortfall is the undocumented meaning of name and local_path for a mutation tool with zero schema coverage.

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 description coverage is 0%, so the schema supplies no parameter meaning at all. The description compensates for folder_id (optional, defaults to configured parent) but leaves local_path (absolute vs relative) and especially name (whether it overrides the local filename) unexplained, so half the parameters remain ambiguous.

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?

"Upload a local file to Drive" gives a specific verb and resource, and the operation is clearly distinct from siblings like drive_move, drive_rename, or drive_get. It does not explicitly contrast itself with any sibling, but the purpose is unambiguous 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 Guidelines4/5

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

The description states a hard prerequisite (user confirmation before calling) and explains the fallback path when folder_id is omitted. It stops short of naming alternatives or when-not conditions, but the usage context is clear enough to act on.

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