mimir_stats
View detailed database statistics: entity counts by category, type, and decay layer, journal and state entry counts, file size, and stored data date range.
Instructions
Return comprehensive database statistics: entity counts by category, type, and decay layer; journal event count; state entry count; database file size; and date range of stored data.
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": "mimir_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by_type | No | Entity counts grouped by type | |
| by_layer | No | Entity counts grouped by decay layer (buffer/working/core) | |
| by_category | No | Entity counts grouped by category | |
| newest_unix_ms | No | Newest entity creation timestamp | |
| oldest_unix_ms | No | Oldest entity creation timestamp | |
| total_entities | No | Total entities in the database | |
| db_file_size_bytes | No | Database file size on disk in bytes | |
| total_state_entries | No | Total state entries (including expired) | |
| total_journal_events | No | Total journal events recorded |