Skip to main content
Glama

gemini_updateCache

Update cached content metadata (TTL and/or displayName) by specifying the unique cache name. Ensure accuracy and relevance of cached resources in the MCP Gemini Server.

Instructions

Updates metadata (TTL and/or displayName) for a specific cached content resource. Requires the unique cache name (e.g., 'cachedContents/abc123xyz'). Returns the updated cache metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cacheNameYesRequired. The unique name/ID of the cache to update (e.g., 'cachedContents/abc123xyz').
displayNameNoOptional. The new human-readable name for the cache. Max 100 chars.
ttlNoOptional. The new time-to-live for the cache as a duration string (e.g., '3600s' for 1 hour). Max 48 hours.

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

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