Skip to main content
Glama
Themetralla3000

google-drive-mcp-server

upload_file_from_path

Upload a file from a local server path to Google Drive. MIME type is auto-detected; optionally specify a folder ID for placement.

Instructions

Uploads a file from a local path on the server to Google Drive. Use this after generating a file with another tool (e.g. PPTX at /shared/out/). The MIME type is auto-detected from the extension.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute path to the file on disk (e.g. /shared/out/presentation.pptx)
nameNoName to use in Drive. Defaults to the filename from path.
mime_typeNoMIME type. Auto-detected from extension if omitted.
folder_idNoID of the parent folder. Omit to upload to Drive root.
Behavior3/5

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

With no annotations, the description carries full burden. It mentions auto-detection of MIME type from extension, which is a useful behavioral detail. However, it omits other behaviors like error handling if path doesn't exist, size limits, permission requirements, or whether it overwrites existing files. Adequate but not thorough.

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

Conciseness4/5

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

The description is three sentences long, concise and front-loaded with the main action, followed by usage context, then additional detail on MIME detection. Every sentence adds value; no wasted words. Could be slightly more structured but very efficient.

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?

The description lacks essential context such as return value (e.g., file ID), error conditions, or behavior when the path is invalid. Given no output schema, this information is critical for the agent. Also, it does not clarify if the upload is synchronous or any rate limits. Incomplete for a mutation tool.

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 baseline is 3. The description reinforces parameter roles (e.g., 'Name defaults to the filename from path', 'MIME type auto-detected from extension if omitted') but does not add new semantic details beyond the schema. It provides useful examples but no deeper semantics.

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?

The description clearly states the tool uploads a file from a local path to Google Drive, distinguishing it from sibling tools like upload_file by emphasizing the source is a local server path. It uses specific verb 'uploads' and resource 'file from a local path', making the purpose unambiguous.

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 explicitly says 'Use this after generating a file with another tool', providing a clear use case. It does not explicitly state when not to use or mention alternatives, but the sibling list implies alternatives exist. Lacks full exclusions but gives adequate context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Themetralla3000/google-drive-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server