Skip to content

get_memory_health

Get a consolidated health report across all 5 layers for a project — one call instead of five.

Overview

get_memory_health aggregates diagnostics from every layer of the Wake Intelligence brain into a single response. It replaces the need to call get_memory_stats, get_causality_stats, get_propagation_stats, get_learning_stats, and get_causal_graph separately when you just want a project health check.

Added: v3.5.0

Layer: All 5 layers (consolidated diagnostic)

Purpose: Single-call health check — context distribution, causal coverage, predictions, learning status


Parameters

ParameterTypeRequiredDescription
projectstringYesProject identifier

Returns

A formatted health report covering all layers:

**Wake Intelligence Health Report — api-service**

🧠 **Layer 1: Causality**
  - Contexts with causal metadata: 34 / 47 (72%)
  - Causal chains: 8
  - Average chain depth: 3.2

📊 **Layer 2: Memory Tiers**
  - ACTIVE: 3
  - RECENT: 12
  - ARCHIVED: 28
  - EXPIRED: 4

🔮 **Layer 3: Predictions**
  - Contexts with prediction scores: 31
  - Average score: 0.64
  - High-value (score > 0.7): 11

🎓 **Layer 4: Meta-Learning**
  - Outcomes recorded: 43
  - Learning active: Yes (requires ≥20)
  - Temporal weight: 0.52 | Causal: 0.28 | Frequency: 0.20

🎭 **Layer 5: Personality**
  - Available modes: historian, prophet, archaeologist, minimalist, auditor
  - Last used mode: historian

Example

typescript
get_memory_health({ project: "wake-intelligence" })

Use Cases

Cold Boot Health Check

Start a new session by running get_memory_health to immediately understand the state of a project — what's active, what's expired, whether predictions are running, and whether learning has kicked in.

Debugging Search Quality

If search_context is returning poor results, the health report shows whether Vectorize embeddings exist (via prediction coverage) and whether contexts are in the right memory tiers.

Monitoring After admin_reindex_all

Run get_memory_health before and after reindexing to confirm Vectorize coverage improved.


vs. Individual Stats Tools

get_memory_healthIndividual tools
Call count14-5
Detail levelSummary per layerFull detail per layer
Best forHealth checks, cold bootDeep-diving a specific layer

See Also