Skip to main content
Glama
aserper

RTFD (Read The F*****g Docs)

by aserper

get_cache_info

Retrieve current cache usage details to monitor documentation access efficiency and manage storage resources.

Instructions

Get information about the current cache usage.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the 'get_cache_info' tool. It is registered directly using the @mcp.tool decorator. Retrieves cache statistics from CacheManager and serializes the response.
    @mcp.tool(description="Get information about the current cache usage.") async def get_cache_info() -> CallToolResult: """Return cache statistics including entry count and size.""" stats = _cache_manager.get_stats() return serialize_response_with_meta(stats)

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/aserper/RTFD'

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