Skip to main content
Glama

drive_read_file

Read text files from Google Drive, including native Docs, Sheets, and Slides exported to plain text or CSV. Use drive_download_file for binary files.

Instructions

Read a text file from Google Drive. Native Docs, Sheets, and Slides are exported to plain text/CSV by default. Binary files should be saved with drive_download_file instead.

Input Schema

NameRequiredDescriptionDefault
emailNoGoogle account email. May be omitted when exactly one account is configured; required when multiple accounts are configured.
file_id_or_urlYesA Google Drive file/folder ID or a Google Drive/Workspace URL
max_charactersNoMaximum characters returned; default 200000
export_mime_typeNoOptional export MIME type for a native Google Workspace file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose a genuinely useful, non-obvious trait: native Docs/Sheets/Slides are exported to plain text/CSV by default, so the agent knows the return format is transformed rather than raw. It omits permissions/auth requirements, error behavior, and any limits, so it is only partially transparent.

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?

Three tight sentences, front-loaded with the core action and followed by the two facts that change agent behavior (export default and the binary alternative). No 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?

No output schema and no annotations, so the description must stand alone; it adequately covers what the tool reads and what format it returns. It stops short of covering auth requirements or failure modes, but for a read tool with fully documented params this is close to complete.

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 all four parameters are already documented in the schema (email fallback behavior, file_id_or_url, max_characters default, export_mime_type). The description adds no syntax or format detail beyond implying the export default, so the baseline 3 applies.

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 ('Read a text file from Google Drive') and immediately names the sibling it is not for binary content ('drive_download_file'). An agent can tell this apart from the download path without opening a schema.

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?

Gives a clear exclusion ('Binary files should be saved with drive_download_file instead'), which routes the agent correctly for the binary case. It does not, however, distinguish this from drive_get_file or the docs_/sheets_ readers, so sibling ambiguity remains for text-like workspace files.

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