Skip to main content
Glama
tszaks

Gmail Multi-Inbox MCP Server

by tszaks

get_drive_file_content

Download any Google Drive file and extract its text content. Supports Google Docs, Sheets, Slides, PDFs, images, and text files.

Instructions

Download a Drive file and extract its text content. Google Docs/Sheets/Slides are exported to Office formats then parsed. PDFs, images, and text files are also supported.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountYesAccount id.
file_idYesGoogle Drive file ID.
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It openly states the download-and-extract workflow and explains that Google Docs/Sheets/Slides are exported to Office formats before parsing. This adds context beyond a simple 'get content' line, though it stops short of detailing edge cases like OCR on images or handling of binary files. The non-destructive nature is clear from 'download' and 'extract'.

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 two sentences, front-loaded with the primary action, and every phrase adds information: the export mechanism, supported types, and the extraction result. There is no filler or repetition of schema fields.

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?

The tool is moderately complex but well-covered. The description explains the core behavior, supported file types, and the return value (extracted text content). Given there is no output schema, this suffices for a simple content retrieval tool. Minor gaps include not specifying how images are OCR'd or whether large files are truncated, but these are not critical for basic usage.

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 coverage is 100% for both parameters ('Account id.' and 'Google Drive file ID.'), so the baseline is 3. The description adds contextual value by mentioning 'Drive file' in the purpose, which reinforces the file_id semantics, but it does not introduce any new parameter-level details beyond what the schema already provides. No additional explanation of formats or expected values is given.

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 clearly states the tool's purpose: 'Download a Drive file and extract its text content.' This is a specific verb+resource pair that distinguishes it from sibling tools like 'get_drive_file' (which likely retrieves metadata) and 'sheets_read' (which reads a specific Google Sheet). It also enumerates supported file types, further clarifying its scope.

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 when to use the tool (when you need text content from a Drive file) by listing supported formats. However, it does not explicitly contrast with alternatives like 'get_drive_file' for metadata or 'sheets_read' for structured sheets, nor does it mention exclusions or prerequisites. The guidance is implied but not explicit.

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/tszaks/ghub'

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