Skip to main content
Glama

Read a Google Drive file

google_drive_read
Read-onlyIdempotent

A file's words, up to 5 MB: Google Docs, Sheets (as CSV) and Slides, text, PDF and Office files; files are read in a separate, capped process. Free. Free.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "file_id": "<file_id>"
    },
    "name": "google_drive_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_idYes
mailboxNoOne of the mailboxes the agent may act as; optional when only one is connected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so safety is covered; the description adds genuinely new behavior — a 5 MB content cap, format conversion (Sheets as CSV), and that reads happen 'in a separate, capped process'. However, the trailing 'Free. Free.' is unexplained and the separate-process note leaves unclear whether the call is slow, bounded, or fails past the cap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The key facts (what content, size cap, supported formats) are front-loaded and the whole thing is short, but it is a sentence fragment and the duplicated 'Free. Free.' is an artifact that wastes the little space available.

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?

With no output schema, the description does convey what comes back ('a file's words') and bounds it at 5 MB, which is the essential return-value context. Missing are what happens when a file exceeds the cap and what 'Free' means, but nothing critical for a correct invocation is absent.

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?

Schema coverage is only 50% (mailbox is documented, file_id is not) and the description says nothing about either parameter — no indication that file_id is a Drive file ID typically obtained from google_drive_search, and no explanation of the mailbox scoping. With half the parameters undocumented, the description does not compensate.

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 names the resource and enumerates exactly what is extracted: Docs, Sheets (converted to CSV), Slides, text, PDF and Office files, so an agent can distinguish it from google_drive_search (which lists files) and google_drive_upload. The only gap is that the verb is implied by the title rather than stated in the description itself, and no sibling is named.

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?

There is no when-to-use guidance and no alternatives are referenced — not google_drive_search for obtaining a file_id, nor the other readers (m365_files_read, files_read_text, documents_read_pdf). The agent must infer the routing from the format list alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources