Skip to main content
Glama
Google Workspace MCP
by holms

Read Drive File

read_drive_file

Retrieves a file's content from Google Drive by file ID, exporting Google Docs, Sheets, and Slides as text for downstream processing.

Instructions

Read a file's content from Google Drive. For Google Docs/Sheets/Slides, exports as text.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "file_id": "<file_id>"
    },
    "name": "read_drive_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose a non-obvious behavior — that Google Docs/Sheets/Slides are exported as text rather than raw content — but says nothing about required permissions, large-file or truncation limits, or what happens for binary files (PDFs, images), leaving meaningful gaps for a read tool with no annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences, front-loaded with the core action and followed by the format caveat. No filler wording; the only cost is that the second sentence's phrasing ("exports as text") is slightly ambiguous about whether the output is a document body or a plain-text dump.

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

Completeness3/5

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

The tool is simple and an output schema exists, so return-value explanation is not needed. Still missing are the sibling routing decision and binary/large-file behavior, both of which an agent needs to invoke this correctly rather than guess.

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?

Only one parameter (file_id) exists and schema description coverage is 0%, so the description must compensate. It implies the argument is a Drive file identifier and that it may reference a native Google doc, but never states the ID format or where to obtain it, so it adds only marginal meaning beyond the schema.

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?

States a specific verb and resource ("Read a file's content from Google Drive") and adds a concrete behavior for native Google formats. It does not name or differentiate against close siblings like download_drive_file or read_google_doc, which keeps it out of 5 territory.

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?

There is no when-to-use guidance at all: nothing says when to choose this over download_drive_file (binary retrieval) or the format-specific readers (read_google_doc, read_google_sheet, read_google_slides), which is exactly the choice an agent must make. The second sentence only hints at behavior for native docs, which is not the same as routing guidance.

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