Skip to main content
Glama

drive_files_update

Modify Google Drive file metadata or content by providing file ID, new name, MIME type, or uploading replacement content.

Instructions

Update a file's metadata or content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileIdYesThe file ID to update
fieldsNoFields to return
nameNoNew file name
mimeTypeNoNew MIME type
uploadPathNoLocal file path to upload
Behavior2/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 states 'Update a file's metadata or content,' which implies mutation but doesn't specify required permissions, whether updates are reversible, rate limits, or what happens to unspecified fields. For a mutation tool with zero annotation coverage, this leaves significant behavioral gaps unaddressed.

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 ('Update a file's metadata or content.') that is front-loaded with the core purpose. There is zero waste or unnecessary elaboration, making it highly concise and well-structured for quick understanding.

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 (mutation with 5 parameters), lack of annotations, and no output schema, the description is incomplete. It doesn't explain return values, error conditions, or behavioral nuances like partial updates. For a mutation tool in this context, more detail is needed to adequately guide 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 description coverage is 100%, so the schema already documents all 5 parameters (fileId, fields, name, mimeType, uploadPath) with descriptions. The description adds no additional parameter semantics beyond implying that metadata/content updates are possible, which is somewhat redundant with the schema. Baseline 3 is appropriate as 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 ('Update') and the resource ('a file's metadata or content'), making the purpose immediately understandable. It distinguishes from siblings like drive_files_copy or drive_files_delete by specifying update operations rather than copy/delete actions. However, it doesn't explicitly differentiate from drive_files_create (which might also involve metadata) or calendar_events_update (which updates different resources).

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 provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing fileId), when not to use it (e.g., for creating new files vs. updating existing ones), or direct alternatives among siblings like drive_files_create for new files or drive_files_get for read-only access. Usage is implied but not explicitly stated.

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