stats
Check overall health of the instinct store: total patterns, level distribution, category breakdown, and confidence metrics. Get instant overview without modifying data.
Instructions
Summary of the instinct store: totals, level distribution, category breakdown.
Use for a quick health check — how many patterns exist, how they
are distributed across promotion levels, which categories dominate,
and the average/peak confidence. Read-only; no side effects; no
params.
For a time-ranged view of what's been observed recently use
trending(days). For end-of-session snapshot that also runs
consolidate use session_summary().
Returns:
{"total": int, "raw": int, "mature": int, "rules": int,
"universal": int, "avg_confidence": float, "max_confidence": int,
"by_category": {<category>: {"count": int,
"avg_confidence": float}}}
Level counts partition "total": raw + mature + rules +
universal == total. "by_category" keys are a subset of
("sequence", "preference", "fix_pattern", "combo") — only
categories actually present appear as keys. Empty store returns
zero counts everywhere, not an error.
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": "stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||