Skip to main content
Glama

Import selected Drive file

source_import_drive
Idempotent

Imports from the Workspace's authorized Drive connection without establishing provider consent.

New files require Google Picker selection. A client-generated key identifies replay; access and metadata are verified before queueing. Acceptance is not ingestion readiness.

Input Schema

NameRequiredDescriptionDefault
dataYesAuthorized Drive file ID, file name and MIME type for import.
agent_idYesAgent ID from agents_list or agent_create.
request_keyYesClient-generated request UUID; identical retries retain this key.

Output Schema

NameRequiredDescriptionDefault
effectYes
replayedYes
operationYes
publicationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / agent_id / description
      Added value: +"Agent ID from agents_list or agent_create."
    • addedInput schema / properties / data / description
      Added value: +"Authorized Drive file ID, file name and MIME type for import."
    • addedInput schema / properties / request_key / description
      Added value: +"Client-generated request UUID; identical retries retain this key."
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond annotations, the description adds meaningful behavioral context: it does not establish provider consent, new files require Google Picker selection, request_key enables replay handling, access and metadata are verified before queueing, and acceptance does not mean ingestion is ready. These details materially improve operational understanding without contradicting 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.

Conciseness5/5

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

The description is compact and front-loaded: the first sentence establishes the import action and connection scope, followed by concise prerequisite and lifecycle details. Every sentence contributes useful operational information.

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?

Given the nested input object, full schema description coverage, annotations, and an output schema, the description provides enough context for correct invocation. It covers the key prerequisites, replay behavior, verification, and the important distinction between acceptance and ingestion readiness.

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 the schema already explains agent_id, request_key, and the nested DriveImport fields. The description reinforces replay semantics for the client-generated key, but it does not add substantial meaning beyond the existing schema descriptions.

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 uses a specific verb and resource: it imports a selected file from the Workspace's authorized Drive connection. It also scopes the operation by noting that provider consent is not established and that new files require Google Picker selection, which helps distinguish this from broader source upload or repository import tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when the tool applies by mentioning the authorized Drive connection and Google Picker prerequisite for new files. However, it does not explicitly compare this tool with alternatives such as source_upload, source_import_repository, or website_import, nor does it state when not to use it.

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