Skip to main content
Glama
asamiile

google-drive-rag-mcp

read_file

Read-only

Retrieve the full text content of a file from a designated Google Drive folder using its file ID.

Instructions

Read and return the full text content of a file in the target Google Drive folder.

Typical workflow: call list_files to find the file and obtain its 'id', then pass that id here.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_idYesThe Google Drive file ID (obtained from list_files).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already include readOnlyHint=true, indicating this is a safe read operation. The description adds that it returns the full text content, which is helpful. No hidden behavioral traits are disclosed, but the combination is sufficient.

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 only two sentences long, with no unnecessary words. The first sentence states the purpose, the second gives the workflow. Every sentence earns its place.

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 output schema exists, the description does not need to detail return values. It mentions 'full text content' and the prerequisite workflow. However, it could mention potential limitations like file size or encoding, but overall it's complete enough.

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?

The schema has 100% coverage with a clear description for file_id ('The Google Drive file ID (obtained from list_files)'). The description reinforces this by referencing the workflow, but adds little beyond the schema.

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 verb 'read' and the resource 'file', specifying it returns 'full text content'. This distinguishes it from siblings like list_files (which lists files) and search_content (which searches content).

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 provides a typical workflow: call list_files first to get the file id, then use this tool. It gives clear context for usage but does not explicitly state when not to use it or mention alternatives.

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

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