Skip to main content
Glama

Read a Google Drive or Dropbox file

read_cloud_storage_file
Read-onlyIdempotent

The text of one file: plain text, CSV, Markdown or JSON files, and Google Docs, Sheets (as CSV) and Slides. Returns up to 200 KB and says when it was truncated. Read live from the organization's connected Google Drive or Dropbox. Read-only: it never changes anything in Google Drive or Dropbox. Rows come back normalized, with a url to open the record in Google Drive or Dropbox when there is one. When Google Drive or Dropbox is not connected the call fails with NOT_CONNECTED (or RECONNECT_REQUIRED when the saved connection needs renewing); an admin connects it in the web app, which get_soundcheck_link target org_integrations opens. Org admins and owners only. organization_id defaults to your active organization.

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": {
      "provider": "<provider>",
      "file_id": "<file_id>"
    },
    "name": "read_cloud_storage_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_idYesthe file id from list_cloud_storage_files
providerYeswhich connected storage to read from
organization_idNoorganization to act in, an id from get_me; omit to use your active organization

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNotool payload (API/composite/confirmation object); object, array, or primitive JSON
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/openWorld annotations, the description discloses the 200 KB return cap with truncation signaling, that rows come back normalized with a per-record url, the exact failure modes and their remediation path, and the admin/owner permission gate. That is materially more than the annotations already convey.

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?

Front-loaded with the return value and size limit, then behavior, then failure handling and permissions — a sensible order. It is dense but nearly every clause carries information; only the organization_id default clause is redundant with the schema.

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?

With an output schema present and rich annotations, the description still covers everything an agent needs to call correctly: format support, size/truncation behavior, provider prerequisites, permission requirements, and error recovery. No material gap remains.

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 coverage is 100% and the schema already explains file_id provenance, provider enum, and organization_id defaulting, so the description adds little new parameter meaning. It restates that organization_id defaults to the active organization and that provider selects Google Drive or Dropbox, which is largely duplication.

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 opening sentence states a specific verb and resource ('The text of one file') and immediately scopes supported formats (plain text, CSV, Markdown, JSON, Google Docs/Sheets/Slides). It is clearly a single-file reader, distinguishable from the listing tool whose file_id the schema references.

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?

It gives concrete usage context: read live from the connected provider, org admins and owners only, and what to do when the call fails (NOT_CONNECTED / RECONNECT_REQUIRED) via the get_soundcheck_link sibling with target org_integrations. It does not explicitly route to list_cloud_storage_files for obtaining file_id in the prose, leaving that to the schema.

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.