Skip to main content
Glama

drive_update

Idempotent

Update the contents of a Google Drive file by uploading a local file to replace it. Requires user confirmation before the replacement occurs.

Instructions

Replace a Drive file's contents with a local file. Requires user confirmation before calling.

Returns dict with key: id (updated Drive file ID).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_idYes
local_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

The description adds value beyond annotations by stating the tool 'Requires user confirmation before calling,' which is a critical behavioral caveat not captured in annotations. Annotations declare destructiveHint: false and idempotentHint: true, which are consistent with the described replacement action, and the return format is clearly specified.

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 extremely concise—two sentences, no fluff. The first sentence captures the core action and a critical behavioral condition; the second describes the return value. Every sentence earns its place.

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?

Given the tool's simplicity (two parameters, implied output schema, and annotations), the description is largely complete. It covers the action, a key behavioral requirement, and the return format. It does not address error cases or permissions, but these are partly covered by annotations and the tool's straightforward nature.

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

Parameters2/5

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

With 0% schema description coverage, the description must compensate for parameter meaning. While the action implies that file_id is the target Drive file and local_path is the source file, no explicit parameter descriptions are provided. The names are somewhat self-explanatory, but the description does not fully compensate for the lack of schema documentation.

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 states the specific action ('Replace a Drive file's contents with a local file'), clearly identifying the verb and resource. The sibling tools include drive_upload and drive_move, so this description differentiates it as an update operation on existing file content.

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 does not provide guidance on when to use this tool vs. alternatives like drive_upload or drive_search. It lacks explicit when-to-use or when-not-to-use context, leaving the agent to infer usage from the purpose alone.

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/jimmy-larsson/hermes-google'

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