Skip to main content
Glama

Gemini MCP Server

by mintmcqueen

upload_multiple_files

Upload 2-40+ files simultaneously for multi-document analysis, code reviews, or dataset processing using parallel processing with automatic retries and processing state monitoring.

Instructions

UPLOAD MULTIPLE FILES EFFICIENTLY - Handles 2-40+ files with smart parallel processing. TYPICAL USE: 2-10 files for multi-document analysis, code reviews, or comparative tasks. SCALES TO: 40+ files for comprehensive dataset processing. FEATURES: Automatic retry (3 attempts), parallel uploads (5 concurrent default), processing state monitoring (waits for ACTIVE state). WORKFLOW: 1) Provide array of file paths, 2) System uploads in optimized batches, 3) Returns URIs for use in chat tool. PERFORMANCE: 2 files = ~30 seconds, 10 files = ~1-2 minutes, 40 files = ~2-3 minutes. Each successful upload returns: originalPath, file object, URI. Failed uploads include error details. Use upload_file for single files instead.

Input Schema

NameRequiredDescriptionDefault
filePathsYesArray of absolute file paths to upload
maxConcurrentNoMaximum concurrent uploads (default: 5, max: 10)
waitForProcessingNoWait for all files to be in ACTIVE state before returning

Input Schema (JSON Schema)

{ "properties": { "filePaths": { "description": "Array of absolute file paths to upload", "items": { "type": "string" }, "type": "array" }, "maxConcurrent": { "default": 5, "description": "Maximum concurrent uploads (default: 5, max: 10)", "maximum": 10, "minimum": 1, "type": "number" }, "waitForProcessing": { "default": true, "description": "Wait for all files to be in ACTIVE state before returning", "type": "boolean" } }, "required": [ "filePaths" ], "type": "object" }

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/mintmcqueen/gemini-mcp'

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