Skip to main content
Glama

drive_upload

Upload a file to Google Drive by specifying its name, content, and optional folder or MIME type, so AI clients can store documents and assets in Drive.

Instructions

Upload a file to Google Drive

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

Input Schema

NameRequiredDescriptionDefault
contentYesFile content or path
fileNameYes
folderIdNoroot
mimeTypeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.4/5.0
Behavior2/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, yet it says nothing about overwrite/duplicate behavior, permission requirements, size or MIME restrictions, or what is returned (e.g., a file ID). The only behavioral hint is the verb 'upload,' which the tool name already provides.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single short sentence is front-loaded and free of filler, so it is not verbose. However, it is under-specified rather than appropriately sized for a four-parameter mutation tool, so it fails the 'every sentence earns its place' test by omission rather than by padding.

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?

With four parameters, no annotations, no output schema, and low schema coverage, the definition should explain destination defaults (folderId=root), MIME handling, and the return value. None of that is present, leaving the agent materially under-informed for a write operation.

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 description coverage is only 25% (only 'content' is annotated, and ambiguously as 'File content or path'), and the description adds no meaning for fileName, folderId, or mimeType. The critical ambiguity of whether content is literal bytes/text or a local path is left unresolved in both places.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The sentence 'Upload a file to Google Drive' does name a concrete verb (upload) and resource (file in Drive), but it is nearly a restatement of the tool name drive_upload and adds no scope detail such as file type limits, size, or destination semantics. An agent can tell it is an upload, but not much beyond what the name already says.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no guidance on when to use this versus drive_create_folder, drive_download, or drive_share, and no prerequisites such as required auth/scopes or whether the target folder must exist. The agent must infer everything about selection and preconditions.

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