Skip to main content
Glama

drive_read_file

Extract text from Google Drive files: read contents of Docs, Sheets, Slides exports, or raw text files.

Instructions

Read the text content of a Drive file (Google Docs/Sheets/Slides exported, or raw text files).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

There are no annotations, so the description carries the burden. It discloses that it reads text content and supports specific file types (exported Docs/Sheets/Slides or raw text files), providing some behavioral context. However, it does not mention error behavior for unsupported files, permission requirements, or whether it is a read-only operation (though 'read' implies it).

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 a single, front-loaded sentence with a parenthetical clarification. It is concise and free of filler; every word contributes to understanding the tool's purpose and scope.

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 (one parameter) and the presence of an output schema, the description covers the essential purpose and supported file types. It lacks explicit usage guidance for sibling tools, but it is reasonably complete for a simple read operation.

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?

The schema has one required parameter file_id with no description (0% coverage). The description only refers to 'a Drive file,' which adds little meaning beyond the tool name. It does not explain how to obtain file_id, what format it should be in, or whether it is a Google Drive ID or a path.

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 uses a specific verb 'Read' with a clear resource 'text content of a Drive file' and lists supported file types (Google Docs/Sheets/Slides exported, raw text files). This distinguishes it from sibling tools like docs_read, sheets_read, and drive_export, which focus on specific file types or formats.

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?

The description implies usage by stating what the tool does, but it does not explicitly mention when to use it over alternatives like docs_read or sheets_read, nor when not to use it. The parenthetical hints at scope but lacks explicit exclusions or alternative tool references.

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/shanebrady77/google-workspace-mcp'

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