Hot Cache Status
hot_cache_statusDisplays current hot cache contents, rankings, and hit/miss/eviction/promotion metrics so you can monitor cache effectiveness and diagnose memory performance.
Instructions
Show current hot cache contents, stats, and observability metrics.
Returns items sorted by hot_score (highest first), along with:
metrics.hits: Times hot cache resource was read with content
metrics.misses: Times hot cache resource was empty
metrics.evictions: Items removed to make space for new ones
metrics.promotions: Items added to hot cache
effectiveness: Value metrics (hit rate, tool calls saved, most/least used)
avg_hot_score: Average hot score of items (for LRU ranking)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "hot_cache_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| metrics | Yes | Metrics for hot cache observability. | |
| max_items | Yes | ||
| pinned_count | Yes | ||
| avg_hot_score | Yes | ||
| current_count | Yes | ||
| effectiveness | Yes | Effectiveness metrics showing hot cache value. |