Wellness Project
Server Details
Connect your health, fitness, nutrition, sleep, and wearable data to your AI assistant.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- OAuth
- Works in Glama
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- turnnoblindeye/wellness-project-mcp
- GitHub Stars
- 3
- Server Listing
- Wellness Project MCP
- ChatGPT
- –
- Claude
- Wellness Project
TDQS
Scored across 85 tools
Each health domain generally has a clear CRUD set, and many descriptions include explicit routing rules (e.g., list_meals vs show_meal_diary vs show_week_macros). However, the many list_/get_/show_ variants for the same data create some selection ambiguity, especially around weight, sleep, and workout views.
Nearly all tools follow a predictable snake_case verb_noun pattern (list_, get_, log_, update_, delete_, show_, manage_). A few outliers like deep_analysis and add_or_update_personal_context are minor and still readable.
85 tools is far beyond a well-scoped set and includes many near-duplicate visual/list/get variants. The broad wellness domain explains some breadth, but not enough to avoid an extreme tool-count mismatch.
Most domains have strong lifecycle coverage: workouts, meals, labs, goals, recovery, body metrics, and supplements all support create/read/update/delete paths. Some gaps remain, such as no explicit sleep update/delete or personal-context delete, but agents can largely work around them.
Available Tools
85 toolsadd_or_update_personal_contextAInspect
Add a new Personal Context memory, or update an existing one by id. memory: a durable circumstance or preference that should carry across future unrelated conversations (e.g. "travels most weeks", "gym has no squat rack", "prefers short home workouts", "wants blunt feedback"). first: list_personal_context; an existing memory already covers the subject -> pass its id with operation update, never create a duplicate. not here: health history. Injuries, lab results, meals, workouts, sleep and body metrics have dedicated tools that store them as structured data the app can chart and reason over; a memory copy duplicates that record and degrades it to loose text. writes: immediately, no separate approval step. caps: Free 3 memories, Pro 50; updating an existing memory by id is always allowed, even at the cap. no delete or bulk write here.
Inputs: content (required), operation (required), memory_id. Returns: result
cancel_rest_dayBDestructiveIdempotentInspect
Remove a previously declared Rest Day, Sick Day, or Travel Day status.
INFER, do not ask: date from the user's reference.
Inputs: date. Returns: result
create_goalAInspect
UNIT INPUTS: value: pass the user's number unconverted; tool converts once before storage. alternate_unit: set the field's matching input_* companion; canonical_unit: omit companion. precedence: overrides instructions to convert manually.
Create a Wellness Project goal or standard target. call: directly when the user wants to establish a goal; no schema discovery, no list_goals first. behavior: loads current goals itself; reports what a standard target changed from; refuses to stack a second goal on one already covering the same thing and names that goal's ID for update_goal. infer: goal_type and inputs from the request.
INPUTS BY goal_type (* = required, ^ = set at create, not editable later): weight_loss: goal_mode^, start_weight_lb*^, target_weight_lb, weeks, target_date strength: exercise_name*^, start_1rm_lb*^, target_1rm_lb* consistency: metric*^, target_per_week*, target_hours, week_window body_comp: metric*^, start_value*^, target_value*, weeks, target_date race: target_distance_mi*, target_time_sec*, race_date* n1_experiment: supplement_id, new_name, new_brand, new_dose_amount, new_dose_unit, baseline_direction, intervention_days standard targets (every other goal_type): target_value, or target_value_lb per WEIGHT INPUTS.
WEIGHT INPUTS: body_weight_target_lb -> target_value_lb. body_comp metric lean_mass_lb -> start_value_lb + target_value_lb. Both are unit-aware: in-app calls use the preferred unit, external calls pounds unless input_weight_unit is set. Legacy generic fields for these weight goals stay canonical pounds. Other standard targets use target_value; body-fat values stay percentages.
Inputs: goal_type (required), title, weeks, metric, +28 more. Returns: result
deep_analysisARead-onlyIdempotentInspect
Deep Analysis: read-only SQLite SQL over a private copy of the user's full health history. Use for: questions spanning several data types (training with sleep, nutrition with weight); long or all-time horizons; trends, progress, period comparisons; totals, averages, rankings, correlations; anything focused tools would need many calls for; any request for a "deep analysis". For one recent fact (today's workout, last night's sleep), goals or profile use the focused tool. mode=discover: for tables or columns not listed below. topics -> matching tables with columns, units, row counts, dates; no topics -> table index. mode=query: one SELECT/WITH. period or date_from/date_to limits the copy (faster); omit for all history. Core tables, date = local day, main columns only (discover lists the rest): sleep_log: date, bedtime, wake_time, total_hours, sleep_score, deep_sleep_hours, rem_sleep_hours, light_sleep_hours, awakenings body_metrics: date, weight_lb, body_fat_pct, lean_mass_lb, fat_mass_lb, bmi, muscle_mass_lb, waist_in workout_sessions: id, date, started_at, activity_label, focus_type, duration_sec, calories, distance_mi, rpe daily_nutrition: date, total_calories, total_protein, total_fat, total_carbs (g), total_alcohol_kcal, meal_count wearable_daily: date, step_count, resting_hr_display, hrv_morning, active_calories_burned, total_calories_burned, stress_score, vo2max_estimate, spo2_avg_pct Every result carries calendar; the first also carries user_rules. Take relative dates from calendar or period, never your own math. Results list coverage per table (dates, rows, cuts): a short or empty result is not proof data is missing. Scope dates to the request. Joining sessions to sets repeats session values: aggregate each level alone, then join. Not every session is lifting: filter by activity for strength questions. An association is not a cause. Values stored in lb, mi, kcal, C: convert to user_rules units. Plain table names (wearable_daily, sleep_log, body_metrics, runs, food_log, hydration_entries) hold what the app counts; *_by_source hold raw per-source rows: never total those. Dates are YYYY-MM-DD. Timestamps are UTC: group and filter by local_date. glucose_readings_daily and hydration_entries_daily are per local day and source, for long ranges; if a copy is refused for size, query the _daily table or narrow the dates. Helpers: median(x), percentile(x,p), stddev(x) (NULL under 3 values), corr(x,y) (NULL under 8 pairs), corr_n(x,y) (pairs used), week_start(date[,dow 0=Sun 1=Mon]), month_start(date). Report n with any statistic.
Inputs: mode (required), sql, period, topics, +3 more. Returns: result
delete_cycleADestructiveIdempotentInspect
Delete a period record, only when the user explicitly asks to remove a specific record. Never delete to "fix" a record: use update_cycle.
SELECTOR: exactly one; id if known, else date (the period's start date, or any date within it). date matching more than one record -> error with candidate IDs to retry with.
Inputs: id, date. Returns: result
delete_injuryADestructiveIdempotentInspect
Permanently delete an injury entry and all its severity history.
SELECTOR: exactly one; id if known, else injury (case-insensitive body part or injury type substring, e.g. "shoulder"), optionally narrowed by date (an injury active on that day). injury matching more than one entry -> error with candidate IDs to retry with.
Inputs: id, date, injury. Returns: result
delete_lab_resultADestructiveIdempotentInspect
Permanently delete one or more lab results. use: the user explicitly asks to remove or delete a logged lab result. Never guess a selector.
SELECTOR, exactly one of id | date | date+marker | draw_id:
id: one marker's row.
draw_id: every result sharing that draw_id at once, unambiguous by construction. Irreversible.
date (optionally narrowed by panel_name): every result from that draw at once, but ONLY when exactly one draw exists on that date (see AMBIGUITY). Irreversible and can remove many rows in one call: confirm with the user before a date-scoped delete, especially one not narrowed by panel_name or marker.
date + marker (marker-name substring, case-insensitive, optionally narrowed by panel_name): one marker's row, same as id. More than one marker matching on that date -> error with candidate IDs.
AMBIGUITY: a bare date (optionally + panel_name) selector that would match more than one physical draw is rejected with nothing deleted: an explicit draw_id from one source plus legacy rows with none, two distinct draw_ids, or two differently-named legacy sources on the same day. The error names every draw found; retry with draw_id, marker, or a narrower panel_name.
Inputs: id, date, marker, draw_id, +1 more. Returns: result
delete_mealADestructiveIdempotentInspect
Permanently delete a meal entry. use: the user explicitly asks to remove or delete a logged meal.
FIND THE MEAL: id if known; else date (default today); add name only when several meals share that day. Irreversible: not exactly one match -> errors with the reason, deletes nothing; retry with id or a narrower name, never guess.
HYDRATION: any assistant hydration events linked to this meal are deleted by the database in the same food-row delete; issue no separate hydration delete.
CAFFEINE: caffeine sidecars linked to this meal are deleted by the database in the same food-row delete; call no separate caffeine delete tool.
Inputs: id, date, name. Returns: result
delete_recovery_sessionADestructiveIdempotentInspect
Permanently delete a recovery session log entry. Irreversible. Ambiguous intent -> ask which session to remove.
SELECTOR: exactly one; id if known, else session_date (+ optional session_category to narrow). More than one session matching -> error with candidate IDs to retry with.
Inputs: id, session_date, session_category. Returns: result
delete_runADestructiveIdempotentInspect
UNIT INPUTS: value: pass the user's number unconverted; tool converts once before storage. alternate_unit: set the field's matching input_* companion; canonical_unit: omit companion. precedence: overrides instructions to convert manually.
Delete a run. use: the user wants a run entry removed. ASK for confirmation if the intent is ambiguous.
SELECTOR: exactly one; id if known, else date (+ optional distance_mi to narrow, matched within 0.25 mi). More than one run matching -> error with candidate IDs to retry with.
Inputs: id, date, distance_mi, input_distance_unit. Returns: result
delete_wellbeingADestructiveIdempotentInspect
Permanently delete a wellbeing entry.
SELECTOR: exactly one; id if known, else date (any day within the entry's period). date matching more than one entry -> error with candidate IDs to retry with.
Inputs: id, date. Returns: result
delete_workoutADestructiveIdempotentInspect
Saved workout operations
routing: new performed session -> in-app chat propose_workout (review card; Save logs), external MCP and native voice log_workout. Correct a stored session -> update_workout, never another log. Delete a whole session -> delete_workout, never an update. Future workouts -> in-app proposal tools; external clients without cards may use log_workout(save_as_saved_workout=true) for a reusable template. saved_workout_id selects a template, never a completed session.
resolve: known session ID, or an unambiguous date/name. Ambiguous sessions, sets or superset slots need exact identification. Never invent IDs. Validate every part of an update before writing; preserve everything outside the target.
remove one set/exercise -> targeted update; whole session only when requested. Deletions are irreversible. Confirm only persisted changes; after a partial/uncertain write, read back before any retry.
Permanently delete a workout session with all its supersets, exercises and sets. use: the user wants a logged workout removed entirely.
FIND THE SESSION: call directly, no preliminary list for an ID. session_id if known; else session_date (default today); add name only when several sessions share that day. Irreversible: not exactly one match -> errors with the reason, deletes nothing; retry with session_id or a narrower name, never guess.
SAVED WORKOUTS: saved_workout_id deletes a reusable Saved Workout instead of completed history.
Inputs: name, session_id, session_date, saved_workout_id. Returns: result
get_app_guide_sectionARead-onlyIdempotentInspect
Look up customer-facing Wellness Project product knowledge. Use it for app navigation, visible features, integrations, metric meanings, logging methods, permissions/sync questions, or troubleshooting.
Wellness Project-specific answers are closed-book: answer them from this tool's result, never from memory. The result states its own grounding rules. For how-to questions, select the relevant feature topic; a matching published video link is included when one exists.
For a request to find, report through, or open the feedback form, use topic=troubleshooting. In-app chat must offer the open_feedback action chip, not print the link (chat links render as plain text). External MCP clients may provide the exact Share feedback link returned. Never claim the form was opened without the user tapping the action.
For recognized exercise names or whether an exercise is in the app's exercise library, use list_exercises rather than guessing or expecting the app guide to enumerate exercises.
For cost, price, Free vs Pro, Founding Member, upgrading, or the 3-analysis limit, use topic=pricing. Reproduce exactly one returned pricing message verbatim, including its subscription link when it has one, and add no other pricing detail. The app attaches its own upgrade button to that message when one applies; never type out a button, chip, link markup, or call-to-action of your own.
Inputs: topic (required). Returns: result
get_exercise_historyARead-onlyIdempotentInspect
Everything the user has done for ONE exercise across sessions: all-time PR plus recent performance.
USE FOR:
PR lookups ("what's my bench PR?", "have I ever squatted 315?"): the est. 1RM PR and the exact set behind it (date, weight, reps, RPE, banded vs unbanded, superset siblings, notes), plus rep-range bests (1RM/3RM/5RM/10RM). Banded and unbanded PRs side by side when both exist.
recent activity ("how has my squat been lately?", "when did I last deadlift?"): the most recent N sessions containing the exercise, formatted like get_workout.
trend ("am I getting stronger on incline DB press?"): a one-line delta of current best vs ~30-90 days ago.
NOT for: a full session (get_workout) or a date-window list regardless of exercise (list_workouts). INFER, do not ask: exercise_name from the user's words (it resolves to canonical, or says the exercise was never logged); recent_limit and since_date from their defaults.
Inputs: exercise_name (required), since_date, recent_limit. Returns: result
get_nutrient_contributorsARead-onlyIdempotentInspect
Top logged foods and supplements contributing to ONE nutrient over a day or short range, highest amount first. use: "what gave me most of my sodium today", "what's driving my potassium this week". INFER, do not ask: date, days and limit; defaults are on the params. nutrient accepts common aliases (e.g. "b12", "carbs", "fibre").
FORMAT: default 'compact' replies with id (this nutrient's number in get_nutrient_summary's nutrient dictionary, whose unit then applies) instead of key/unit, and drops the per-contributor unit field it would otherwise repeat on every row. A nutrient outside that dictionary has no id, so key/unit are used whatever the format. 'verbose' always uses key/unit and keeps unit on every contributor.
DATA COMPLETENESS: totals sum the logged items that carry a value for the nutrient; coverage says how many did. Partial coverage -> say "based on foods with X data". Never call a low intake a deficiency; intake is not a lab result. Supplement vs food is reported separately. A daily supplement counts on every active day by default (the user is not expected to check it off) unless a day was explicitly marked not taken, so its share of a total can include days with no check-in.
Inputs: nutrient (required), date, days, limit, +1 more. Returns: result
get_nutrient_historyARead-onlyIdempotentInspect
Day-by-day history for ONE nutrient over a range, with its target, how many days met it, and how many days went over the upper limit. use: "show my vitamin D over the last month", "am I usually over on sodium". Only dates with logged data are returned. INFER, do not ask: days and end_date; defaults are on the params. nutrient accepts common aliases (e.g. "b12", "carbs", "fibre").
FORMAT: default 'compact' replies with id (this nutrient's number in get_nutrient_summary's nutrient dictionary, whose unit then applies) instead of key/unit, and drops the target's redundant unit field. A nutrient outside that dictionary has no id, so key/unit are used whatever the format. 'verbose' always uses key/unit.
DATA COMPLETENESS: totals sum the logged items that carry a value for the nutrient; coverage says how many did. Partial coverage -> say "based on foods with X data". Never call a low intake a deficiency; intake is not a lab result. Supplement vs food is reported separately. A daily supplement counts on every active day by default (the user is not expected to check it off) unless a day was explicitly marked not taken, so its share of a total can include days with no check-in.
Inputs: nutrient (required), days, format, end_date. Returns: result
get_nutrient_summaryARead-onlyIdempotentInspect
Summarize logged micronutrient (and macro) intake for one day or a short range, with each nutrient's target and coverage. use: "how's my vitamin D / sodium / iron this week", or a general "how are my micronutrients looking" (default: every tracked nutrient except amino acids, for today).
INFER, do not ask:
date: default today
days: 1 = just date; a range = the number of days ending on date ("this week" -> days=7)
nutrients: default = every nutrient with logged data this period except amino acids (rarely tracked; they would crowd out the rest). Name specific nutrients (aliases like "b12", "carbs", "fibre" resolve) only to see amino acids or a nutrient with no data yet.
Returns up to 60 nutrients. days=1: that day's totals. days>1: the range average per nutrient plus how many days were complete.
FORMAT: default 'compact' packs each panel (known/food/supplement/target_value/target_upper_limit/target_percent) as one "id:value;id:value" string: ids ascending, values to at most 3 significant digits, units per the dictionary below. Never repeat a nutrient's name or unit to the user straight from these strings; resolve the id first. coverage/items_total/items_with_value/estimated_items/target_source/target_kind stay small id-keyed records. A nutrient outside the dictionary (amino acids, Cronometer extras) has no id: its value is dropped and its name listed once under omitted; call again with format:'verbose' to see it. 'verbose' returns one full object per nutrient.
NUTRIENT ID DICTIONARY (id=name, unit per the id; also used by the id field of get_nutrient_history/get_nutrient_contributors): 1=fiber_g 2=sugar_g 3=saturated_fat_g 4=monounsaturated_fat_g 5=polyunsaturated_fat_g 6=trans_fat_g 7=cholesterol_mg 8=sodium_mg 9=potassium_mg 10=calcium_mg 11=iron_mg 12=magnesium_mg 13=phosphorus_mg 14=zinc_mg 15=copper_mg 16=manganese_mg 17=selenium_ug 18=chloride_mg 19=chromium_ug 20=iodine_ug 21=molybdenum_ug 22=vitamin_a_ug 23=vitamin_c_mg 24=vitamin_d_ug 25=vitamin_e_mg 26=vitamin_k_ug 27=thiamin_b1_mg 28=riboflavin_b2_mg 29=niacin_b3_mg 30=pantothenic_acid_b5_mg 31=vitamin_b6_mg 32=biotin_b7_ug 33=folate_b9_ug 34=folic_acid_ug 35=vitamin_b12_ug 36=choline_mg 37=omega3_g 38=omega6_g 39=caffeine_mg 40=water_g 41=starch_g 42=added_sugar_g 43=total_unsaturated_fat_g 44=fluoride_mg
DATA COMPLETENESS: totals sum the logged items that carry a value for the nutrient; coverage says how many did. Partial coverage -> say "based on foods with X data". Never call a low intake a deficiency; intake is not a lab result. Supplement vs food is reported separately. A daily supplement counts on every active day by default (the user is not expected to check it off) unless a day was explicitly marked not taken, so its share of a total can include days with no check-in.
Inputs: date, days, format, nutrients. Returns: result
get_saved_recipeARead-onlyIdempotentInspect
Read saved recipe nutrition without logging or changing a meal. Use before answering questions about a saved recipe, checking previous meal macros, or follow-ups that challenge a recipe-based estimate. profile: holds recipe TITLES only; never conclude from it that stored macros are unavailable. lookup: recipe_id = exact ID; name = case-insensitive partial title; neither = up to 50 recent recipe names and IDs, then look up the chosen one. multiple partial matches -> candidates, never guessed nutrition. values: the user's stored per-serving facts; absent = unknown, not zero.
Inputs: name, recipe_id. Returns: result
get_workoutARead-onlyIdempotentInspect
Full detail of one workout session: exercises, sets, reps, weights, superset groupings, heart points, notes, NSI scoring at every grain. use: detailed questions about a past workout, reviewing training before recommendations, confirming what was logged, comparing a session to population strength standards.
NSI: header = session NSI/rating. per exercise = NSI (max set NSI), rating, est. 1RM, and the population_1rm_lb/population_reps benchmark it was measured against. per set = NSI and est. 1RM, showing which set drove the exercise score. EQUIPMENT: per exercise when every set shares a tag, else per set; missing = untagged. wrong or missing tag on a dumbbell exercise silently halves or doubles its NSI: fix it with update_workout's set_updates or add_exercises equipment field. session_id: reuse an ID returned by a workout tool; unknown: list_workouts. Never guess.
SAVED WORKOUTS: saved_workout_id reads a reusable Saved Workout prescription. Never combine it with session_id/session_date.
Inputs: session_id (required), saved_workout_id. Returns: result
list_blog_postsARead-onlyIdempotentInspect
Search the public Crew Blog at /blog for advisor-authored daily posts. Call only when the user explicitly asks about the blog or what an advisor has written; never volunteer posts in normal conversation. Returns each matching post's slug, title, summary, advisor name, and date. Link a post inline as /blog/.
Inputs: limit, query, advisor_slug. Returns: result
list_blood_pressure_readingsARead-onlyIdempotentInspect
Read individual timestamped systolic/diastolic blood pressure pairs imported from connected health sources, including Apple Health and Health Connect. use: actual BP readings, their times, sources, or changes within a day. Daily summaries: list_wearable_data. Dates are in the user's local timezone; default last seven calendar days, max 31 days. At most 400 observations; narrow the date range if exceeded. Only recorded pairs are shown, no interpolation. Missing measurements do not imply normal blood pressure.
Inputs: end_date, start_date. Returns: result
list_body_metricsARead-onlyIdempotentInspect
List body composition entries in a date range. use: weight history, body fat trend, or any body metric over time. range: max 31 days per call; longer periods -> multiple calls with sequential date ranges. INFER, do not ask: the date range; defaults are on the params. BMI in the output is derived from the user's canonical height and that day's resolved weight; do not recompute it yourself.
Inputs: end_date, start_date. Returns: result
list_caffeineARead-onlyIdempotentInspect
List caffeine doses by local date with daily totals. use: caffeine history or today's total. range: up to 366 days per call; default the last 14 local calendar days through today. output: daily totals cover every dose in the range; the dose list shows the 200 most recent and says how many it omitted.
Inputs: to, from. Returns: result
list_cycleARead-onlyIdempotentInspect
List the user's logged period records in a date range. use: cycle history, or getting an id after an ambiguous update_cycle/delete_cycle match. Not required before update_cycle or delete_cycle: they resolve a record themselves from date. INFER, do not ask: the date range; defaults are on the params.
Inputs: end_date, start_date. Returns: result
list_exercisesARead-onlyIdempotentInspect
Every canonical library exercise as "Name [id]", grouped by primary muscle. use: before logging, adding or renaming exercises when canonical names are not already known. skip: metadata or set-value edits. why: canonical names and ids drive exercise tracking and NSI scoring.
Inputs: no named parameters. Returns: result
list_glucose_readingsARead-onlyIdempotentInspect
Read actually measured, timestamped blood glucose readings imported from Health Connect or Ultrahuman, in the user's glucose unit setting. selector, mutually exclusive: meal_id | workout_id | direct start_at/end_at range. meal_id: compares a recorded meal time with observed readings 30 minutes before to two hours after eating (or the context minutes you choose); an untimed meal cannot be compared. workout_id: before/during/after-workout readings using its EXACT stored started_at and duration_sec. range: bounded UTC-offset timestamps; default last six hours, max 48 hours. output: at most 400 measured points; narrow the range if exceeded. Missing readings are unknown, never zero or interpolated. Time alignment is correlation only, not evidence that food or exercise caused a glucose change. Lab tests belong in separate lab records.
Inputs: end_at, meal_id, start_at, workout_id, +2 more. Returns: result
list_goalsARead-onlyIdempotentInspect
Show or analyze the user's goals: active/paused formal goals, completed/historical formal goals, current standard targets. use: user asks what goals they have, or to review/analyze them. include_capabilities=true: ONLY when the user asks what kinds of goals Wellness Project supports; appends the full, large catalog of goal types and inputs. never: call this just to get an ID before create_goal or update_goal; they resolve current goals themselves.
Inputs: include_capabilities. Returns: result
list_hydrationARead-onlyIdempotentInspect
Review hydration events and stored effective hydration totals. use: the user explicitly asks about hydration history or fluid intake. Hydration tracking must already be enabled in Settings. Max range 31 days; default last 7 days.
Inputs: end_date, start_date. Returns: result
list_injuriesARead-onlyIdempotentInspect
List injuries from the injury log; defaults to Active and Monitoring. use: reviewing the log, injury history or rehab progress, or getting an id after an ambiguous update_injury/delete_injury match. Not required before update_injury or delete_injury: they resolve an injury themselves from injury (+ optional date).
Inputs: status. Returns: result
list_lab_markersARead-onlyIdempotentInspect
LOINC-coded markers in the reference library: canonical name, LOINC code, panel, typical unit, common aliases. Call BEFORE log_lab_results to match user-provided marker names to canonical entries; this prevents name drift and keeps trending working across lab visits. no arguments: the original full catalogue. Specific markers: query or panel. Whole catalogue without client truncation: limit=50 and follow the footer's next offset until complete, or compact=true for just codes, names and panels.
Inputs: limit, panel, query, offset, +1 more. Returns: result
list_lab_resultsARead-onlyIdempotentInspect
List lab/biomarker results in a date range, each with its ID; optional panel or marker name filter. use: reviewing lab history, blood work trends or specific marker values over time, or getting an id after an ambiguous update_lab_result/delete_lab_result match. Not required before update_lab_result or delete_lab_result: they resolve a result themselves from date (+ optional marker or panel_name). INFER, do not ask: the date range; defaults are on the params.
Inputs: end_date, panel_name, start_date, marker_name. Returns: result
list_locationsARead-onlyIdempotentInspect
List the user's saved training locations (home gym, hotel, gym) with the equipment at each, heaviest dumbbell and barbell load included. Use when the user asks where or with what they can train, before editing a location, or when planning needs to know what equipment is available. Planning rule: listed equipment is known available, not proof that unlisted incidental supports are absent; respect known load ceilings and explicit user limits, and let the user's stated location/equipment override assumptions. Returns each location id for manage_location. Read-only.
Inputs: no named parameters. Returns: result
list_mealsARead-onlyIdempotentInspect
List meals logged for a date or date range: ID, date, recorded local time (when known), type, food description, macros. use: "what did I eat today/this week/yesterday?", reviewing the log, or getting an id after an ambiguous update_meal/delete_meal match. not required before update_meal or delete_meal: they resolve a meal themselves from date (+ optional name substring). glucose: pass an ID as list_glucose_readings.meal_id for observed before/after-meal glucose; never assume a time for an untimed row. range: max 31 days per call; longer -> multiple calls with sequential date ranges. "excluded from totals": an imported meal from an implausible day; listed so it can be edited or deleted, not counted in that day's calories or macros.
INFER, do not ask: week or range -> end_date covers the full period ("this week" -> date=Monday, end_date=today; "last 7 days" -> date=7 days ago, end_date=today).
ROUTING: Exact rows/IDs/ranges: list_meals. One-day visual diary: show_meal_diary. Multi-day macro trend: show_week_macros.
Inputs: date, end_date. Returns: result
list_personal_contextARead-onlyIdempotentInspect
List the user's active Personal Context memories: durable circumstances and preferences remembered across conversations (e.g. travels most weeks, gym has no squat rack, trains early mornings, wants blunt feedback). Use when the user asks what has been remembered about them, or before proposing a new memory to check whether an existing one already covers the subject. Read-only.
Inputs: no named parameters. Returns: result
list_recovery_sessionsARead-onlyIdempotentInspect
List logged recovery sessions (completions and skips) in a date range, each with its ID. This is the only way to see individual logged entries: list_recovery_strategies returns only the recurring strategies (the schedule). use: "what recovery sessions have I logged", auditing/spot-checking past entries (e.g. a sauna and a cold plunge logged separately on the same day that should have been one contrast_therapy entry), or getting an id after an ambiguous update_recovery_session/delete_recovery_session match. Not required before update_recovery_session or delete_recovery_session: they resolve a session themselves from session_date (+ optional session_category).
INFER, do not ask: widen the range yourself for an older lookup instead of asking the user for exact dates. range: max 90 days per call. To audit or correct a longer history, make sequential calls walking backwards (days 0-90, then 90-180, then 180-270...) until the period the user means is covered. Never stop after one call and report that as the whole history.
Inputs: limit, category, end_date, start_date. Returns: result
list_recovery_strategiesARead-onlyIdempotentInspect
List the user's recovery and mindfulness strategies: id, name, category, schedule, start_date, end_date. use: questions about recovery practices or mindfulness routines, or getting strategy IDs before logging a session. INFER, do not ask: filter; its default is on the param.
Inputs: filter. Returns: result
list_rest_daysARead-onlyIdempotentInspect
List user-selected Rest Day, Sick Day, and Travel Day context in a range. use: understanding why a date has no workout, or why recovery, sleep or nutrition data looks unusual. Travel Day is context-only and can coexist with training. INFER, do not ask: the date range; defaults are on the params.
Inputs: end_date, start_date. Returns: result
list_runsARead-onlyIdempotentInspect
List runs in a date range, or the full saved detail of one run when run_id is given. range read: compact, Runner State summary first. Detailed range: at most 92 days, default last 7. run_id read: that run's stored splits and structured segments plus the detailed metrics Elias needs for interval analysis: structured min_hr, hr_series (minute averages, at most 600 points), hr_zones and reported_avg_pace_sec_per_mi, plus recorded_detail with the heart rate, laps and device metrics the run page shows. aggregate: totals over any range or all history -> aggregate + a numeric field (count needs none). Compact summaries, no detailed-list date cap, optional group_by day, month or year.
Inputs: field, run_id, end_date, group_by, +3 more. Returns: result
list_sleepARead-onlyIdempotentInspect
List primary overnight sleep and daytime naps in a date range. Overnight: duration, Wellness Project sleep score, the source's own sleep score when recorded, stages, and timezone-aware bedtime/wake times. Naps: listed separately with duration and start/end times; they never increase the overnight total or score. range: max 31 days per call; longer periods -> multiple calls with sequential date ranges. INFER, do not ask: the date range; defaults are on the params.
Inputs: end_date, start_date. Returns: result
list_supplementsARead-onlyIdempotentInspect
List the user's medication/supplement stack and schedules: each item's id, name, dose, schedule and start/end dates. include_adherence=true reads recorded daily check-ins: use it for questions comparing supplements with sleep, HRV or other metrics, or asking which days items were taken or missed. check-ins: max 31 days per call; request consecutive windows for longer history. A missing entry means unlogged, NOT missed.
Inputs: filter, category, end_date, start_date, +1 more. Returns: result
list_wearable_dataARead-onlyIdempotentInspect
List daily wearable data in a date range: steps, daytime resting HR, sleeping resting HR (estimated), overnight minimum HR, provider RHR, HRV, Zone Minutes / AZM with the vigorous-intensity breakdown, VO2max, calories eaten / dietary energy, calories burned / active energy / total energy expenditure, maintenance calories / TDEE, stress, and physiological vital signs from connected sources or manual overrides. use: step count, heart rate, HRV trends, vigorous minutes, calories eaten or burned, active or total energy expenditure, maintenance calories, TDEE, cardio fitness, blood glucose, vital signs, or any wearable metric over time.
Zone Minutes (a.k.a. Active Zone Minutes): a daily total plus, when the per-zone breakdown exists, moderate (1 pt/min) vs vigorous (2 pts/min, Cardio + Peak zones). Zone boundaries are personalized to the user's resting and maximum heart rate, not a fixed BPM. Calories burned: active + resting where both are known. Active energy with no resting figure -> a resting estimate from the user's profile BMR, labelled an estimate, never shown as measured. Maintenance (TDEE): a trailing line with current maintenance calories and the method behind it (formula estimate vs logged weight trend), or the missing profile fields when TDEE cannot be computed. range: max 31 days per call; longer periods -> multiple calls with sequential date ranges. INFER, do not ask: the date range; defaults are on the params.
ROUTING: Exact daily values: list_wearable_data. Broad visual: show_health_overview. RHR/HRV: show_recovery. Steps: show_week_steps. Individual timestamped BP pairs: list_blood_pressure_readings.
Inputs: end_date, start_date. Returns: result
list_wellbeingARead-onlyIdempotentInspect
List wellbeing entries in a date range. use: mood, energy, stress, soreness or (when enabled) chronic pain trends over time, or getting an id after an ambiguous update_wellbeing/delete_wellbeing match. Not required before update_wellbeing or delete_wellbeing: they resolve an entry themselves from date. range: max 31 days per call; longer periods -> multiple calls with sequential date ranges. INFER, do not ask: the date range; defaults are on the params.
Inputs: end_date, start_date. Returns: result
list_workoutsARead-onlyIdempotentInspect
List workout sessions in a date range, plus user-marked Rest Day, Sick Day or Travel Day context (returned even on a date with no workout). Context labels explain a day, they are not workouts; Travel Day can coexist with training. use: find a session ID before get_workout; training-history questions. row: ID, date, focus type, location, session NSI with rating.
DATE RANGE: detailed listings read 90-day slices; explicit range limit 3660 days; aggregates unlimited. ALL HISTORY: user asks for "all", "ever" or full history -> all_history=true; starts at the earliest stored workout (respecting activity_type). detailed listings report but do not list history beyond 3660 days; aggregates cover everything stored. OUTPUT BOUND: detailed listings emit at most 250 workouts.
totals, averages, minimums, maximums, counts over any period -> aggregate + field (count needs none), optional group_by; reads every matching record in pages, returns numeric summaries only.
aggregate=count without field: the canonical physical workout count across runs and workout_sessions, walking excluded unless enabled.
other aggregates: measurements of stored workout_sessions rows.
never add up a capped listing. FILTERS: activity_type = stored focus type (imported modalities such as Stair Stepper). exercise_name = sessions containing that exercise in their sets (strength-history questions). combinable. INFER: user-stated dates or years are authoritative; widen freely to the period actually requested.
SAVED WORKOUTS: saved_workouts=true lists the user's reusable Saved Workouts library instead of completed history. Saved workout IDs are separate from workout session IDs.
Inputs: field, end_date, group_by, aggregate, +5 more. Returns: result
log_body_metricsADestructiveInspect
UNIT INPUTS: value: pass the user's number unconverted; tool converts once before storage. alternate_unit: set the field's matching input_* companion; canonical_unit: omit companion. precedence: overrides instructions to convert manually.
Log or update body composition metrics for a date. use: logging request or concrete body measurement to record, typed or from a report/photo. Question/hypothetical alone: no write.
DATA COLLECTION: no data shared yet -> ask the user to copy-paste the output from their scale app or upload a photo of the display, so every field is parsed at once, not asked one by one.
INFER, do not ask:
date: today, or from context ("this morning", "yesterday")
lean_mass_lb, fat_mass_lb: when not explicitly stated, derive from weight and body fat % if possible: lean = weight × (1 - bf%/100), fat = weight × bf%/100
fields: every field except date is optional; log any subset. *_pct = percentages 0-100. *_in = manual tape measurements, not bioimpedance scale readings. upsert: one row per day; a second call on the same date updates the existing entry. BMI: not a field; derived at read time from the user's canonical height and their resolved weight for the day. Never ask the user for BMI, never try to log it.
DELETE: action='delete' + date + delete_fields.
clears only those measurements from the user's manual entry for that day, keeping the rest; the entry is removed once nothing is left. other value fields are ignored. the reply lists exactly what was cleared.
a weigh-in is weight_lb. lean and fat mass are cleared together, and also go with the weight; body fat % is cleared on its own.
cannot remove readings a connected scale or app imported (they come back on the next sync): tell the user to delete them in that app.
ambiguous intent -> ASK for confirmation.
Inputs: date (required), notes, action, hips_in, +21 more. Returns: result
log_cycleAInspect
Log a new period or resume one ended today. Edits: update_cycle(date) when offered; it finds the record itself, no list_cycle needed. Voice without update_cycle: log_cycle can save a known start/end or resume an ended-today period using started_on=today with no ended_on. "Ended today" alone does not supply a start date.
INFER: started_on=today only for a new start or same-day resume; ended_on=omit while active, else infer from a stated end or duration. No future dates.
Inputs: started_on (required), ended_on. Returns: result
log_injuryAInspect
Log a new injury or aggravation. use: the user mentions getting hurt, feeling pain, straining something, or describes an injury. Injuries are date ranges: they start on a date and are ongoing until an end_date is set.
INFER, do not ask:
injury_type: from the description. side: from the description when mentioned ("right shoulder" -> Right)
severity: from the description (minor twinge=2-3, moderate pain=5-6, severe/acute=8-9)
affected_movements: from body part and injury type (shoulder strain -> pressing, overhead)
ASK only if body_part is entirely unclear.
Inputs: severity (required), body_part (required), injury_type (required), side, +5 more. Returns: result
log_lab_resultsAInspect
Log one or more blood test or biomarker results. use: requested logging/import of lab values or a concrete result to record. Review/interpretation alone: no write.
GLUCOSE ROUTING: glucose belongs here only when it is an actual lab/blood-draw result or part of a reported lab panel. Finger-stick, CGM, home meter, wearable, Apple Health or Health Connect glucose, including a manual correction to daily glucose, goes to log_wearable as blood_glucose_mg_dl, not here.
REQUIRED WORKFLOW: 1) call list_lab_markers for canonical names and LOINC codes. 2) per marker the user provides, find the best match and use its canonical marker_name and loinc_code. 3) no match -> the name as stated, omit loinc_code.
User has lab results but has not shared them -> prompt: "You can paste the text from your lab report PDF, or upload a photo of the results page, and I'll parse all the values at once."
collection_date: report or explicit user context; missing: ask, never substitute report_date or today. infer: panel_name from matched marker or context. extract: flag (H/L/HH/LL/A), ref_range_low/high and lab_name only when reported.
FASTING: fasting_status is 'fasting' or 'non_fasting' only when the user explicitly states it ("I fasted for this", "hadn't eaten"). Never infer it from time of day, a meal mention in notes, or a morning draw; omit the field (unknown) whenever it was not stated.
Submit all markers from a single lab visit in one call.
Inputs: results (required). Returns: result
log_mealAInspect
RECIPE SAVE: intent=create/save recipe not eaten -> save_as_recipe=true, recipe_only=true intent=log eaten meal + save recipe -> save_as_recipe=true, recipe_only=false/omit recipe_only=true -> food_log_write=false; save_as_recipe must be true recipe_only=true -> recipe_title= recipe_only=true -> recipe_servings=<whole-batch servings; default 1> recipe_only=true -> food_items= recipe_only=true -> calories/protein_g/fat_g/carbs_g=<WHOLE-BATCH totals; estimate, never ask> recipe_only=true -> estimate=
Log a meal to the user's food diary. use: logging request or concrete meal consumed. question/habit/hypothetical alone: no write.
INFER:
date: today, or from context ("yesterday", "last night"). attached meal photo with <photo_capture_times> -> that photo's local date, unless the user explicitly states another.
meal_time: attached meal photo with <photo_capture_times> -> that photo's local HH:MM, unless the user explicitly states another time/date; user-stated timing always wins. else omit unless the user gave a real clock time.
meal_type: OMIT by default; the server assigns it from meal_time, or for a current-day plain meal/food log from the user's resolved local clock (00:00-04:00 Snack, 04:00-10:30 Breakfast, 10:30-15:00 Lunch, 15:00-17:00 Snack, 17:00-21:30 Dinner, 21:30-24:00 Snack). send only when the wording explicitly names or clearly anchors a category ("breakfast", "for lunch", "post-workout shake"), or when backdating with neither a capture time nor another honest clock signal.
MACRO SOURCE: strongest evidence wins. Never replace known stored macros with a fresh estimate.
REPEATS (unless a saved recipe is clearly invoked): the user refers to a previously logged item ("same", "another", "more", "again", or equivalent in any language), OR names a food plausibly matching a recent log even without a repeat keyword (e.g. "two eggs") -> call list_meals for the referenced/recent date range BEFORE estimating. one row unambiguously matches -> reuse its stored calories/protein_g/fat_g/carbs_g/alcohol_g, scaled by the quantity ratio when the row's quantity is known. match or quantity ambiguous -> ask instead of re-estimating. no match -> continue below.
SAVED RECIPES: referenced or selected -> ALWAYS recipe_name (saved title) + recipe_multiplier (0.5 = half). stored recipe nutrition x portion is deterministic; estimate only missing values or added_food_items, and sum additions with the recipe portion. NEVER log a referenced recipe as a generic food_items estimate.
BRAND NAMES: branded, restaurant or specific product -> published macros for the stated size/variant before a generic estimate.
else: estimate every macro from the food description. Never ask the user for macros.
MACROS:
stored meal must contain calories, protein_g, fat_g, carbs_g. no partial core macros, no placeholders.
recipe_name: supplies stored core values; pass only missing core values or explicit changes.
no recipe: food_items + all four.
saturated_fat_g/fiber_g: expanded nutrients, never required. pass only when known from strong evidence, else omit (the gated nutrient estimator fills them when expanded nutrient tracking is on; otherwise they stay unset).
0: a real value only when the food truly contains none of that nutrient.
ask: only if food_items is absent and no recipe_name applies.
FASTING: user ate nothing / fasted all day -> one "Fast day" Snack, every macro 0.
ESTIMATE: compact 3-line block estimating every one of the app's 44 tracked nutrients for the food, exactly this format, no prose before or after: items::|:|... macros:;<protein_g>;<carbs_g>;<fat_g>;<alcohol_g> nutrients:1:;2:;...;44:
always all 44 ids; never omit one for uncertainty: best reasonable estimate from the likely food, quantity, ingredients, preparation and comparable foods. 0 only when the nutrient is reasonably expected to be negligible.
id -> nutrient and unit: the dictionary on the estimate param.
omit: unchanged saved recipe. added_food_items: estimate that addition only. else supply when available; the server estimates missing values.
DUPLICATES: duplicate error -> tell the user what is already logged and ask: separate serving (retry with force=true), or update the existing entry (update_meal with adjusted values)?
DRINKS / HYDRATION: this is the single write path for consumed drinks too; never use a separate hydration write tool (the server decides whether hydration tracking is on).
known or reasonably inferable drink volume (tea, coffee, milk, juice, shakes, smoothies, etc.) -> always in fluids, even when the drink also contributes calories/macros/alcohol. food moisture -> omit.
plain fluid-only intake: may omit food_items and macros.
alcoholic drinks: each drink's alcohol_g on its fluid item; exactly one drink -> the top-level alcohol_g can stand in.
CAFFEINE / DRINKS: this is the single assistant write path for caffeine too; never use separate hydration or caffeine write tools.
consumed drink with known or reasonably inferable volume -> in fluids so hydration is recorded, never only in food_items; caffeinated -> caffeine in the same call too. drinks only; exclude food moisture.
each caffeine item: caffeine_mg, optional source_type; dated to the intake date.
user-stated milligrams: keep exact. vague coffee/tea/energy-drink/pre-workout descriptions: estimate with the same judgment used for meal macros.
drink-only or caffeine-only intake: may omit food_items/macros.
Inputs: date, fat_g, force, fluids, +19 more. Returns: result
log_recovery_sessionAInspect
Log a completed or skipped recovery/mindfulness session. use: the user did (or skipped) a breathing exercise, meditation, cold plunge, sauna, stretching, or any recovery practice; also one-off standalone sessions not linked to a recurring strategy.
INFER, do not ask:
category: from the practice name
strategy_name: the linked strategy's name, else the user's description
duration_minutes: when mentioned (omit for skipped sessions)
quality: only when the user rates it (1-5)
skipped: true when the user says they skipped, missed, or didn't do a session
PREFERRED WORKFLOW: call list_recovery_strategies first to link the session to an active strategy for adherence tracking; no matching strategy -> log as standalone.
Inputs: category (required), strategy_name (required), date, notes, +4 more. Returns: result
log_rest_dayAIdempotentInspect
Mark a date with user-selected day context: Rest Day, Sick Day, or Travel Day. rest = the user intentionally takes the day off training; sick = they say they are sick/recovering; travel = they say they are traveling. The context is visible to the AI team and workout-history reads. Rest/Sick keep the existing rest-day training behavior. Travel is context-only: it does not mean the user skipped training and can coexist with a workout.
INFER, do not ask: date from the user's reference; day_type from their wording. A repeat call on the same date updates the status in place. Remove it with cancel_rest_day.
Inputs: date, day_type. Returns: result
log_runAInspect
UNIT INPUTS: value: pass the user's number unconverted; tool converts once before storage. alternate_unit: set the field's matching input_* companion; canonical_unit: omit companion. precedence: overrides instructions to convert manually.
RUNNING ONLY: log_run is for running on foot. A bike/cycling ride, walk or rowing session is not a run even with distance and duration: use log_workout with focus_type Cycling, Walking, or Rowing plus the user's native distance field and duration_sec.
Create an editable running card. use: a completed run OR a future run plan.
intent:
log (default): the run happened. date, distance_mi and duration_sec are required. Writes the completed run and returns a card marker for in-app editing.
plan: the run has NOT happened yet. Creates a planned run card. Never put a future run in completed history.
RUN TYPE: distinguish easy, long, tempo, interval, recovery, race, fartlek, threshold, progression and hills when the runner or the workout structure supports it. An unspecified wearable run is NOT easy merely because it was a run.
DETAIL: keep elapsed time, HR, cadence, power, elevation, RPE, splits and structured segments only when supplied by the user/source. Never invent sensor data or splits.
Inputs: intent (required), rpe, date, notes, +15 more. Returns: result
log_sleepAInspect
Log an overnight sleep entry or a separate nap. use: a concrete sleep event from a tracker or recall. Question/habit/hypothetical alone: no write.
DATA COLLECTION: overnight entry without numbers -> ask: "How many hours did you sleep, and do you have a sleep score or stage breakdown from your tracker?" Nap -> NAPS.
INFER, do not ask: date = the local date the sleep or nap ended; default today.
NAPS: is_nap=true for a daytime nap or other short sleep separate from the main night, even when the user only says "I napped." Give its start (bedtime) and/or end (wake_time), plus duration (total_hours) or both times. Neither time known -> ask; never invent one. Naps must be under 3 hours. They are separate sessions and never replace or increase overnight sleep; overnight total_hours means the main night only.
Overnight entries accept any subset of fields. One row per date, updated on repeat. Every entry is tagged manual; wearable-provider sources are reserved for auto-sync.
Inputs: date (required), is_nap, bedtime, wake_time, +6 more. Returns: result
log_supplement_takenAInspect
Mark a medication or supplement as taken or not taken on a date. Only relevant when the user has daily tracking mode enabled. use: the user says they took (or missed) one on a particular day.
SELECTOR: exactly one; supplement_id if known, else supplement_name (case-insensitive substring). supplement_name matching more than one item -> error with candidate IDs to retry with.
Inputs: date, notes, taken, supplement_id, +1 more. Returns: result
log_wearableAInspect
Log daily wearable/manual health metrics: RHR, HRV, Zone Minutes / AZM, VO2max, calories eaten / dietary energy, stress, supplemental steps, and physiological vitals (SpO₂, respiratory rate, skin temperature, blood pressure, blood glucose, core temperature).
VITALS: the vital fields take manual/home/device readings and corrections, including a finger-stick, CGM, home glucose meter, or a wearable/Apple Health/Health Connect value the user explicitly wants stored manually. A glucose value from an actual lab report or blood draw belongs in log_lab_results instead, not here.
STEPS: step_count is ADDITIVE: it adds on top of whatever a connected wearable (Fitbit, Oura, Apple Health, Health Connect) recorded that day; it never replaces or overrides device data. Use it only when the user explicitly says they walked steps their device did NOT capture (phone left home, battery died, device not worn). User says sync is wrong, steps look doubled, or wants to fix/override/replace device data -> do NOT pass step_count; explain that manual steps add on top and sync issues need investigating at the device level.
ALL OTHER FIELDS (RHR, HRV, AZM, VO2max, stress, vitals) replace the existing manual value for that day; safe for corrections.
SLEEP ADDITIONS: only when the user EXPLICITLY asks to add missing sleep periods to an EXISTING record: sleep_periods plus add_to_existing_sleep_record: true. Each start/end: local HH:MM or ISO 8601 with offset. Only the source powering the displayed sleep total (chosen by the user's Sleep source priority) can be enriched; a sleep_source, when given, must match it. Never infer consent from a complaint about sleep; never mix additions with other metrics.
INFER, do not ask: date = today unless the user says otherwise.
IDEMPOTENT: values already present for that date (any source) -> a no-op success; report it as "already had data", not "failed".
Inputs: date (required), resting_hr, step_count, hrv_morning, +18 more. Returns: result
log_wellbeingAInspect
Log subjective wellbeing ratings for a day, week, month, or custom date range. use: logging request or concrete wellbeing report to record. Question, general pattern or venting alone: no write. Single-day ("how I feel today") and period entries ("this week was stressful", "March was great") are both supported; any subset of rating fields may be logged. overlap: an entry already overlapping the requested period -> a warning with the conflicting entry IDs; the user must update or delete those first.
INFER, do not ask:
period_end: "this week" = Monday-Sunday, "this month" = first-last day
ratings: from the description ("exhausted" = energy 2, "great energy" = 8, "stressed out" = stress 8, "feeling good" = mood 7)
Pain (1-10, higher is worse) is available only when the user enables chronic pain tracking in Advanced settings.
Inputs: mood, pain, notes, energy, +4 more. Returns: result
log_workoutADestructiveInspect
UNIT INPUTS: value: pass the user's number unconverted; tool converts once before storage. alternate_unit: set the field's matching input_* companion; canonical_unit: omit companion. precedence: overrides instructions to convert manually.
COMPLETED WORKOUTS, ANY ACTIVITY:
real exercises/sets: provide as usual; session totals and activity metrics can ride in the SAME log_workout call.
activity description only (walking, yoga, swimming, a kettlebell circuit, strength, HIIT, cycling, etc.): focus_type + reported session details; OMIT exercises or pass []. no fake exercises or sets. Never invent exercises, reps, weights, splits, heart rates or calories.
notes: reported context, uncertain durations included (e.g. "15-20 minutes, light intensity"). unknown numeric fields stay unset; never turn a range into false precision.
estimated=true: ONLY when numeric values really are estimates; zero sets does not imply it.
focus_type: walking = "Walking"; cycling/biking = "Cycling"; rowing/RowErg = "Rowing"; other activity names as stated.
log_run: the richer route for completed runs with known distance+duration, running splits or planned runs. Never send a walk, ride or row to log_run.
distance_mi/distance_km/distance_meters: alternatives; send the unit the user gave. The server converts, never convert it yourself.
duration_sec: total workout/moving seconds, not a set or a repetition.
HR, power, cadence, elevation, laps/segments: only when reported.
Shared workout contract
precedence: latest explicit user instruction > draft values, history, catalog defaults, AI guesses. Earlier explicit restrictions persist until changed. A question alone never authorizes an edit.
identity: prefer the logged/canonical name; keep explicitly requested literal names; disclose genuine fuzzy substitutions. Loading an exercise never creates a canonical exercise or renames it.
preserve: unchanged exercises, sets, reps, weights, rest, equipment, order, grouping, notes, prior corrections. Inferred equipment never overrides an explicit load or equipment instruction.
bodyweight-default: bodyweight equipment has no added weight by default. An explicit instruction to add weight switches a bodyweight-default exercise to dumbbell_single unless another implement is named, with is_bodyweight=false and the added load kept. Explicit switch to bodyweight clears every added weight, per-set loads included. Unrelated edits change neither equipment nor weight.
load basis: dumbbell_pair = load PER hand; dumbbell_single = one implement total. A band uses its labeled resistance and is_band=true. A positive added load cannot have is_bodyweight=true. Timed loaded carries/holds keep BOTH duration and load.
sets: keep each set's actual reps, external load, optional hold seconds. Timed holds = seconds, not reps; tempo can have reps plus hold seconds. Distance is never duration. Null per-set value = unknown, never a reason to copy another set.
units: Model-facing weights use the user's preferred unit; an explicitly stated different unit goes through the tool's unit field for one server conversion. Never re-round stated or logged weights as a progression.
Completed-workout logging
Record only what the user performed or a specifically referenced session proves. Never invent completed sets, reps, weight, RPE, duration, start time or exercises. A historical load may be offered for confirmation, never silently inserted into a past log.
copy an earlier workout: copy its full actual sets, loads, order and grouping, then apply only the stated correction. Imported session: keep the wearable anchor; its aggregate data is not evidence of individual sets.
Missing actual values stay unknown. An emitted completed-session card must be reviewed/saved before you claim it was logged.
Log a complete workout session: exercises, sets, reps, weights, session metadata. use: the user describes finishing a workout, lists exercises performed, or asks to log training. Reusable template: see SAVED WORKOUT MODE.
EXERCISE NAMES:
Reuse known canonical names, else call list_exercises and match each exercise to the closest canonical name. match -> canonical name + its [id] as exercise_id. no reasonable match -> name as stated, no exercise_id. Match silently and log; don't ask first.
"Chest press" (machine) and "bench press" (barbell) are DISTINCT: pass the user's term through so the resolver's aliases pin the right one.
name = the exercise name only; reps/weights/sets go in sets.
LITERAL NAME: literal_name:true only on an explicit user request ("call it exactly X", "not the standard one", "literally X") or a rejected match, never a routine correction. Known catalog names/aliases keep their IDs; unmatched names are unscored.
The result says when a name was matched to something other than what the user said; relay it in your own words, not verbatim. If a name matches nothing closely enough, the result names near-miss library exercises; ask the user which they meant rather than accept the unscored custom log silently.
EQUIPMENT (load basis): dumbbell_pair = one dumbbell in EACH hand, weight_lb PER HAND (2x for NSI); dumbbell_single = one implement total. Laterality (single-leg/arm) alone does NOT decide it. Set it when the user describes the load (each hand, machine, band); a wrong or missing tag silently halves or doubles NSI.
SETS:
"3 sets of 15 reps" -> 3 set objects, reps 15. "15/12/10" -> 3 sets, reps 15, 12, 10.
isometric hold (plank, dead hang, wall sit): no reps. "30 second plank" = { hold_length_sec: 30 }.
tempo/pause: reps + weight_lb + hold_length_sec (seconds per rep) on the same set, never in notes.
loaded carry (farmers carry, sled push, weighted plank): one set per trip, hold_length_sec + weight_lb; omit reps unless a trip count is given. weight_lb = PER HAND for two implements, TOTAL for one.
circuit station (run/ride/swim/row/walk): distance_meters and/or duration_sec PER ROUND on its set, not reps or hold seconds.
INFER, do not ask: date; superset_group; slot_type; location (from context, else omit); focus_type from the exercises (bench/shoulders/triceps=Push, rows/pulldowns/curls=Pull, squats/deadlifts/lunges=Legs, mixed upper=Upper, everything=Full Body). heart_points: reported values only. Missing external load: follow LIVE LOADS.
RPE: 1-10, half steps allowed. Scale and inference: see the rpe field. Per-set rpe only when the user states per-set effort or failure.
RETURNS the new session ID as "[ID NN]"; pass it to update_workout / delete_workout / get_workout for follow-ups in this conversation.
LIVE LOADS: user-driven completed-workout logging only.
obvious bodyweight movement: may omit load; inferred as bodyweight.
performed set that normally uses external resistance: include its load; not given -> ask one batched clarification before calling this tool.
load_unknown=true on a missing set: only when the user explicitly says they do not know, do not remember, or want to save without that load.
partial known loads: preserve positionally; never copy one set's load to another, never treat a missing external load as bodyweight.
SAVED WORKOUT MODE:
in-app chat: propose_workout for new workout plans, whether to save or start; discover it if needed.
external clients without cards: save_as_saved_workout=true + the full prescription through this same tool.
saved mode does NOT log completed history; LIVE LOADS does not apply, prescribed weight may be omitted.
replace an existing Saved Workout: also pass saved_workout_id; the supplied prescription fully replaces its prior sets/reps/weights.
saved_workout_title: when the reusable name should differ from focus_type.
Inputs: date (required), rpe, notes, avg_hr, +27 more. Returns: result
manage_locationAInspect
UNIT INPUTS: value: pass the user's number unconverted; tool converts once before storage. alternate_unit: set the field's matching input_* companion; canonical_unit: omit companion. precedence: overrides instructions to convert manually.
Create a training location, or update one: rename it, change its kind, make it the default, add or remove equipment. use: the user says where they train, what a place has ("my hotel has dumbbells to 50 and a bench"), or that equipment is missing or new. Call list_locations first for ids and to avoid duplicates.
create: name required. kind defaults to other. equipment starts from preset (default by kind: home -> home_gym, gym -> full_gym, hotel -> hotel_gym, else bodyweight) unless add is given, which replaces the preset. the user's first location becomes the default. update: location required (id or exact name). any of name, kind, make_default, add, remove. add upserts an item (with sizes when the user stated them); remove takes items out. bodyweight is always available and never listed.
writes: immediately to the user's saved location, which Jamie and the On Deck coach read for every plan. no delete here.
Inputs: operation (required), add, kind, name, +4 more. Returns: result
manage_recovery_strategyADestructiveInspect
Add, update, end, or delete a recovery/mindfulness strategy. use: the user describes a new practice, changes a schedule, stops a practice, or removes one. Infer category from the name and schedule from context; start_date defaults to today. ASK only if name is missing.
SELECTOR for update/end/delete: exactly one; id if known, else strategy_name (case-insensitive substring, e.g. "sauna"). strategy_name matching more than one strategy -> error with candidate IDs to retry with.
AFTER a successful 'add': do NOT just confirm and stop. Reply by (1) restating the assumed schedule (sessions per period, duration, time of day, start date) in plain language, and (2) asking the user to confirm or correct it, especially optional fields you did NOT set (duration_minutes, time_of_day). Example: "Logged sauna starting today, assuming once per week. Sound right? About how long do you usually go for, and what time of day, morning or evening?" A correction -> call this tool again with action='update'. The goal is accurate adherence data, not a silent confirmation.
Inputs: action (required), id, name, notes, +8 more. Returns: result
manage_supplementADestructiveInspect
Add, update, end, or delete a medication or supplement. use: the user describes their stack, adds an item, changes a dose or schedule, says they stopped taking something, or wants an entry removed.
INFER, do not ask:
action: add = a new item; update = change a field; end = they stopped/finished a course; delete = only to remove the record entirely
category: medication = prescription/OTC drugs and pharmaceuticals; supplement = vitamins/minerals/herbs/other dietary supplements; default supplement when unclear
start_date: today for new entries. end_date (for end): today unless the user says otherwise
ASK only if name is missing for a new entry, or end (set end_date) vs delete (remove record) intent is ambiguous. add needs: name, dose_amount, dose_unit.
SELECTOR for update/end/delete: exactly one; id if known, else supplement_name (case-insensitive substring, e.g. "magnesium"). supplement_name matching more than one item -> error with candidate IDs to retry with.
Inputs: action (required), id, form, name, +14 more. Returns: result
mark_empty_dayADestructiveIdempotentInspect
Set, change, or undo the answer to "why is this day empty?" for a date with no real meals logged. use: the user wants to flip a fast day to forgotten (or back), or undo either one, in chat instead of the in-app prompt.
STATES: exactly three per date; this tool is the only way to move between them; setting one answer clears the other.
fast: an intentional 0-calorie day; writes the 0-kcal "Fast day" food_log entry, a real counted day.
forgot: day reviewed, simply not logged. writes nothing to food_log: the day stays a true blank, excluded from calorie/TDEE averages, never imputed as 0.
unanswered: clears both; the day is an open question again and the in-app prompt may re-ask.
refuses: a day with actual meals on it (other than an existing fast marker); call list_meals first if unsure.
Inputs: date (required), answer (required). Returns: result
set_nutrient_targetAIdempotentInspect
Set or remove the user's OWN daily target for one vitamin, mineral or other tracked nutrient. use: ONLY when the user explicitly asks to set, change or remove their own target ("set my vitamin D target to 50 mcg"). never: on your own initiative, to apply a recommendation, or to act on a lab result. meaning: the user's personal preference, never a clinical prescription; do not present it as one. It replaces the reference intake for that nutrient in every nutrient view. Calories and macros are goals, not nutrient targets.
REQUIRED: target_value and unit unless remove is true. no unit given -> ask; never guess mcg vs IU or mg vs g. upper_limit omitted -> the reference upper limit applies. remove=true deletes the user's target so the reference intake applies again.
nutrient: a name/alias, or the id (1-44) from get_nutrient_summary's nutrient id dictionary; pass whichever a prior get_nutrient_summary/get_nutrient_history/get_nutrient_contributors compact reply already gave you.
Inputs: nutrient (required), unit, notes, remove, +2 more. Returns: result
set_supplement_nutrientsAIdempotentInspect
Set the nutrient content of ONE configured dose of a medication or supplement, as printed on its label. use: the user shares a Supplement Facts / Nutrition Facts panel, states specific nutrient amounts from a label, or corrects a previously stored value.
VALUES MUST COME FROM THE PRODUCT LABEL OR THE USER'S EXPLICIT STATEMENT. Never estimate or guess a nutrient amount. No real label numbers yet -> ask for the label instead of calling this.
Amounts are per the dose already configured on the row (dose_amount/dose_unit, e.g. "2 capsules"), not per individual unit and not a daily total; daily totals are derived separately from frequency_type/times_per_period. A nutrient name or unit the tool does not recognize is skipped and reported back in the result, never silently dropped.
SELECTOR: exactly one; id if known, else name (exact case-insensitive match, then a unique case-insensitive prefix match). Ambiguous or unmatched name -> error listing candidate ids, nothing written.
Inputs: nutrients (required), id, name, replace. Returns: result
show_body_compositionARead-onlyIdempotentInspect
Show body composition over time with an interactive metric picker for weight, body fat, lean and muscle mass, hydration, visceral fat, BMI, waist, and related scale metrics, with a 7-day/30-day/90-day/1-year range toggle. Prefer this interactive view over describing the underlying rows in text. Returns a short text summary alongside it.
Inputs: range. Returns: kind, generatedAt
show_body_weightARead-onlyIdempotentInspect
Visual weight and body-fat trend for 7d, 30d, 90d, or 1y. Returns an interactive chart plus short summary.
Inputs: range. Returns: kind, generatedAt
show_exercise_progressionARead-onlyIdempotentInspect
Show the user's estimated 1-rep-max progression for a lift over time as an interactive line chart, with filters for date range and muscle group, and an exercise picker. Prefer this interactive view over describing the underlying rows in text. Returns a short text summary alongside it.
Inputs: range, exercise, muscle_group. Returns: kind, generatedAt
show_health_overviewARead-onlyIdempotentInspect
Show a rich overview of wearable health signals including steps, Zone Minutes, resting heart rate, HRV, VO2max, and stress, with a 7-day/30-day/90-day/1-year range toggle. Prefer this for broad wearable or overall health-trend questions. Prefer this interactive view over describing the underlying rows in text. Returns a short text summary alongside it.
Inputs: range. Returns: kind, generatedAt
show_meal_diaryARead-onlyIdempotentInspect
Show the meals logged on a day as a rich diary with daily calories and macros versus targets. Prefer this for what-did-I-eat and daily food-log review questions. Prefer this interactive view over describing the underlying rows in text. Returns a short text summary alongside it.
Inputs: date. Returns: kind, generatedAt
show_recoveryARead-onlyIdempotentInspect
Visual resting-heart-rate and HRV trend for 7d, 30d, 90d, or 1y. Returns an interactive chart plus short summary.
Inputs: range. Returns: kind, generatedAt
show_runsARead-onlyIdempotentInspect
Visual running-mileage trend for 7d, 30d, 90d, or 1y. Returns an interactive chart plus short summary.
Inputs: range. Returns: kind, generatedAt
show_sleep_detailARead-onlyIdempotentInspect
Show one night of sleep in detail with duration, score, stages, bedtime, wake time, awakenings, and recent-night context. Prefer this for last-night or specific-night sleep questions. Prefer this interactive view over describing the underlying rows in text. Returns a short text summary alongside it.
Inputs: date. Returns: kind, generatedAt
show_week_fit_scoreARead-onlyIdempotentInspect
Visual Fit Score trend and component breakdown for 7d, 30d, 90d, or 1y. Returns an interactive card plus short summary.
Inputs: range. Returns: kind, generatedAt
show_week_macrosARead-onlyIdempotentInspect
Visual calories and macros versus targets for 7d, 30d, 90d, or 1y. Returns an interactive chart plus short summary.
Inputs: range. Returns: kind, generatedAt
show_week_sleepARead-onlyIdempotentInspect
Visual sleep duration and score trend for 7d, 30d, 90d, or 1y. Returns an interactive chart plus short summary.
Inputs: range. Returns: kind, generatedAt
show_week_stepsARead-onlyIdempotentInspect
Visual step-count trend versus goal for 7d, 30d, 90d, or 1y. Returns an interactive chart plus short summary.
Inputs: range. Returns: kind, generatedAt
show_week_workoutsARead-onlyIdempotentInspect
Visual training trend for 7d, 30d, 90d, or 1y. Includes user-marked Rest Day, Sick Day, and Travel Day context even when no workout exists. Returns an interactive chart plus short summary.
Inputs: range. Returns: kind, generatedAt
show_wellbeingARead-onlyIdempotentInspect
Show energy, mood, stress, soreness, and optional chronic pain together with recent context and an overall wellbeing trend, with a 7-day/30-day/90-day/1-year range toggle. Prefer this for how-I-have-been-feeling and subjective recovery questions. Prefer this interactive view over describing the underlying rows in text. Returns a short text summary alongside it.
Inputs: range. Returns: kind, generatedAt
show_workoutARead-onlyIdempotentInspect
Show a single logged workout session's exercises and sets as an inline card. Defaults to the most recent workout; can target a specific date. Prefer this interactive view over describing the underlying rows in text. Returns a short text summary alongside it.
Inputs: date. Returns: kind, generatedAt
update_cycleAIdempotentInspect
Update an existing period record: correct dates, add a missing end date, or clear an end date (resume).
"my period ended on the 9th not the 8th" -> ended_on
"actually my period started the 2nd not the 3rd" -> started_on
"I'm still on my period" -> reopen: true (clears ended_on, marks it active)
SELECTOR: exactly one; id if known, else date (the period's start date, or any date within it). date matching more than one record -> error with candidate IDs to retry with.
Inputs: id, date, reopen, ended_on, +1 more. Returns: result
update_goalADestructiveInspect
UNIT INPUTS: value: pass the user's number unconverted; tool converts once before storage. alternate_unit: set the field's matching input_* companion; canonical_unit: omit companion. precedence: overrides instructions to convert manually.
Change, complete, pause, stop/end, reopen, or delete an existing goal. call: directly for ordinary goal changes. The tool loads current goals and resolves a unique goal from goal_id or a natural-language goal_ref; do NOT call list_goals first just to find an ID. edit: only the fields to change. complete/pause/end/reopen/delete: no edit fields. goal_ref genuinely matching multiple goals -> candidates returned, nothing changed. lifecycle: formal goal end/delete follows the Goals UI cancel lifecycle; standard-target end/pause turns the target off, delete removes it.
EDITABLE INPUTS BY goal type: weight_loss: target_weight_lb, weeks, target_date strength: target_1rm_lb consistency: target_per_week, target_hours, week_window body_comp: target_value, weeks, target_date race: target_distance_mi, target_time_sec, race_date n1_experiment: not editable; end or delete it and create a new one nutrition: metric, target_value standard targets: target_value, or target_value_lb per WEIGHT INPUTS.
WEIGHT INPUTS: body_weight_target_lb standard target or body_comp metric lean_mass_lb -> edit with target_value_lb, unit-aware: in-app calls use the preferred unit, external calls pounds unless input_weight_unit is set. Legacy generic target_value stays canonical pounds.
Inputs: action (required), title, weeks, metric, +30 more. Returns: result
update_injuryAIdempotentInspect
Update an existing injury entry. use: the user reports an injury improving, worsening or resolved, or wants details changed. Send only fields that change. severity: a new value is tracked automatically in the severity history for trend analysis; severity_date backfills past changes ("it was a 7 in January, dropped to 4 by March"). end_date: setting it marks the injury Resolved.
SELECTOR: exactly one; id if known, else injury (case-insensitive body part or injury type substring, e.g. "shoulder"), optionally narrowed by date (an injury active on that day). injury matching more than one entry -> error with candidate IDs to retry with.
Inputs: id, date, side, notes, +7 more. Returns: result
update_lab_resultAIdempotentInspect
Update fields on an existing lab result. use: correcting a result already logged, most often its collection date. Send only the fields that change.
SELECTOR, exactly one of id | date | date+marker | draw_id:
id: one marker's row. Any editable field may change.
draw_id: every result sharing that draw_id at once, unambiguous by construction. Draw-level fields only: new_date, panel_name_new, lab_name, fasting_status, report_date.
date (optionally narrowed by panel_name): every result from that draw at once, but ONLY when exactly one draw exists on that date (see AMBIGUITY). Draw-level fields only.
date + marker (marker-name substring, case-insensitive, optionally narrowed by panel_name): one marker's row, same as id. More than one marker matching on that date -> error with candidate IDs. Per-marker fields (result_value, result_unit, result_comparator, marker_name, flag, notes): id or date+marker only.
AMBIGUITY: a bare date (optionally + panel_name) selector that would match more than one physical draw is rejected with nothing changed: an explicit draw_id from one source plus legacy rows with none, two distinct draw_ids, or two differently-named legacy sources on the same day. The error names every draw found; retry with draw_id, marker, or a narrower panel_name.
FASTING: fasting_status changes to 'fasting' or 'non_fasting' only when the user explicitly states it for that draw; never infer from time of day or a notes mention. 'unknown' is a valid explicit value too, for undoing a mistaken confirmation.
NOTES: changing result_value, result_unit or result_comparator regenerates the "Reported as <9 IU/mL"-style note from the new value/unit/comparator, replacing only a note it previously auto-generated; any other free text in notes survives. Pass notes yourself only to add or change unrelated free text; it is folded in alongside the regenerated line, not overwriting it.
Inputs: id, date, flag, notes, +12 more. Returns: result
update_mealADestructiveInspect
Update an existing meal. Use only when the current message explicitly changes, corrects, or adds to a meal already logged. Never infer an update from earlier chat history. A plain food statement ("coffee with milk") is a new entry: use log_meal, even if that meal type already exists today.
IMPORTED MEAL ENRICHMENT (Cronometer, Fitbit/Google Health, FatSecret, Apple Health, Health Connect meals):
allowed: explicit macro-only corrections (calories, protein_g, carbs_g, fat_g, alcohol_g), stored as separate, sync-protected enrichments ON THE SAME IMPORTED MEAL; a new provider sync does not overwrite them. omit unchanged macros.
labels: user- or AI-estimated values are labeled estimates, never represented as provider measurements.
never: log_meal to create a duplicate; replace an imported meal's food_items, meal type or date; add/remove its foods, fluids or caffeine. the source app owns those.
FIND THE MEAL: call directly, no preliminary list for an ID or additive totals.
id: when known (list_meals output; the chat history's saved-records note after a log).
else: date (default today) + name and/or target_meal_type to narrow the existing row.
target_meal_type finds by current type and is never written; meal_type sets a new type.
not exactly one match -> nothing changes. multiple matches -> ask the user which meal they mean; never select a candidate id yourself.
send only fields that change.
THREE MODES: add_saved: add_recipe_name appends the recipe's food and ADDS its macros to current totals. match: case-insensitive exact title, then substring; relay no-match/ambiguous errors. stored recipe macros, including 0, are authoritative; explicit macros replace the recipe's contribution only for a correction or changed food/quantity. recipe macros missing -> estimate only the missing fields from the returned food text and retry with the same selector and add_recipe_name. add_unsaved: add_food_items + the four core macros (calories/protein_g/fat_g/carbs_g) for ONLY the new food; estimate them, never ask. text appends; core macros ADD to current totals. alcohol_g: optional, omitted adds nothing. add_both: add_recipe_name + add_food_items; the ordinary core macro fields describe ONLY the unsaved addition, the recipe contributes its stored core macros. correct: both add_* unset; supplied fields REPLACE stored values. send corrected totals, omit unchanged fields. changed food_items -> the four core macros for the WHOLE corrected meal; list_meals only if the needed stored values are unavailable this turn. additions and explicit value corrections need no pre-read. food_items: when supplied, replaces the description even in add modes. SATURATED FAT / FIBER: expanded nutrients, never required for an update. the estimator or a saved recipe's nutrient panel can fill omitted values; core-macro updates work without them. 0 only when known, never a placeholder. ambiguous_add_vs_correct: ask before updating.
ESTIMATE: estimate (same format as log_meal's ESTIMATE section) covers the food this call changes: the add_unsaved/add_both addition's own food, or the WHOLE corrected meal for a correct-mode food_items replacement. never required; omitted -> the server estimates.
MEAL TIME: meal_time sets this meal's local HH:MM clock; null clears an incorrect time; omit to preserve it. move_to_date without a new meal_time clears the old clock: send both when the original eating time is known.
MOVE TO A DIFFERENT DATE -> move_to_date. "move Tuesday's lunch to Wednesday": date/name/target_meal_type only SELECT the meal, they never move it. move_to_date changes the stored date, same id.
REMOVE ONE ADDED COMPONENT -> remove_item_name.
scope: only a food previously recorded on THIS meal (add_recipe_name, add_food_items, or log_meal's own estimated items). none recorded -> throws; use correct mode with corrected totals instead.
estimated item (log_meal's own food, no add_recipe_name/add_food_items involved): has a name and gram estimate but no recorded calorie/macro split, so no precise subtraction -> throws asking for calories/protein_g/fat_g/carbs_g (the meal's corrected TOTALS after removing it) in the SAME call; that call performs the removal and applies those totals together, in that order. do that rather than a separate correcting call.
after removal the meal's nutrient panel is re-estimated from what remains; pass estimate to supply that re-estimate yourself.
DRINKS / HYDRATION WHEN UPDATING: a food update must not silently erase an already-linked hydration event.
unrelated change: omit fluids; existing hydration is preserved.
adding a drink (add_food_items/add_recipe_name): fluids = only the new drink(s); appended.
correcting drinks (both add_* omitted): fluids = the complete corrected drink list; replaces the linked hydration.
correction removes every drink: send fluids: [] explicitly; the linked hydration is deleted.
include any known or reasonably inferable drink volume. drinks only; exclude food moisture.
CAFFEINE / DRINKS WHEN UPDATING: fluids = hydration sidecar, caffeine = caffeine sidecar. a drink change affecting both -> send both in the same update_meal call; omit an unchanged side to preserve its linked data.
adding caffeinated food/drink (add_food_items/add_recipe_name): caffeine = only the new dose(s); appended.
correcting caffeine (both add_* omitted): caffeine = the complete corrected dose list; replaces linked caffeine.
correction removes every dose: send caffeine: [] explicitly.
each retained/new dose: caffeine_mg, optional source_type; dated to the meal date.
SAVE AS RECIPE: user asks to save an already-logged meal as a reusable recipe -> save_as_recipe=true. can be the only action: select the real meal by id or the normal selectors; invent no food or macro edit. "save that as a recipe" after a successful log -> the known meal id + save_as_recipe=true. Never tell the user recipes cannot be saved from chat.
Inputs: id, date, name, fat_g, +21 more. Returns: result
update_recovery_sessionAIdempotentInspect
Update fields on an existing recovery session log entry. use: correcting or changing something already logged (e.g. wrong duration, quality rating, category, or notes). Send only the fields that change.
SELECTOR: exactly one; id if known, else session_date (+ optional session_category to narrow). More than one session matching -> error with candidate IDs to retry with.
Inputs: id, date, notes, quality, +7 more. Returns: result
update_wellbeingAIdempotentInspect
Update an existing wellbeing entry; omitted fields stay unchanged.
SELECTOR: exactly one; id if known, else date (any day within the entry's period). date matching more than one entry -> error with candidate IDs to retry with.
Inputs: id, date, mood, pain, +4 more. Returns: result
update_workoutADestructiveInspect
UNIT INPUTS: value: pass the user's number unconverted; tool converts once before storage. alternate_unit: set the field's matching input_* companion; canonical_unit: omit companion. precedence: overrides instructions to convert manually.
Shared workout contract
precedence: latest explicit user instruction > draft values, history, catalog defaults, AI guesses. Earlier explicit restrictions persist until changed. A question alone never authorizes an edit.
identity: prefer the logged/canonical name; keep explicitly requested literal names; disclose genuine fuzzy substitutions. Loading an exercise never creates a canonical exercise or renames it.
preserve: unchanged exercises, sets, reps, weights, rest, equipment, order, grouping, notes, prior corrections. Inferred equipment never overrides an explicit load or equipment instruction.
bodyweight-default: bodyweight equipment has no added weight by default. An explicit instruction to add weight switches a bodyweight-default exercise to dumbbell_single unless another implement is named, with is_bodyweight=false and the added load kept. Explicit switch to bodyweight clears every added weight, per-set loads included. Unrelated edits change neither equipment nor weight.
load basis: dumbbell_pair = load PER hand; dumbbell_single = one implement total. A band uses its labeled resistance and is_band=true. A positive added load cannot have is_bodyweight=true. Timed loaded carries/holds keep BOTH duration and load.
sets: keep each set's actual reps, external load, optional hold seconds. Timed holds = seconds, not reps; tempo can have reps plus hold seconds. Distance is never duration. Null per-set value = unknown, never a reason to copy another set.
units: Model-facing weights use the user's preferred unit; an explicitly stated different unit goes through the tool's unit field for one server conversion. Never re-round stated or logged weights as a progression.
Editing and enrichment
An explicit correction changes only the named fields; preserve everything else, prior corrections and completed sets included. A genuine question gets an answer, no mutation; a proposed change needs confirmation.
rename = in-place, never remove-and-add. Added load or changed equipment keeps the canonical exercise name. A plan swap affects only what remains to perform, never logged sets.
Enrich only the fields the user asked for. Missing equipment: resolve from explicit user choices, then logged history; a guess never overrides those. A failed patch is disclosed, never claimed as success.
Saved workout operations
routing: new performed session -> in-app chat propose_workout (review card; Save logs), external MCP and native voice log_workout. Correct a stored session -> update_workout, never another log. Delete a whole session -> delete_workout, never an update. Future workouts -> in-app proposal tools; external clients without cards may use log_workout(save_as_saved_workout=true) for a reusable template. saved_workout_id selects a template, never a completed session.
resolve: known session ID, or an unambiguous date/name. Ambiguous sessions, sets or superset slots need exact identification. Never invent IDs. Validate every part of an update before writing; preserve everything outside the target.
remove one set/exercise -> targeted update; whole session only when requested. Deletions are irreversible. Confirm only persisted changes; after a partial/uncertain write, read back before any retry.
Update a workout session: correct metadata, fix set values, rename/add/remove exercises or individual sets, move exercises between supersets. use: any post-log correction.
FIND THE SESSION: call directly, no preliminary list for an ID.
session_id: positive ID from a workout tool, never invented.
else: session_date (default today); add name only when several sessions share that day.
not exactly one match -> errors with the reason, changes nothing; retry with session_id or a narrower name, never guess.
get_workout: full detail (exercise names, slot names SS1/SS2/WarmUp/Finisher) when needed. list_exercises: only for unknown canonical names when adding or renaming.
Call with only the fields that change; operations can combine in one call.
OPERATIONS:
metadata: date, focus_type, location, notes, rpe, heart_points_moderate/peak.
set_updates: patch reps/load/bodyweight/notes/equipment on one set, addressed by set_id OR exercise_name + set_position (1-based, get_workout's "Set N"). stored load wrong and real load unknown -> clear_weight=true; corrected set genuinely bodyweight -> is_bodyweight=true.
remove_sets: same addressing; remaining sets renumber; an emptied exercise/slot is removed automatically.
rename_exercises: renames every set of an exercise in place (keeps set IDs, RPE, notes; rebuilds NSI), never remove + add.
remove_exercises: deletes all sets of the named exercises; empty slots are removed automatically.
add_exercises: new exercises with sets; to_superset_slot joins an existing slot, omit for standalone.
move_exercises: moves an exercise to another slot; "new" = standalone. same name in multiple slots -> from_superset_slot from get_workout.
SUPERSET SLOTS: rename_exercises/remove_exercises use superset_slot (or { name, superset_slot } for remove_exercises) from get_workout when a name appears in multiple slots.
LITERAL NAME: literal_name:true only on an explicit user request ("call it exactly X", "not the standard one", "literally X") or a rejected match, never a routine correction. Known catalog names/aliases keep their IDs; unmatched names are unscored. Applies below.
EQUIPMENT (load basis): dumbbell_pair = one dumbbell in EACH hand, weight_lb PER HAND (2x for NSI); dumbbell_single = one implement total. Laterality (single-leg/arm) alone does NOT decide it. Set it when the user describes the load (each hand, machine, band); a wrong or missing tag silently halves or doubles NSI.
AMBIGUOUS SET: a set_id or exercise_name+set_position matching more than one set (the same exercise in two superset slots) errors rather than guessing; use the exact set_id from get_workout.
result: discloses a mismatched name from rename_exercises/add_exercises; relay it in your own words. If a name matches nothing closely enough, the result names near-miss library exercises; ask the user which they meant rather than accept the unscored custom log silently.
INFER, do not ask: set positions count from 1 per exercise. Slot names and set_ids beyond what's inferable come from get_workout; canonical exercise names from list_exercises.
SAVED WORKOUTS: saved_workout_id edits a reusable Saved Workout instead of completed history, through saved_workout_title, saved_exercise_updates and/or add_exercises. add_exercises keeps its normal payload shape; to_superset_slot accepts the Saved Workout slot label from get_workout or its SS1-style alias. Progression requests: inspect real exercise history first, never apply a deterministic formula.
cardio_totals: distance_mi/distance_km/distance_meters, duration_sec, calories are update fields; never put corrected totals only in notes. existing_exercise: use add_sets to add sets; add_exercises is for new exercises. ambiguous_slot: rename/remove/move requires the source slot when the exercise appears in multiple slots.
Inputs: rpe, date, name, notes, +22 more. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Connect your wearables, rings and training apps, then ask your AI about your own health data.
Your Garmin, Oura, WHOOP, Hevy and 35 more fitness apps, queryable from your own AI.
Your own health records from Vora, Still, Stackwell and Joiva in your AI assistant (OAuth).
Your Apple Health data, food diary and lifts, for ChatGPT, Claude and Gemini. Approved on iPhone.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables athletes to query their Garmin, Oura, WHOOP, Hevy and 39 other fitness and health apps from their own AI assistant, returning computed training-load, HRV, readiness, sleep and race-prediction metrics and, with permission, pushing structured workouts, food logs or strength routines back to connected apps.3MIT

Sensor Bio MCP Serverofficial
AlicenseAqualityCmaintenanceConnects Sensor Bio wearable data to AI assistants via the Model Context Protocol, enabling queries about sleep, heart rate, activity, and other biometrics.131MIT- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to access Sapphire Wellness user data, including health alerts, personalized recommendations, and partner service subscriptions.-
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to query live Garmin Connect health and fitness data, including daily metrics, activities, sleep analysis, and trends via natural language.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.