Skip to main content
Glama

upload_file_to_drive_from_resource

Upload files to Google Drive from shared blob storage, enabling cross-server file transfers without data duplication through MCP protocol.

Instructions

Upload a file to Google Drive from a resource identifier.

The resource identifier references a blob in the shared blob storage volume (mapped via Docker volumes) that can be accessed by multiple MCP servers.

This allows other MCP servers to upload resources to the blob storage, and this server can then upload those resources to Google Drive without needing to transfer the actual file data through the MCP protocol.

Supports any file type. Returns the file ID and web link.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
resource_idYesResource identifier (e.g., 'blob://1733437200-a3f9d8c2b1e4f6a7.pdf')
nameNo
parent_folder_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does well by explaining the blob storage mechanism and multi-server access pattern, and mentions support for any file type and return values. However, it doesn't address important behavioral aspects like authentication requirements, rate limits, error conditions, or whether this is a destructive operation (though 'upload' implies creation).

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 efficiently structured with four sentences that each add value: 1) core purpose, 2) resource identifier explanation, 3) multi-server workflow benefit, 4) file type support and return values. No wasted words, front-loaded with the most important information.

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?

Given the tool's complexity (upload operation with blob storage integration), no annotations, and an output schema (which handles return value documentation), the description provides good contextual completeness. It explains the unique blob storage mechanism and multi-server workflow that aren't evident from the schema alone. The main gap is lack of behavioral details like permissions or error handling.

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

Parameters4/5

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

Schema description coverage is only 33% (only 'resource_id' has a description), but the description compensates well by explaining what 'resource_id' represents (blob storage references) and the overall purpose. It doesn't detail the semantics of 'name' or 'parent_folder_id' parameters, but provides enough context about the upload operation to make the tool usable. With 3 parameters and low schema coverage, this is above baseline.

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 specific action ('Upload a file'), target resource ('to Google Drive'), and source ('from a resource identifier'). It distinguishes itself from sibling tools like 'upload_file_to_drive' and 'upload_image_to_drive_from_resource' by specifying it works with any file type from blob storage, not just images or direct uploads.

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 provides clear context about when to use this tool: when you have a resource identifier referencing blob storage accessible by multiple MCP servers, and you want to upload that resource to Google Drive without transferring file data through MCP. However, it doesn't explicitly state when NOT to use it or name specific alternatives like 'upload_file_to_drive' for direct uploads.

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/nickweedon/google-docs-mcp-docker'

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