{"name":"Luna","version":"1.0.0","description":"Luna is an infant sleep, feeding and nutrition tracker. This connector lets an AI assistant log feeds, naps and nappies, check live status and nudges, and answer questions about a child's care from the family's own logged data.","mcp_url":"https://getmyluna.app/mcp","auth":{"type":"bearer","header":"Authorization","scheme":"Bearer","how_to_get_a_token":"Sign in to Luna, open Settings, and create a connector token. The plaintext token is shown once at creation; store it securely."},"tools":[{"name":"get_status","scope":"read","description":"Live state: asleep/awake and duration, awake vs typical window in plain language (never percentiles), next nap window, predicted bedtime and bath time, hunger state and next feed, last nappy, today's milk/meals/naps, and active alerts."},{"name":"get_today","scope":"read","description":"Today's events enriched with meals and foods, milk total, allergens given, and supplements logged."},{"name":"get_week_review","scope":"read","description":"7-day nutrient scores vs targets, allergen grid, sleep totals per day (partial days marked), longitudinal flags, and the top 3 recommendations."},{"name":"get_events","scope":"read","description":"Raw event log for a given date (default today), optionally filtered by event type."},{"name":"get_child_profile","scope":"read","description":"Child's name, date of birth, age, region, units, milk type, and caregiver usernames."},{"name":"get_nudges","scope":"read","description":"Pending proactive nudges (nap windows, feeds due, allergen lapses, restock, etc.) with suggested actions."},{"name":"ask_luna","scope":"read","description":"Free-text question answered by Luna's AI advisor, grounded in the child's actual logged data, in Luna's safe, non-clinical lane. Requires Luna Plus (returns {error: \"payment_required\"} otherwise) and returns {error: \"advisor_unavailable\"} when no AI provider is configured."},{"name":"suggest_meal","scope":"read","description":"Top 3 meal suggestions (optionally filtered by meal type) and which nutrient or allergen gaps each one closes."},{"name":"get_restock_forecast","scope":"read","description":"Days-remaining forecast for nappies, wipes, formula, vitamin D and milk, based on logged usage and current inventory."},{"name":"log_feed","scope":"write","description":"Log a milk, breastfeed or solid-food feed (amount, foods, meal type, time, note). Flags if logged during a known sleep span."},{"name":"log_sleep","scope":"write","description":"Log the child falling asleep or waking up at a given time."},{"name":"log_nappy","scope":"write","description":"Log a nappy change (wet, dirty or mixed) with optional consistency and note."},{"name":"log_measurement","scope":"write","description":"Log a weight or length measurement in either metric or imperial units."},{"name":"log_supplement","scope":"write","description":"Log a vitamin D, iron or multivitamin dose, in micrograms or IU."},{"name":"log_note","scope":"write","description":"Log a free-text note against the timeline at a given time."},{"name":"undo_last","scope":"write","description":"Remove the most recently logged app-sourced event."},{"name":"edit_event","scope":"write","description":"Edit a previously logged app-sourced event by id."},{"name":"delete_event","scope":"write","description":"Delete a previously logged app-sourced event by id."},{"name":"remember","scope":"write","description":"Save a durable note for Luna to recall in future conversations (preferences, illness, travel, milestones)."},{"name":"set_inventory","scope":"write","description":"Record the current quantity on hand for a consumable item (nappies, wipes, formula, vitamin D, milk) to feed the restock forecast."},{"name":"create_caregiver_invite","scope":"write","description":"Create a 72-hour invite link so a partner, grandparent or nanny can join the family and log events themselves."},{"name":"subscribe_nudges","scope":"write","description":"Register a webhook URL (and optional shared secret) to receive proactive nudges as they become due."},{"name":"unsubscribe_nudges","scope":"write","description":"Remove a previously registered nudge webhook."}],"resources":[{"uri":"luna://playbook","name":"Playbook","description":"Region-specific, non-diagnostic infant care reference playbook (UK or US)."},{"uri":"luna://week-plan","name":"Week plan","description":"The family's current week plan (activities by weekday, daily milk target)."},{"uri":"luna://profile","name":"Child profile","description":"Same content as the get_child_profile tool, exposed as a readable resource."}],"prompts":[{"name":"daily_briefing","description":"Summarise today so far and what to do next."},{"name":"bedtime_plan","description":"Given naps and sleep debt, plan tonight."},{"name":"close_the_gaps","description":"Plan meals for the next 2 days that close this week's nutrient and allergen gaps."}],"proactive":{"supported":true,"channels":["poll:get_nudges","webhook"],"description":"Nudges (nap windows opening, feeds due, allergen lapses, restock due, and more) can be pulled via get_nudges or pushed to a webhook registered with subscribe_nudges. Webhook delivery is suppressed during quiet hours (21:00-06:30 local); nudges remain visible via get_nudges."},"regions":["uk","us"],"data_categories":["child_first_name","child_date_of_birth","feeding_events","sleep_events","nappy_events","growth_measurements","supplement_events","free_text_notes","caregiver_usernames","consumable_inventory"],"privacy_url":"https://getmyluna.app/privacy","terms_url":"https://getmyluna.app/terms","docs_url":"https://getmyluna.app/connector","support_email":"hello@getmyluna.app"}