Skip to main content
Glama

drive_files_create

Create new files in Google Drive with metadata and optional local file uploads. Manage documents, spreadsheets, and other file types directly through Google Workspace integration.

Instructions

Create a new file in Google Drive. Use with bodyParams for metadata and optionally upload a local file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fieldsNoFields to return (e.g. "id,webViewLink")
nameYesFile name
mimeTypeNoMIME type (e.g. "application/vnd.google-apps.document")
parentsNoParent folder IDs (JSON array as string, e.g. '["folderId"]')
uploadPathNoLocal file path to upload
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions metadata and optional file upload, but doesn't cover critical aspects like required permissions, rate limits, error handling, or what happens on success (e.g., returns file ID). For a mutation tool with zero annotation coverage, this leaves significant gaps in understanding its behavior.

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, efficient sentence that front-loads the core purpose ('Create a new file in Google Drive') and follows with usage hints. Every word earns its place with no redundancy or fluff, making it highly concise and well-structured.

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 complexity of a file creation tool with 5 parameters, no annotations, and no output schema, the description is incomplete. It lacks details on behavioral traits (e.g., permissions, errors), doesn't explain return values, and relies heavily on the schema for parameter info. For a mutation tool in this context, more comprehensive guidance is needed.

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 description coverage is 100%, so the schema already documents all 5 parameters thoroughly. The description adds minimal value by hinting at 'bodyParams for metadata' and 'upload a local file,' which loosely maps to parameters like name, mimeType, and uploadPath, but doesn't provide additional syntax or format details beyond what the schema offers. Baseline 3 is appropriate when the schema does the heavy lifting.

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 action ('Create a new file') and resource ('in Google Drive'), making the purpose immediately understandable. However, it doesn't explicitly differentiate from sibling tools like drive_files_copy or docs_create, which also create files in related contexts, so it doesn't reach the highest score.

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 provides some usage context by mentioning 'bodyParams for metadata and optionally upload a local file,' which implies when to use it for file creation with metadata vs. uploads. However, it doesn't explicitly state when to use this tool vs. alternatives like drive_files_copy (for copying existing files) or docs_create (for Google Docs specifically), leaving the guidance somewhat implied rather than explicit.

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/conorbronsdon/gws-mcp-server'

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