Skip to main content
Glama

MCP Utility Tools

by haasonsaas

cache_put

Store JSON-serializable data in cache with a specified TTL using a unique key. Ideal for caching API responses or computed values to optimize performance.

Instructions

Store a value in the cache with TTL. Useful for caching API responses, computed values, etc.

Input Schema

NameRequiredDescriptionDefault
keyYesCache key
namespaceNoOptional namespace to prevent key collisionsdefault
ttl_secondsNoTime to live in seconds
valueYesValue to cache (any JSON-serializable data)

Input Schema (JSON Schema)

{ "properties": { "key": { "description": "Cache key", "type": "string" }, "namespace": { "default": "default", "description": "Optional namespace to prevent key collisions", "type": "string" }, "ttl_seconds": { "default": 300, "description": "Time to live in seconds", "maximum": 86400, "minimum": 1, "type": "number" }, "value": { "description": "Value to cache (any JSON-serializable data)" } }, "required": [ "key", "value" ], "type": "object" }
Install Server

Other Tools from MCP Utility Tools

Related Tools

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/haasonsaas/mcp-utility-tools'

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