Skip to main content
Glama

get_cache_status

Check cache performance metrics to monitor hit/miss rates by operation type and understand caching effectiveness in Optimizely DXP environments.

Instructions

💾 View cache performance metrics. REAL-TIME: <1s. NOTE: Cache is now operation-specific (no central management). Shows cache hit/miss rates for different operation types. Use to understand caching effectiveness. No parameters. Returns cache statistics by operation type.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectNameNo
projectIdNo
actionNostatus

Implementation Reference

  • Core handler logic for retrieving detailed cache statistics (hits, misses, size, hit rate, etc.), which implements the get_cache_status tool functionality.
    getStats(): CacheStatsReport { const hitRate = this.cacheStats.hits + this.cacheStats.misses > 0 ? (this.cacheStats.hits / (this.cacheStats.hits + this.cacheStats.misses) * 100).toFixed(1) : '0.0'; return { ...this.cacheStats, entries: this.cache.size, hitRate: `${hitRate}%`, sizeMB: (this.cacheStats.size / (1024 * 1024)).toFixed(2), maxSizeMB: (this.options.maxCacheSize / (1024 * 1024)).toFixed(2) }; }
  • Registration of the get_cache_status tool in the availability matrix, marking it as available across all hosting types under the Monitoring category.
    'get_cache_status': { hostingTypes: ['dxp-paas', 'dxp-saas', 'self-hosted', 'unknown'], category: 'Monitoring', description: 'Get cache status' },

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/JaxonDigital/optimizely-dxp-mcp'

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