Skip to main content
Glama
hermoso-ai

Hermoso

Official

Rename / move / trash a Drive file

update_drive_file
Idempotent

Update a Google Drive file by renaming it, moving it to a different folder, or trashing/untrashing it. Pass the file ID from list_drive_files.

Instructions

Update a Drive file: rename (name), move it into a folder (moveToFolderId, optionally removeFromFolderId to move OUT of the old one), or trash / untrash it (trash:true|false). Pass fileId (from list_drive_files). To delete permanently, use delete_drive_file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNonew name
trashNotrue → move to Trash; false → restore from Trash
fileIdYesthe Drive file id
moveToFolderIdNofolder id to move the file into (from create_drive_folder / list_drive_files)
removeFromFolderIdNothe old parent folder id to remove (when moving)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
nameNo
trashedNo
Behavior4/5

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

Description adds behavioral details beyond annotations: explains that trash boolean toggles between trash and restore, and that moving can involve removeFromFolderId. Annotations declare idempotent and non-destructive, which description supports.

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?

Two sentences front-load the main operations and provide critical details without fluff. Every sentence serves a purpose.

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

Completeness5/5

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

Covers all operations (rename, move, trash/untrash) and references where to get fileId. With output schema present, return values are not needed.

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

Parameters4/5

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

Schema coverage is 100%, but description provides context for each parameter (e.g., fileId source, removeFromFolderId purpose), adding value beyond schema definitions.

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 clearly states it updates a Drive file by renaming, moving, or trashing/untrashing, and distinguishes from delete_drive_file, which handles permanent deletion.

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

Usage Guidelines5/5

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

Explicitly tells when to use each parameter (e.g., fileId from list_drive_files) and when not to (use delete_drive_file for permanent deletion). Also notes the optional nature of removeFromFolderId.

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/hermoso-ai/hermoso'

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