delete_food_day_template
ChatGPTDelete a confirmed saved standard-day template. Does not change logged meals. Requires food_log:manage and an operation UUID reused on retries.
delete_food_entry
ChatGPTDelete one food entry after the member explicitly confirms deletion. Get item_id from get_meal_data; requires separately approved food_log:manage. Removes only that entry, including its ingredients, from any past/current/future meal. Retry with the same client_operation_id and payload; an old create retry cannot restore this deletion.
get_alma_score_data
ChatGPTAlma Score (0-100) and 10 diet-quality categories (veg, fruit, whole grains, nuts/legumes, omega-3s, healthy fats, processed meat, sugar, sodium, alcohol). Use detail_level='detailed' for per-day category breakdown; 'summary' for rollups only. Same date rules as get_meal_data (days, or start_date+end_date). days must be 1-365.
get_energy_history
ChatGPTEnergy check-ins recorded in Alma: the selected energy level (1-5), description text in note, tags, and timestamp for each entry. These are self-reported feelings, separate from calories burned. Returns newest first, with the energy scale and member timezone. Same date rules as get_meal_data: days (default 30, 1-365), or start_date and end_date together.
get_food_day_templates
ChatGPTList your saved standard-day names and versions, 100 per page. Supply template_id to read full snapshots before confirming a log; use next_offset to page. Requires nutrition read access.
get_goals
ChatGPTActive nutrition/fitness goals with targets and progress (up to 10). No parameters. Use with get_meal_data to compare intake to targets.
get_grocery_list
ChatGPTGrocery list for the authenticated user (own + shared via a family circle). include_completed=true (default) returns purchased items too. Completed items are sorted to the bottom.
get_health_metric_history
ChatGPTSynced Apple Health and Journey metrics, including smart-scale body composition (body fat, lean mass, BMI), sleep, HRV, heart rate, steps, active energy, blood glucose, and other authorized health signals. Returns latest values, daily history, and trends versus the preceding period. Sleep rows include sleep_start and sleep_end when synced. Use get_weight_history separately for body weight and get_workout_history for individual workouts. Missing rows mean unknown or not synced, never zero. Same date rules as get_meal_data.
get_maintenance_estimate
ChatGPTMaintenance calories estimated from the member's own data: average logged calories over the last 28 full days, corrected by the weight trend (7700 kcal per kg). Returns status (ready, calibrating, unreliable), maintenance_kcal with a range, and the inputs behind it. Needs 20 logged days and 8 weigh-ins. Days under half the member's usual intake are left out as partly logged. It is maintenance as Alma counts it, so under-logging lowers it.
get_meal_data
ChatGPTLogged meals and nutrition for the user. Default detail_level is 'detailed': each day includes meal_details with foods and their calories, protein, carbs, fat, logged quantity, and unit. Use the top-level micronutrient_data_available flag before answering micronutrient questions; when it is false, the data is not available. Use detail_level='summary' only for daily calorie/macro totals without foods. Pass start_date and end_date (YYYY-MM-DD) together for a fixed range, else use days. days must be 1-365.
get_pantry_items
ChatGPTPantry contents for the authenticated user (own + shared via a family circle), grouped by category. Empty pantry returns an empty payload with has_data=false.
get_user_profile
ChatGPTUser context: name, email, timezone, activity, gender, height/weight, and active goal descriptions. Call early when personalizing advice.
get_weight_history
ChatGPTWeight entries from HealthKit-linked data: recent values, trend (gaining/losing/maintaining), and change over the lookback. Default days=30. days must be 1-365.
get_workout_history
ChatGPTWorkout history and exercise minutes from synced HealthKit/Journey data. Returns individual workouts, workout-duration totals, calories burned, common activities, and daily exercise_minutes when available. Same date rules as get_meal_data (days, or start_date+end_date). days must be 1-365.
log_food_batch
ChatGPTLog a confirmed day or week in one atomic operation: 1-42 meals, up to 100 items per meal and 1000 total items. Dates require explicit UTC offsets; account timezone determines calendar days. Accepts the last 365 days or next 30 days. Future meals are prelogged entries in Alma, not evidence they were eaten. Nutrition totals are for each specified portion and remain client-declared estimates, never independently verified. Confirm all meals, dates, portions and nutrition with the member first. Reuse the same client_operation_id and identical payload on retry; validation failure writes nothing.
log_food_day_template
ChatGPTLog a saved standard day on 1-7 explicit YYYY-MM-DD dates after the member confirms those dates and the saved contents. Requires food_log:write, template_id and expected_version from get_food_day_templates. Each meal uses the account timezone on that date; daylight-saving gaps or ambiguous times are refused so you can use explicit offsets with log_food_batch. All dates are atomic and limited to 42 meals/1000 items, past 365 days or next 30 days. Same operation UUID/payload on retry.
log_food_items
ChatGPTAdd one confirmed meal containing 1-20 fully specified food items to the authenticated user's Alma log. Call only after the user explicitly asks to log the food and confirms the item names, portions, calories, protein, carbs, and fat. For drinks, also provide structured hydration kind and volume and caffeine milligrams when applicable so Alma's trackers receive them. Other drinks count toward hydration only when the user's Include Other Liquids setting is enabled. This writes user-owned estimated snapshots, not shared catalog foods. client_operation_id must be a new UUID and must be reused unchanged when retrying the same request. consumed_at must include a UTC offset and be within the last 365 days; omit it to log now. Never use this tool for tentative suggestions or meal plans.
open_today
ChatGPTOpen Alma's visual Today view with logged meals, nutrition totals, daily targets and Alma Score. Read-only. Defaults to today in the member's timezone; selected_date accepts YYYY-MM-DD within the last 365 days. Also returns nutrition data for clients without app support.
update_food_entry
ChatGPTCorrect one completed food entry after confirming the full replacement portion and ALL nutrition totals. Requires food_log:manage, which must be separately approved when reconnecting. Get item_id from get_meal_data. Works for past, current and prelogged meals. All fields replace the prior snapshot: supply corrected quantity, macros, fiber and known micronutrients; omitted nutrients become unknown. Declared totals stay client-declared; shared catalog data is never modified. This replaces the entry's ingredient breakdown with one aggregate snapshot. Use a fresh operation UUID for a new correction and the same UUID/payload for retries.