Skip to main content
Glama

Gemini MCP Server

by mintmcqueen

get_file

Retrieve file metadata from Gemini API to verify file status, check expiration dates, and update cache entries with current file information including size, type, and timestamps.

Instructions

GET FILE METADATA & UPDATE CACHE - Retrieves current metadata for specific file from Gemini API and updates cache. USAGE: Pass fileUri from upload response or list_files. RETURNS: Complete file info including uri, displayName, mimeType, sizeBytes, create/update/expiration times, sha256Hash, state. Automatically adds to cache if missing. USE CASE: Verify file state, check expiration, refresh cache entry.

Input Schema

NameRequiredDescriptionDefault
fileUriYesThe file URI or name returned from upload_file

Input Schema (JSON Schema)

{ "properties": { "fileUri": { "description": "The file URI or name returned from upload_file", "type": "string" } }, "required": [ "fileUri" ], "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