Tools · General business
Child Sleep Adequacy
Check a child's total sleep against the age-recommended range.
How it works
Deterministic comparison (compute.ts) OVER a corpus-grounded note. Age → the AAP/Sleep Foundation recommended total-sleep band (code); night + nap hours → deficit + status; the LLM only writes a grounded note (chronic debt compounds; 'check sleep first' before blaming behavior — NurtureShock). For The Family Almanac.
You bring
{ age_months, night_sleep_hours, nap_hours, cluster?, model? }
You get
{ age_band, total_sleep_hours, recommended, deficit_hours, status, flags[], guidance, grounded_in, provenance }
Use it for
- →2-year-old sleeping 10h total → flags the shortfall vs the 11–14h range with a check-sleep-first note
- →Reassure a parent whose child is within range (ranges are averages; rested is the test)
Run it on your data
Call it on your own inputs — over the API, or hand it to your AI agent via MCP. Discovery is open; running it is metered.