Skip to main content
Glama

Gemini MCP Server

by mintmcqueen

list_files

Retrieve metadata for all uploaded files in Gemini File API to check availability, monitor upload status, and audit storage usage within the 20GB project limit.

Instructions

LIST ALL UPLOADED FILES - Retrieves metadata for all files currently in Gemini File API (associated with API key). Updates internal cache with latest file states. RETURNS: Array of files with uri, displayName, mimeType, sizeBytes, createTime, expirationTime, state. Also shows cachedCount indicating files ready for immediate use. USAGE: Check file availability before chat, monitor upload status, audit storage usage (20GB project limit).

Input Schema

NameRequiredDescriptionDefault
pageSizeNoNumber of files to return (default 10, max 100)

Input Schema (JSON Schema)

{ "properties": { "pageSize": { "default": 10, "description": "Number of files to return (default 10, max 100)", "type": "number" } }, "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