Skip to main content
Glama

Import from Google Drive

import_from_google_drive

Read a file from the connected Google Drive and make a flow from it, the same way as create_flow_from_text. draw.io, Mermaid, and SVG files become a flow without AI. Reads Google Docs, Sheets, Slides, and .txt, .md, .vtt, .srt, .json, .csv, .pdf, .docx, .drawio, .mmd, .svg files. Set import_only to get the text back without making a flow. Wavelength can open only files it created or files you picked in Wavelength. If Drive is not connected, the error says where to connect it.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "import_from_google_drive"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoOptional. A Drive or Docs url, in place of file_id.
titleNoOptional flow title. Default: the file name.
org_idNoOptional organization id. The flow is saved in that organization.
file_idNoThe Drive file id, or a Drive or Docs url for the file.
team_idNoOptional team id for the new flow.
directionNoOptional layout direction. Default vertical.
folder_idNoOptional folder id for the new flow.
import_onlyNotrue returns the file text and makes no flow.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations declare the mutation/safety profile (readOnlyHint=false, idempotentHint=false, destructiveHint=false), and the description adds real context beyond them: draw.io/Mermaid/SVG bypass AI, import_only returns text with no flow, and only files Wavelength created or the user picked can be opened. The disconnected-Drive error behavior is also disclosed. No contradiction with the annotations.

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 core purpose is front-loaded in the first clause, and each subsequent sentence carries distinct information (file types, import_only mode, access restriction, error handling). The file-type list is a bit dense but earns its place by defining supported inputs.

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 covers supported inputs, the import_only return mode, access constraints, and error behavior for an 8-parameter (all optional) tool. It could say more about the returned flow/text shape, but for this tool the coverage is solid.

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%, so the schema already documents all eight parameters; baseline is 3. The description reinforces import_only semantics ('get the text back without making a flow') but adds no syntax, format, or default details beyond what the schema fields already state.

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?

States a specific verb (read) and resource (Google Drive file) and the resulting action (make a flow), then anchors it to a named sibling with 'the same way as create_flow_from_text'. It also enumerates the file types it consumes, so an agent can distinguish it from text- and diagram-based siblings without opening the schema.

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?

Gives clear context: use it to import from the connected Drive, with 'import_only' as an alternative mode that returns text instead of creating a flow, and notes the Drive-connection prerequisite and its error behavior. It lacks explicit when-not guidance versus other import siblings (e.g. import_diagram, import_from_n8n), so it falls short of a full 5.

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