Skip to main content
Glama

drive_read

Read Google Docs as plain text or Google Sheets as CSV using a file ID, so you can extract content for analysis or processing without modifying the source file.

Instructions

读取 Google 文档/表格内容为文本(Docs→txt,Sheets→csv)。只读。

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": {
      "fileId": "<fileId>"
    },
    "name": "drive_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileIdYes文件 id(来自 drive_search)
mimeTypeNo导出格式:text/plain(Docs 默认)或 text/csv(Sheets),默认 text/plain

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden, and it does state 只读 (read-only), the single most important safety signal. It says nothing about permission requirements, size or export limits, failure modes, or whether formatting is preserved, which leaves real gaps for a mutation-free but external-API-backed read.

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?

Two short clauses, front-loaded with the action and result format, plus a one-word safety tag; nothing is redundant or buried.

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 must convey what is returned, and it does via the Docs→txt / Sheets→csv mapping. For a two-parameter read tool that is nearly sufficient, though it omits what happens on unsupported file types or oversized documents.

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 description coverage is 100%, so both fileId and mimeType are already documented, and the description only restates the mimeType default mapping (Docs→text/plain, Sheets→text/csv) already implied by the schema. Baseline 3 applies since the 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 gives a specific verb (读取 = read) plus the resource (Google Docs/Sheets content) and states the output transformation (Docs→txt, Sheets→csv), so an agent knows exactly what comes back. It does not, however, name any sibling tool such as google_read or drive_search to sharpen the boundary.

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 explicit when-to-use or when-not-to-use guidance and no alternative is named, even though the sibling list contains adjacent tools such as drive_search and google_read. Only the bare tag 只读 (read-only) implies a usage constraint.

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