Skip to main content
Glama
tom275275

Google Workspace MCP Server

by tom275275

update_drive_file

Modify Google Drive file metadata: rename, update description or MIME type, move between folders, star or trash, and adjust sharing and copy permissions.

Instructions

Updates metadata and properties of a Google Drive file.

Args: user_google_email (str): The user's Google email address. Required. file_id (str): The ID of the file to update. Required. name (Optional[str]): New name for the file. description (Optional[str]): New description for the file. mime_type (Optional[str]): New MIME type (note: changing type may require content upload). add_parents (Optional[str]): Comma-separated folder IDs to add as parents. remove_parents (Optional[str]): Comma-separated folder IDs to remove from parents. starred (Optional[bool]): Whether to star/unstar the file. trashed (Optional[bool]): Whether to move file to/from trash. writers_can_share (Optional[bool]): Whether editors can share the file. copy_requires_writer_permission (Optional[bool]): Whether copying requires writer permission. properties (Optional[dict]): Custom key-value properties for the file.

Returns: str: Confirmation message with details of the updates applied.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
file_idYes
starredNo
trashedNo
mime_typeNo
propertiesNo
add_parentsNo
descriptionNo
remove_parentsNo
user_google_emailYes
writers_can_shareNo
copy_requires_writer_permissionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.14.3

TDQS

A4.3/5.0
Behavior3/5

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

There are no annotations, so the description must disclose behavior on its own. It does state that the operation is mutating, returns a confirmation string, and gives a useful caveat that changing mime_type may require content upload. It does not discuss side effects of trashed or parent changes, nor permission requirements, leaving part of the behavioral burden unmet.

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 summary is front-loaded, followed by a well-structured Args section and a Returns line. The length is justified by the 12 parameters, and none of the prose is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 12 parameters and no annotations, the description covers all inputs, required flags, return type, and one important caveat. It is nearly complete, though it could explicitly state that unspecified fields are left unchanged and mention required user authorization.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description is the only source of parameter meaning. It explains all 12 parameters, marks the two required ones, clarifies comma-separated parent IDs, and adds a caveat on mime_type. This fully compensates for the bare schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb-resource pair: 'Updates metadata and properties of a Google Drive file.' This clearly distinguishes it from sibling tools like create_drive_file, copy_drive_file, or get_drive_file_content, and the parameter list reinforces the mutating update scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The first sentence gives a clear context: use this tool when updating Google Drive file metadata and properties. It does not name sibling alternatives or explicitly state when not to use it, such as using set_drive_file_permissions for permission-only changes, so it misses the 'exclusions' bar for a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools