Skip to main content
Glama

cache_cache_set

Store values in cache with configurable expiration times using key-value pairs to manage temporary data storage for AI applications.

Instructions

[cache] Store a value in the cache under the given key. Use ttl_seconds to control how long the value is valid. Pass ttl_seconds=null for a value that never expires.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYes
valueYes
ttl_secondsNo
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/0-co/agent-friend'

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