Skip to main content
Glama
software-engineer-mj

google-drive-mcp

upload_file

Upload text content to Google Drive as a new file. Specify file name, content, and optionally MIME type or parent folder.

Instructions

Upload a new file to Google Drive with the given text content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName for the file in Google Drive (e.g., 'report.txt').
contentYesText content of the file to upload.
mime_typeNoMIME type of the file (e.g., 'text/plain', 'application/json').text/plain
parent_idNoID of the parent folder. If not provided, uploads to root.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations are absent, so the description bears full burden. It states 'Upload a new file' implying creation, but does not disclose overwrite behavior, permission requirements, or whether the file is created in Drive's native format. Basic but not comprehensive.

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?

The description is a single, complete sentence with no redundancy. It efficiently conveys the core action without wasting words.

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

Completeness3/5

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

The tool has four parameters and an output schema (not shown). The description covers the main action but omits context like whether the parent folder is created automatically, file size limits, or return value details. Adequate but could be more complete for agent decision-making.

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 the description adds little beyond the schema. The phrase 'with the given text content' echoes the content parameter but does not clarify MIME types or parent folder behavior beyond schema descriptions.

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 verb 'Upload' and the resource 'a new file to Google Drive with the given text content.' It distinguishes from siblings like 'upload_binary_file' and 'create_google_doc' by specifying text content, which aligns with the tool's intended use.

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 description implies usage for text file uploads but provides no explicit guidance on when to use this tool versus alternatives like 'upload_binary_file' or 'create_google_doc.' No when-not-to-use or alternative scenarios are mentioned.

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/software-engineer-mj/google-drive-mcp'

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