Skip to main content
Glama
Longtran2404

mcp-google-drive

by Longtran2404

get_file_content

Get content of a Google Drive file. Supports export to formats like text/plain or application/pdf with specified encoding.

Instructions

Get file content in various formats

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileIdYesID of the file to get content from
mimeTypeNoMIME type for export (e.g., 'text/plain', 'application/pdf')
encodingNoEncoding for text files (e.g., 'utf-8', 'latin1')
Behavior2/5

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

No annotations are provided, so the description must disclose behavior. It does not state whether the tool is read-only, what happens if the file is missing, or how authentication affects access. The description omits crucial behavioral traits such as whether content is streamed or returned fully, and how errors are handled.

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?

The description is a single, clear sentence with no extraneous words. It is efficient, but the brevity sacrifices completeness. It earns a 4 for being concise without being misleading.

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

Completeness2/5

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

With no output schema, the description should explain what the tool returns (e.g., file content as string, buffer, or stream). It does not mention output format handling or pagination for large files. The sibling tools are numerous, but the description fails to contextualize this tool within a typical workflow (e.g., first get file metadata, then get content).

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?

All three parameters are fully documented in the input schema (100% coverage). The description adds no extra meaning beyond the schema, such as specifying default values for 'mimeType' or 'encoding', or explaining how they interact. Baseline score is appropriate as schema does the heavy lifting.

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?

The description 'Get file content in various formats' clearly states the action and resource. The verb 'Get' and resource 'file content' are specific, and 'various formats' adds scope. However, it does not differentiate from siblings like 'get_file' (which likely gets metadata) or 'get_file_revisions', missing an opportunity to clarify its unique role.

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?

No explicit guidance on when to use this tool versus alternatives (e.g., 'get_file', 'list_files'). No prerequisites or conditions mentioned. The phrase 'in various formats' hints at usage for conversion, but lacks direct context for selection.

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/Longtran2404/mcp-google-drive'

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