Skip to main content
Glama

sync_from_gdrive

Import medical documents from Google Drive to oncofiles by detecting new or changed files, downloading them, and storing with metadata. Optionally generate AI summaries and tags for enhanced organization.

Instructions

Import files from Google Drive into oncofiles.

Walks category/year-month subfolders, detects new and changed files, downloads them, uploads to Files API, and stores metadata.

Args: dry_run: Preview changes without importing. enhance: Run AI summary/tag generation on new/changed files (default True).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dry_runNo
enhanceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes the multi-step process (walking folders, detecting changes, downloading, uploading, storing metadata) and the effect of parameters (dry_run for preview, enhance for AI processing). However, it doesn't mention potential side effects like rate limits, authentication requirements, or what happens with existing files, leaving some behavioral aspects uncovered.

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 description is appropriately sized and front-loaded with the core purpose in the first sentence. The workflow details are necessary for understanding the tool's behavior. The parameter explanations are concise and directly relevant. There's minimal wasted verbiage, though the structure could be slightly improved by separating the workflow description from parameter details more clearly.

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?

Given the tool's complexity (multi-step import process), no annotations, and the presence of an output schema (which handles return values), the description provides substantial context about the workflow and parameters. It covers the core behavior well but could benefit from mentioning prerequisites (like authentication setup) or potential limitations given the absence of annotations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage and 2 parameters, the description fully compensates by clearly explaining both parameters: 'dry_run: Preview changes without importing' and 'enhance: Run AI summary/tag generation on new/changed files (default True)'. This adds essential meaning beyond the bare schema types, making the parameter purposes and effects completely clear.

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 clearly states the specific action ('Import files from Google Drive into oncofiles') and resource ('files'), distinguishing it from siblings like 'sync_to_gdrive' (which presumably exports) and 'gdrive_sync' (which may be a different sync operation). It provides a detailed workflow explanation that makes the purpose unambiguous.

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 usage context through the workflow description ('Walks category/year-month subfolders...'), but does not explicitly state when to use this tool versus alternatives like 'gdrive_sync' or 'reconcile_gdrive'. It provides some guidance through parameter defaults but lacks explicit when/when-not instructions or named alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/peter-fusek/oncofiles'

If you have feedback or need assistance with the MCP directory API, please join our Discord server