Skip to main content
Glama
dipseth

google-workspace-unlimited

Create Drive File

create_drive_file

Create Google Drive files from direct content or a URL. Set file name, folder, and MIME type.

Instructions

Create a new file in Google Drive from content or URL

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentNoDirect content for the file (optional)
fileUrlNoURL to fetch file content from (optional)
file_nameYesName for the new file
folder_idNoParent folder ID (default: 'root')root
mime_typeNoMIME type of the file (default: 'text/plain')text/plain
user_google_emailNoUse 'me' or 'myself' for auto-resolution to authenticated user, or provide specific email address. If None, uses current authenticated user (auto-injected by middleware).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNo
fileIdYes
messageYes
successYes
fileNameYes
folderIdYes
mimeTypeYes
userEmailYes
webViewLinkYes
Behavior3/5

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

The description indicates the tool creates a file, which matches the mutation indicated by `readOnlyHint=false`. It adds context about two input methods (content or URL). However, it does not disclose important behavior like what happens if the file name already exists, permissions required, or size limits. The annotations already cover safety, so the description adds some value 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 sentence that is front-loaded with the purpose and key options. Every word earns its place with no redundancy or filler.

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?

Given the tool has 6 parameters (including optional mutually exclusive `content` and `fileUrl`), the description lacks information on what happens if both are provided, default behaviors for other fields, or output details. Although an output schema exists, the description is too minimal for a tool with multiple interacting parameters.

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?

The input schema covers all parameters with descriptions, but the tool description adds value by summarizing the two sources (`content` and `fileUrl`) into a concise phrase 'from content or URL', which helps the agent understand the core distinction at a glance. This goes beyond the individual parameter descriptions.

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?

The description clearly states the tool creates a file in Google Drive from content or URL. It uses specific verbs and resources, distinguishing it from other tools like `upload_to_drive` (which likely uploads existing files) and `create_doc` (which creates specific Google Docs). However, it does not explicitly differentiate from all sibling tools.

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?

No guidance is given on when to use this tool versus alternatives like `upload_to_drive`, `create_doc`, or `create_sheet`. It also does not explain when to use `content` vs `fileUrl` or mention any prerequisites or side effects.

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/dipseth/google_workspace_fastmcp2'

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