Skip to main content
Glama
mrbit-dev

MCP Google Drive Server

by mrbit-dev

gdrive_write_file

Create or overwrite text files in Google Drive with specified content. Specify file name, content, optional parent folder, and mime type for Google Docs.

Instructions

Create a new text file or overwrite an existing file with content

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe name of the file to create
contentYesThe text content of the file
parentIdNoThe ID of the parent folder. Defaults to 'root'.
mimeTypeNoMime type of the file. Defaults to 'text/plain'. For Google Doc use 'application/vnd.google-apps.document'.
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It mentions overwriting existing files but omits details like destructive nature, permission requirements, error conditions, or behavior with different mime types (e.g., Google Docs).

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 a single concise sentence that is front-loaded with the key action. It is efficient but could incorporate important behavioral details without losing conciseness.

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's complexity (4 parameters, 2 required, no output schema) and the absence of annotations, the description is incomplete. It does not mention default values for parentId and mimeType, return values, or error handling, leaving significant gaps for an AI agent.

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 baseline is 3. The description adds minimal value beyond the schema, only loosely referencing 'text content' and not explaining parameter interactions (e.g., content for non-text mime types).

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 or overwrites a file with content. It identifies the verb (create/overwrite) and resource (file), but lacks distinction from the sibling gdrive_update_file tool.

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 on when to use this tool versus alternatives like gdrive_update_file. The description does not specify prerequisites, context, or when not to use it.

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/mrbit-dev/mcp-google-driver'

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