peopleanalyst

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

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.

REST  POST /api/bicycle/child-sleep-adequacy
MCP   check_child_sleep_adequacy

← All tools