Skip to main content
Glama

drive_create_file

Create a new file in Google Drive, optionally as a Google Doc, with specified name, content, folder, and MIME type.

Instructions

Create a new file in Drive. Set as_google_doc=True to create a Google Doc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
contentNo
folder_idNo
mime_typeNotext/plain
as_google_docNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations, the description carries full behavioral disclosure burden. It mentions a mutation ('Create') but does not disclose side effects, permission requirements, or behavior when as_google_doc is false or when content/mime_type are provided. Minimal context is added.

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 very concise (two short sentences) and front-loaded with the core action. Both sentences earn their place, though more detail could be added without becoming verbose.

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 tool has five parameters, no annotations, and a simple but ambiguous profile. The description only covers the as_google_doc flag and leaves the other parameters undefined. Even with an output schema present, the input semantics are too incomplete for reliable invocation.

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 0%, so the description must compensate for all five parameters. It only adds meaning for as_google_doc, leaving content, folder_id, mime_type, and name (beyond its obvious role) unexplained. This is insufficient given the low coverage.

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 states a clear action ('Create a new file in Drive') with a specific resource. It distinguishes from some siblings like drive_create_folder or drive_copy_file, though it could be confused with docs_create for Google Doc creation. Overall purpose is clear.

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?

The description only implies usage via the core action and the as_google_doc tip. It gives no explicit guidance on when to use this tool versus alternatives (e.g., docs_create for creating Google Docs) and no exclusions or prerequisites.

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/shanebrady77/google-workspace-mcp'

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