Skip to main content
Glama
EveryInc

google-workspace-mcp-server

by EveryInc

Get File Content

drive_get_file
Read-onlyIdempotent

Download a file from Google Drive by providing its file ID. Returns binary content for PDFs, images, and other files.

Instructions

Download and return the content of a file from Google Drive. Supports PDFs, images, and other binary files.

Args:

  • file_id (string): The ID of the file to download (found in the URL after /d/)

Returns: The file content. For PDFs and images, returns the binary content that Claude can read directly.

Examples:

  • Get PDF: file_id="1Q3BmlH3_sII1VGf0-GYXSiLGTZstM-l1"

  • From URL https://drive.google.com/file/d/ABC123/view -> file_id="ABC123"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_idYesThe ID of the file to download (found in the URL)
Behavior4/5

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

Annotations already provide readOnlyHint, destructiveHint, etc. The description adds value by specifying supported file types (PDFs, images, binary) and that the return is binary content readable by Claude, which is beyond the annotations.

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 concise with a clear front-loaded purpose, followed by Args, Returns, and Examples. Each sentence adds value without unnecessary fluff.

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?

For a simple tool with one parameter, good annotations, and no output schema, the description provides sufficient context including return type and example usage, making it complete for effective invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single parameter file_id has 100% schema coverage. The description adds a practical example of extracting the ID from a URL and clarifies the format, slightly enhancing the schema's description.

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 downloads and returns file content from Google Drive, using specific verbs ('Download and return the content'). It distinguishes itself from siblings like drive_list_files (metadata) and drive_copy_file (copying) by focusing on content retrieval.

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?

The description implies when to use this tool (when needing actual file content) but does not explicitly state when not to use it or suggest alternatives. However, the context among sibling tools makes the intended usage clear.

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

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