Skip to main content
Glama

Gdrive Write File

gdrive_write_file
Destructive

Writes or overwrites a text file in the synced Google Drive folder — it uploads automatically via the official client. Overwriting an existing file keeps its previous version first, in LMCP's own folder, and the answer says where (previous_version).

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute path under a Google Drive mount
confirmNoIgnored; kept for older clients.
contentYesText content to write

Output Schema

NameRequiredDescriptionDefault
pathYes
bytesYes
writtenYes
overwroteYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / confirm / description
      Previous value: -"Required (true) to OVERWRITE an existing file. Not needed to create a new file."New value: +"Ignored; kept for older clients."
  2. Changed1 schema field changed
    • changedInput schema / properties / confirm / description
      Previous value: -"Must be true to actually write"New value: +"Required (true) to OVERWRITE an existing file. Not needed to create a new file."
  3. Changed1 schema field changed
    • changedInput schema / properties / confirm / description
      Previous value: -"Required (true) to OVERWRITE an existing file. Not needed to create a new file."New value: +"Must be true to actually write"
  4. Changed1 schema field changed
    • changedInput schema / properties / confirm / description
      Previous value: -"Must be true to actually write"New value: +"Required (true) to OVERWRITE an existing file. Not needed to create a new file."
  5. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true; the description goes further by explaining that uploads go through the official client automatically, that overwriting preserves the previous version in LMCP's own folder, and where that location is surfaced in the response — exactly the 'what gets destroyed and how it is recoverable' detail the hint cannot convey.

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-loaded with the action and scope, followed by the overwrite/backup behavior. No filler or restated title.

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?

An output schema exists so return-format explanation is unnecessary; the description still supplies the one behavioral fact an agent needs (overwrite is safe because the prior version is kept and reported), leaving no significant gap for a destructive write tool.

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 path, content, and the ignored confirm flag; the description adds only the overwrite-vs-create distinction for path, which is marginal beyond the schema baseline.

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?

States a specific verb and resource ('Writes or overwrites a text file') plus the exact scope ('synced Google Drive folder'), which separates it from file_write, onedrive_write_file, and the read/delete gdrive siblings without needing their schemas.

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

Usage Guidelines3/5

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

Usage is implied by 'text file in the synced Google Drive folder', but there is no explicit guidance on when to pick this over onedrive_write_file or the generic file_write, and no stated exclusions or prerequisites (e.g. mount must be connected).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources