Skip to main content
Glama
CodeDreamer06

Unstop MCP Server

get_cache_info

Inspect cache freshness, TTL, and item counts for hackathon snapshots to verify data currency and optimize query performance.

Instructions

Inspect cache freshness, TTL, and item counts for the open hackathon snapshot.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The service-level implementation of `get_cache_info`, which fetches cache metadata.
    def get_cache_info(self) -> CacheInfoResponse:
        return CacheInfoResponse(cache=self.cache.metadata(is_cached_result=True))
  • The tool handler registration and invocation of `get_cache_info` in the server.
    def get_cache_info() -> dict:
        try:
            return service.get_cache_info().model_dump(mode="json")

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/CodeDreamer06/UnstopMCP'

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