Wellness Project MCP
Wellness Project MCP is a hosted OAuth-secured MCP server that lets AI assistants read and update a user's connected health and fitness data.
Log, list, update, and delete meals, including saved recipes, hydration, caffeine, and nutrient estimates.
Log and review workouts, runs, rest/sick/travel days, exercise history, saved workouts, and training locations.
Read and log wearable metrics, sleep, body composition, lab results, injuries, wellbeing, supplements, recovery sessions, and cycle records.
Manage goals, personal context memories, supplement/recovery routines, and custom nutrient targets.
Generate interactive widgets for health overview, training, Fit Score, macros, meal diary, sleep, steps, weight/body composition, recovery, runs, exercise progression, and wellbeing.
Run read-only deep SQL analysis across full health history and retrieve nutrient summaries, history, contributors, app guidance, and blog posts.
Use OAuth 2.1 with dynamic client registration; every request is scoped to the authenticated user's account.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Wellness Project MCP What was my resting heart rate trend this quarter?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Wellness Project MCP
Bring connected health and fitness data into Claude, ChatGPT, Gemini Spark, Gemini CLI, Grok, Mistral, and other MCP clients. Wellness Project is a hosted Model Context Protocol server. Your devices and logs sync into one account, and supported assistants can read or update workouts, nutrition, sleep, recovery, body metrics, goals, labs, wellbeing, and more in plain English.
This repository is the public documentation and catalog for the hosted server. It is not a self-hosted backend and contains no private server implementation.
MCP endpoint:
https://wellnessproject.ai/api/mcp85 advertised public tools generated from the production tool registry
15 active interactive widgets for compatible MCP Apps UI clients
OAuth 2.1 authentication with Dynamic Client Registration
What you can ask
Once connected, ask naturally and the assistant can call the matching Wellness Project tool:
"How did my training look this week?"
"Show my sleep for the last month."
"How is my bench progressing?"
"Log today's lunch: chicken burrito bowl, about 700 calories."
"What was my resting heart rate trend vs my HRV this quarter?"
"How am I doing against my goals?"
"Log 16 ounces of water."
Read tools return your logged and synced health data. Write tools add, update, or delete entries when you ask. Widget tools can render structured interactive views instead of a wall of numbers.
Related MCP server: health-mcp
Connect Wellness Project to an MCP client
First create an account at https://wellnessproject.ai and connect the health sources you want under Settings → Devices. Every client below uses the same hosted endpoint:
https://wellnessproject.ai/api/mcp
Authentication is handled by OAuth. Personal API keys are not part of the current public connection flow.
Claude
Open Claude on the web.
Go to Customize → Connectors → Add custom connector.
Paste
https://wellnessproject.ai/api/mcp.Leave Client ID and Client Secret blank if Claude shows those fields. Claude can register itself dynamically.
Sign in to Wellness Project and authorize the connection.
Claude Code
Claude Code installs Wellness Project as a plugin. The plugin carries nothing but this server's configuration and a setup skill.
/plugin marketplace add turnnoblindeye/wellness-project-mcp
/plugin install wellness-projectRestart Claude Code, then run /mcp, select wellness-project, and authorize.
There is no client ID, client secret, or API key to enter. Run
/wellness-project:setup if you would rather be walked through it.
Gemini CLI
Wellness Project is listed in the official Gemini CLI Extensions Gallery. Install the extension from this public repository:
gemini extensions install https://github.com/turnnoblindeye/wellness-project-mcpRestart Gemini CLI, then run /mcp list to check for the wellness-project server. If authentication is needed, run /mcp auth wellness-project and sign in to Wellness Project in your browser. After authorization, ask Gemini about your workouts, nutrition, sleep, recovery, or goals, or request a log update.
This connects to the hosted MCP endpoint, so no local server or personal API key is needed. Gemini CLI's OAuth flow requires a browser and access to a localhost callback. See Gemini CLI's MCP authentication documentation for details.
Cline
Cline connects to Wellness Project as a remote MCP server. Nothing is cloned, installed, or run locally.
Open the MCP Servers icon in the Cline sidebar and choose Remote Servers.
Enter a server name, for example
wellness-project.Paste
https://wellnessproject.ai/api/mcpas the server URL and add it.Complete the Wellness Project OAuth flow when Cline opens it in your browser.
To edit cline_mcp_settings.json directly instead:
{
"mcpServers": {
"wellness-project": {
"type": "streamableHttp",
"url": "https://wellnessproject.ai/api/mcp",
"disabled": false,
"autoApprove": []
}
}
}Set "type": "streamableHttp" explicitly. Cline falls back to the legacy SSE
transport when the type is omitted. There is no client ID, client secret, or API
key to enter. llms-install.md has the same steps written for
an agent doing the setup.
ChatGPT
ChatGPT custom MCP apps use developer mode. Current OpenAI availability is plan-dependent: full MCP support including write/modify actions is available in beta for Business, Enterprise, and Edu, while Pro can connect MCPs with read/fetch permissions in developer mode.
Enable developer mode for your account or workspace as permitted by your ChatGPT plan.
Create a custom MCP app from ChatGPT's Apps settings.
Use
https://wellnessproject.ai/api/mcpas the remote MCP server.Complete the Wellness Project OAuth flow.
OpenAI's current setup and plan details: https://help.openai.com/en/articles/12584461
Gemini Spark
Custom MCP apps require Gemini Spark access and are added from the Gemini web app.
Go to https://gemini.google.com.
Open Settings & help → Connected Apps. If needed, open Personal Intelligence → Connected Apps first.
Under Custom apps for Spark, choose Add a custom app.
Enter
https://wellnessproject.ai/api/mcpand click Next.Complete the Wellness Project OAuth flow.
Google's current eligibility and availability rules: https://support.google.com/gemini/answer/17209137
Grok
Go to https://grok.com/connectors and choose New Connector → Custom.
Paste
https://wellnessproject.ai/api/mcp.Leave Client ID and Client Secret blank if those fields appear.
Complete the Wellness Project OAuth flow.
Grok connector availability may depend on your Grok plan.
Mistral Le Chat
In Le Chat, open Intelligence → Connectors → Add Connector → Custom MCP Connector.
Paste
https://wellnessproject.ai/api/mcp.Leave Client ID and Client Secret blank if those fields appear.
Complete the Wellness Project OAuth flow.
Workspace permissions may require an owner or admin to add a connector.
Demo
A short screen recording of the Wellness Project connector running inside ChatGPT:
Interactive widgets
Fifteen active tools render interactive views through the MCP Apps UI extension in compatible clients:
Ask | Widget tool |
"Give me a health overview" |
|
"How did my Fit Score look?" |
|
"Show my workouts" |
|
"Show that workout" |
|
"Show my macros" |
|
"Show my meal diary" |
|
"How's my sleep trending?" |
|
"Show last night's sleep" |
|
"Steps this week?" |
|
"My weight trend" |
|
"Show my body composition" |
|
"Recovery trend" |
|
"How's my running?" |
|
"How's my bench progressing?" |
|
"Show my wellbeing" |
|
Many trend widgets support multiple time ranges; detail widgets use the date or record relevant to the request.
Tool catalog
The complete production-generated list of 85 advertised public tools, grouped by domain, is in TOOLS.md. The machine-readable descriptions, annotations, and JSON Schemas are in catalog/tools.json.
Both files are generated from the same production tool registry used by tools/list. Admin-only tools and retired tools that remain callable only for older cached clients are not advertised in this catalog.
Do not edit the generated catalog by hand.
Data sources and integrations
Wellness Project combines native mobile health stores, direct integrations, relay sources, and manual/chat logging.
Source | Current support |
Apple Health | Native iOS health and fitness sync |
Google Health Connect | Native Android health and fitness sync |
Fitbit / Google Health | Activity, sleep, heart, workout, body, and nutrition data when available |
Oura | Sleep, readiness/recovery, heart, and activity data |
Withings | Body, sleep, activity, heart, blood pressure, and other supported health data |
Wyze | Supported Wyze health data |
Hevy | Strength workout history via direct integration |
Ultrahuman | Ring data and supported metabolic/CGM data |
Liftosaur | Strength workout history via direct integration |
Polar | Activity, sleep, recovery, heart, and training data |
WHOOP | Direct integration is rolling out behind availability gating |
Manual / chat | Workouts, meals, hydration, body metrics, labs, injuries, supplements, goals, wellbeing, and more |
Garmin, Samsung Health, Amazfit/Zepp, Coros, Wahoo, Strava, Peloton, smart scales, and other compatible sources can also reach Wellness Project through Apple Health or Health Connect when those services write the relevant data there.
Pricing and status
Pricing below reflects the current production configuration as of September 7, 2026. Local app-store pricing may vary.
Plan | Price | Status |
Free Basic | $0 | Logging and editing remain free; starting October 15, 2026, Free includes 3 analysis questions per day |
Founder Pro monthly | $4.99/month | Founder pricing through October 15, 2026 |
Founder Pro annual | $39.99/year | Founder pricing through October 15, 2026 |
Founder Lifetime | $199 one-time | Limited founder option, sunsetting |
Pro monthly | $9.99/month | Standard pricing |
Pro annual | $99.99/year | Standard pricing |
Privacy and auth
The public MCP endpoint uses OAuth 2.1; supported clients can register dynamically.
Every MCP request is scoped to the authenticated Wellness Project account.
Row-level security protects user-owned records in the data layer.
Connector access can be revoked without self-hosting or rotating a long-lived personal API key.
Wellness Project is informational software, not a medical product.
FAQ
Do I have to self-host anything?
No. https://wellnessproject.ai/api/mcp is the hosted production server. This GitHub repository publishes documentation and schemas only.
Does the same endpoint work across AI assistants?
Yes. Claude, eligible ChatGPT accounts/workspaces, Gemini Spark, Gemini CLI, Grok, Mistral, and other compatible remote MCP clients can use the same endpoint. Client-side MCP availability and permissions vary by product and plan.
Is Wellness Project free?
Free Basic is available. Paid Founder Pro and standard Pro plans add analysis capacity and other paid capabilities; current pricing is listed above.
Is my health data private?
MCP access requires an authenticated OAuth grant and each tool operates on the signed-in user's account. You can revoke connector access when you no longer want a client connected.
Related
Works with Wellness Project: https://wellnessproject.ai/works-with
Connect Apple Health to Claude: https://wellnessproject.ai/integrations/apple-health-to-claude
Fitbit MCP: https://wellnessproject.ai/integrations/fitbit-mcp
Claude integration: https://wellnessproject.ai/integrations/claude
ChatGPT integration: https://wellnessproject.ai/integrations/chatgpt
License
The tool catalog and schemas in this repository are published under the MIT License so MCP clients and directories can reference them freely. "Wellness Project" and the app itself remain the property of Wellness Project LLC. See NOTICE for the scope of the grant.
Available Tools
85 toolsadd_or_update_personal_contextAInspect
Add a new Personal Context memory, or update an existing one by id. A memory is 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"). Use list_personal_context first to check whether an existing memory already covers the subject, and pass its id with operation update rather than creating a duplicate.
Health history does not belong here. Injuries, lab results, meals, workouts, sleep and body metrics each have their own dedicated tools that store them as structured data the app can chart and reason over; writing any of them as a memory duplicates that record and degrades it to loose text.
This writes immediately with no separate approval step. Free accounts are capped at 3 memories and Pro accounts at 50; updating an existing memory by id is always allowed even at the cap. There is no delete or bulk-write capability here.
Inputs: content (required), operation (required), memory_id. Returns: result
cancel_rest_dayADestructiveIdempotentInspect
Remove a previously declared Rest Day, Sick Day, or Travel Day status.
INFER — do not ask:
date: parse the user's reference; default to today.
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 new Wellness Project goal or standard target. Call this directly when the user wants to establish a goal; there is no schema-discovery or list_goals prerequisite. Available goal types and inputs come from the canonical Goals definitions.
This tool loads the user's current goals itself before writing, so do not call list_goals first: it reports what a standard target changed from, and refuses to stack a second goal on top of one that already covers the same thing, naming that goal's ID to use with update_goal. Infer the goal_type and canonical inputs from the request. Formal goal fields are described on the generated inputs.
WEIGHT INPUTS: For body_weight_target_lb, use target_value_lb. For body_comp metric lean_mass_lb, use start_value_lb and target_value_lb. These aliases are unit-aware; in-app calls use the preferred unit, while external calls use pounds unless input_weight_unit is set. Legacy generic fields for these weight goals remain canonical pounds. Other standard targets use target_value; body-fat values remain percentages.
Inputs: goal_type (required), title, weeks, metric, +27 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) use the focused tool. mode=discover: 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. 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. wearable_daily, sleep_log, body_metrics, runs hold the app's resolved value per day; *_by_source hold raw per-device rows. Dates are YYYY-MM-DD. Timestamp tables (hydration, caffeine, doses, cardiac events) are UTC: group and filter them by local_date. glucose_readings_daily and hydration_entries_daily are one row per local day and source: use them for long ranges; if a raw 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 delete if the user explicitly asks to remove a specific record. Do not delete to "fix" a record — use update_cycle instead.
SELECTOR — pass id if known, or date (the period's start date, or any date that falls within it) to resolve it. Exactly one required. If date matches more than one record, the call errors with candidate IDs to retry with.
Inputs: id, date. Returns: result
delete_injuryADestructiveIdempotentInspect
Permanently delete an injury entry. Also removes all severity history for that injury.
SELECTOR — pass id if known, or injury (a body part or injury type substring, case-insensitive, e.g. "shoulder") optionally narrowed by date (an injury active on that day). Exactly one of id or injury required. If injury matches more than one entry, the call errors with candidate IDs to retry with.
Inputs: id, date, injury. Returns: result
delete_lab_resultADestructiveIdempotentInspect
Permanently delete one or more lab results. Use when the user explicitly asks to remove or delete a logged lab result. Never guess a selector.
SELECTOR, pass exactly one of id, date, date+marker, or draw_id:
id: deletes a single marker's row.
draw_id: deletes every result sharing that draw_id at once, unambiguous by construction. Irreversible.
date (optionally narrowed by panel_name): deletes every result from that draw at once, but ONLY when exactly one draw exists on that date — see AMBIGUITY below. 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 (a marker-name substring, case-insensitive, optionally narrowed by panel_name): resolves to and deletes one marker's row, same as id. Errors with candidate IDs if more than one marker on that date matches.
AMBIGUITY: a bare date (optionally + panel_name) selector is rejected, with nothing deleted, if it would match more than one physical draw — 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 when the user explicitly asks to remove or delete a logged meal.
FIND THE MEAL: pass id if already known. Otherwise pass date (YYYY-MM-DD, defaults to today) and, only if more than one meal was logged that day, name (a substring of the food description, case-insensitive) to narrow it down. This action is irreversible — a match that isn't exactly one meal returns an error explaining why, with nothing deleted; 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. Do not issue a separate hydration delete.
CAFFEINE: caffeine sidecars linked to this meal are deleted by the database in the same food-row delete. Do not call a separate caffeine delete tool.
Inputs: id, date, name. Returns: result
delete_recovery_sessionADestructiveIdempotentInspect
Permanently delete a recovery session log entry. This action is irreversible. If the user's intent is ambiguous, ask which session to remove.
SELECTOR — pass id if known, or session_date (+ optional session_category to narrow) to resolve it. Exactly one of id or session_date required. If it matches more than one session, the call errors 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 when the user wants to remove a run entry. ASK for confirmation if the user's intent is ambiguous.
SELECTOR — pass id if known, or date (+ optional distance_mi to narrow, matched approximately within 0.25 mi) to resolve it. Exactly one of id or date required. If it matches more than one run, the call errors with candidate IDs to retry with.
Inputs: id, date, distance_mi, input_distance_unit. Returns: result
delete_wellbeingADestructiveIdempotentInspect
Permanently delete a wellbeing entry.
SELECTOR — pass id if known, or date (any day within the entry's period) to resolve it. Exactly one of id or date required. If date matches more than one entry, the call errors with candidate IDs to retry with.
Inputs: id, date. Returns: result
delete_workoutADestructiveIdempotentInspect
undefined Permanently delete a workout session and all its exercises and sets. Use when the user wants to remove a logged workout entirely.
FIND THE SESSION: call directly, no preliminary list for an ID. Pass session_id if already known. Otherwise pass session_date (YYYY-MM-DD, defaults to today) and, only if more than one session was logged that day, name (a substring of the workout's focus/type, e.g. "Push" or "Leg Day", case-insensitive) to narrow it down. This action is irreversible and removes the session, all supersets, and all sets — a match that isn't exactly one session returns an error explaining why, with nothing deleted; retry with session_id or a narrower name, never guess.
SAVED WORKOUTS: pass saved_workout_id to delete a reusable Saved Workout instead of completed workout 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
Look up everything the user has done for ONE exercise: all-time PR plus recent performance, across many sessions.
USE FOR:
PR lookups — "what's my bench PR?", "have I ever squatted 315?". Returns the est. 1RM PR and the exact set it came from (date, weight, reps, RPE, banded vs unbanded, superset siblings, notes), plus rep-range bests (1RM/3RM/5RM/10RM). Banded and unbanded PRs are shown side-by-side when both exists.
Recent-activity questions — "how has my squat been lately?", "when did I last deadlift?". Returns the most recent N sessions containing the exercise, formatted like get_workout.
Trend questions — "am I getting stronger on incline DB press?". Includes a one-line delta of current best vs ~30-90 days ago.
NOT for a full session (every exercise in one workout — use get_workout) or a date-window list regardless of exercise (use list_workouts).
INFER — do not ask: exercise_name (take the user's words; resolves to canonical, or says so if never logged), recent_limit (default 10 sessions), since_date (optional — narrows only the Recent block; the PR is always all-time).
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 for "what gave me most of my sodium today" or "what's driving my potassium this week".
INFER -- do not ask:
date: default to today (resolved in the user's own timezone)
days: default to 1 (just
date); set higher for a range ending ondatelimit: default to 10
nutrient is required and 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 regardless of format. 'verbose' always uses key/unit and keeps unit on every contributor, as before.
DATA COMPLETENESS: totals are sums over the logged items that carry a value for that nutrient; coverage tells how many did. Say "based on foods with X data" when coverage is partial; never call a low intake a deficiency; intake is not a lab result; supplement vs food split is reported separately. A daily supplement counts on every day it's active by default -- the user isn't 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 for "show my vitamin D over the last month" or "am I usually over on sodium". Only dates with logged data are returned.
INFER -- do not ask:
days: default to 30
end_date: default to today (resolved in the user's own timezone)
nutrient is required and 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 regardless of format. 'verbose' always uses key/unit, as before.
DATA COMPLETENESS: totals are sums over the logged items that carry a value for that nutrient; coverage tells how many did. Say "based on foods with X data" when coverage is partial; never call a low intake a deficiency; intake is not a lab result; supplement vs food split is reported separately. A daily supplement counts on every day it's active by default -- the user isn't 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 for "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 to today (resolved in the user's own timezone)
days: default to 1 (just
date); for a range, set days to the number of days ending ondate(e.g. "this week" -> days=7)nutrients: default to every nutrient with logged data this period, excluding amino acids (those are rarely tracked and would crowd out the rest). Ask for specific nutrients by name (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 reports that day's totals; days>1 reports 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 are the dictionary's below -- never repeat a nutrient's name or unit back to the user 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, so 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 instead, as before.
NUTRIENT ID DICTIONARY (id=name, unit per the id; also used by get_nutrient_history/get_nutrient_contributors's id field):
undefined
DATA COMPLETENESS: totals are sums over the logged items that carry a value for that nutrient; coverage tells how many did. Say "based on foods with X data" when coverage is partial; never call a low intake a deficiency; intake is not a lab result; supplement vs food split is reported separately. A daily supplement counts on every day it's active by default -- the user isn't 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. The profile only contains recipe TITLES; never conclude stored macros are unavailable from that. Supply recipe_id for an exact ID, or name for a case-insensitive partial title search. With neither, list up to 50 recent recipe names and IDs, then look up the chosen one. Multiple partial matches return candidates, not guessed nutrition. All values are the user's stored per-serving facts; absent values are unknown, not zero.
Inputs: name, recipe_id. Returns: result
get_workoutARead-onlyIdempotentInspect
Retrieve full detail of a workout session: exercises, sets, reps, weights, superset groupings, heart points, notes, and NSI scoring at every grain. Use for detailed questions about a past workout, reviewing training before recommendations, confirming what was logged, or comparing a session to population strength standards.
NSI: session NSI/rating in the header; 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 to see which set drove the exercise score.
EQUIPMENT: shown per exercise when every set shares a tag, else per set; missing means untagged. A wrong or missing tag on a dumbbell exercise silently halves or doubles its NSI score — fix it via 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: pass saved_workout_id to read a reusable Saved Workout prescription. Do not 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. Only call when the user explicitly asks about the blog or what an advisor has written; don't 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 when the user asks for actual BP readings, their times, sources, or changes within a day. Use list_wearable_data for daily summaries. Dates use the user's local timezone; defaults to the last seven calendar days, maximum 31 days. Returns at most 400 observations; narrow the date range if exceeded. Only recorded pairs are shown, with 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 within a date range. Use when the user asks about their weight history, body fat trend, or any body metrics over time.
Maximum range: 31 days per call. For longer periods, make multiple calls with sequential date ranges.
INFER — do not ask:
start_date: default to 30 days ago
end_date: default to today
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 for caffeine history or today's total. Supports up to 366 days per call; daily totals cover every dose in the range, while the dose list shows the 200 most recent and says how many it omitted.
INFER: from/to default to the last 14 local calendar days through today.
Inputs: to, from. Returns: result
list_cycleARead-onlyIdempotentInspect
List the user's logged period records within a date range. update_cycle and delete_cycle can resolve a record on their own from date, so this is no longer required before either — use it when the user asks about their cycle history, or get an id after an ambiguous update_cycle/delete_cycle match.
INFER — do not ask:
start_date: default to 6 months ago
end_date: default to today
Inputs: end_date, start_date. Returns: result
list_exercisesARead-onlyIdempotentInspect
Returns every canonical exercise in the library as "Name [id]", grouped by primary muscle. lookup: before logging, adding or renaming exercises when canonical names are not already known. Metadata/set-value edits: no catalog lookup. Canonical names and ids ensure proper exercise tracking and NSI score calculation.
Inputs: no named parameters. Returns: result
list_glucose_readingsARead-onlyIdempotentInspect
Read actually measured, timestamped blood glucose readings imported from Health Connect or Ultrahuman, using the user's glucose unit setting. Use meal_id to compare a recorded meal time with observed readings in the 30 minutes before and two hours after eating (or choose context minutes); an untimed meal cannot be compared. Use workout_id for before/during/after-workout readings with its EXACT stored started_at and duration_sec. Otherwise use a bounded UTC-offset timestamp range (default last six hours, maximum 48 hours). meal_id, workout_id and a direct range are mutually exclusive. Returns at most 400 measured points: narrow the range if the limit is exceeded. Missing readings remain unknown, never zero or interpolated. Time alignment is correlation only, not evidence 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
Analyze or show the user's current and past goals. Returns active/paused formal goals, completed/historical formal goals, and current standard targets.
Use this when the user asks what goals they have or asks to review/analyze their goals. Pass include_capabilities: true ONLY when the user asks what kinds of goals Wellness Project supports; it appends the full catalog of goal types and their inputs, which is large. Do not call this tool merely to obtain an ID before create_goal or update_goal; those write tools resolve current goals themselves.
Inputs: include_capabilities. Returns: result
list_hydrationARead-onlyIdempotentInspect
Review hydration events and stored effective hydration totals. Use when the user explicitly asks about hydration history or fluid intake. Hydration tracking must already be enabled in Settings. Maximum range 31 days. Defaults to the last 7 days.
Inputs: end_date, start_date. Returns: result
list_injuriesARead-onlyIdempotentInspect
List injuries from the injury log. update_injury and delete_injury can resolve an injury on their own from injury (+ optional date), so this is no longer required before either — use it to review the injury log, answer questions about injury history or rehab progress, or get an id after an ambiguous update_injury/delete_injury match. Defaults to active and monitoring injuries.
INFER — do not ask:
status: default to showing Active and Monitoring; use 'all' to include Resolved; use 'Resolved' for history only.
Inputs: status. Returns: result
list_lab_markersARead-onlyIdempotentInspect
Returns LOINC-coded markers in the reference library: canonical name, LOINC code, panel, typical unit, and common aliases. Call this BEFORE log_lab_results to match user-provided marker names to canonical entries — same pattern as list_exercises for workouts. Prevents name drift and ensures trending works across lab visits.
With no arguments it returns the original full catalogue. For specific markers use query or panel. To retrieve the whole catalogue without client truncation, use 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 within a date range, including each result's ID. update_lab_result and delete_lab_result can resolve a result on their own from date (+ optional marker or panel_name), so this is no longer required before either — use it to review lab history, answer questions about blood work trends or specific marker values over time, or get an id after an ambiguous update_lab_result/delete_lab_result match. Optionally filter by panel or marker name.
INFER — do not ask:
start_date: default all time (labs are sparse)
end_date: default to today
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 all meals logged for a date or date range, including each meal's ID, date, recorded local time (when known), type, food description, and macros. Use the IDs with list_glucose_readings.meal_id for observed before/after-meal glucose; do not assume a time for untimed rows. update_meal and delete_meal can resolve a meal on their own from date (+ optional name substring), so this is no longer required before either — use it to answer "what did I eat today/this week/yesterday?", review what has been logged, or get an id after an ambiguous update_meal/delete_meal match.
Maximum range: 31 days per call. For longer periods, make multiple calls with sequential date ranges. A meal marked "excluded from totals" is an imported meal from an implausible day: it is listed so it can be edited or deleted, but it is not in that day's calories or macros.
INFER — do not ask:
date: default to today
end_date: if the user asks about a week or range, set end_date to cover the full period (e.g. "this week" → date=Monday, end_date=today; "last 7 days" → date=7 days ago, end_date=today). For a single day, omit end_date.
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) within a date range, each with its ID. list_recovery_strategies only returns the recurring strategies (the schedule), never the individual logged entries against them — this is the only way to see those.
update_recovery_session and delete_recovery_session can resolve a session on their own from session_date (+ optional session_category), so this is no longer required before either — use it to answer "what recovery sessions have I logged", audit/spot-check 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 get an id after an ambiguous update_recovery_session/delete_recovery_session match.
INFER — do not ask:
start_date / end_date: default to the last 30 days. Widen the range yourself for an older lookup instead of asking the user for exact dates.
category: omit to return every category.
Maximum range: 90 days per call. To audit or correct a longer history, make multiple sequential calls walking backwards (days 0-90, then 90-180, then 180-270...) until you have covered the period the user means. Don't 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. Use when the user asks about their recovery practices, mindfulness routines, or you need strategy IDs before logging a session.
INFER — do not ask:
filter: default to 'active'; use 'all' for history; use 'historical' for ended strategies only.
Returns each strategy's id, name, category, schedule, start_date, and end_date.
Inputs: filter. Returns: result
list_rest_daysARead-onlyIdempotentInspect
List user-selected Rest Day, Sick Day, and Travel Day context within a range. Use this to understand why a date may have no workout or why recovery, sleep, or nutrition data may look unusual. Travel Day is context-only and can coexist with training.
INFER — do not ask:
start_date: default to 30 days ago
end_date: default to today
Inputs: end_date, start_date. Returns: result
list_runsARead-onlyIdempotentInspect
List runs within a date range, or return full saved detail for one run when run_id is provided. Range reads stay compact and return a Runner State summary first. A run_id read returns that run's stored splits and structured segments plus the detailed metrics Elias needs for interval analysis. Individual run reads expose structured min_hr, hr_series (minute averages, at most 600 points), hr_zones and reported_avg_pace_sec_per_mi, plus recorded_detail with heart rate, laps and device metrics the run page shows.
DETAILED RANGE: at most 92 days, defaulting to the last 7 days. For totals over any range or all history, use aggregate with a numeric field (except when counting sessions). The aggregate mode returns compact summaries, bypasses the detailed-list date cap, and can 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 within a date range. Overnight entries include duration, Wellness Project sleep score, the source's own sleep score when recorded, stages, and timezone-aware bedtime/wake times. Naps are listed separately with duration and start/end times; they never increase the overnight total or score.
Maximum range: 31 days per call. For longer periods, make multiple calls with sequential date ranges.
INFER — do not ask:
start_date: default to 14 days ago
end_date: default to today
Inputs: end_date, start_date. Returns: result
list_supplementsARead-onlyIdempotentInspect
List the user's medication/supplement stack and schedules. For questions comparing supplements with sleep, HRV or other metrics, or asking which days items were taken or missed, set include_adherence=true to read recorded daily check-ins.
INFER — do not ask:
filter: default to 'active'; use 'all' for prior periods or ended supplements; 'historical' for ended items only.
category: omit for both categories.
Daily check-ins: maximum 31 days per call; request consecutive windows for longer history. A missing entry means unlogged, NOT missed. Each item includes its id, name, dose, schedule and start/end dates.
Inputs: filter, category, end_date, start_date, +1 more. Returns: result
list_wearable_dataARead-onlyIdempotentInspect
List daily wearable data (steps, daytime resting HR, sleeping resting HR (estimated), overnight minimum HR, provider RHR, HRV, Zone Minutes / AZM including the vigorous-intensity breakdown, VO2max, calories eaten / dietary energy, calories burned / active energy / total energy expenditure, maintenance calories / TDEE, stress, and physiological vital signs reported by connected sources or manual overrides) within a date range. Use when the user asks about their step count, heart rate, HRV trends, vigorous minutes, calories eaten / dietary energy, calories burned, active or total energy expenditure, maintenance calories, TDEE, cardio fitness, blood glucose, vital signs, or any wearable metrics over time.
Zone Minutes (a.k.a. Active Zone Minutes) are shown as a daily total plus, when the per-zone breakdown is available, a moderate (1 pt/min) vs vigorous (2 pts/min — Cardio + Peak zones) split. The zone boundaries are personalized to the user's own resting and maximum heart rate, so they are not a fixed BPM.
Calories burned per day shows active + resting where both are known; when a device reports active energy with no resting figure, a resting estimate is derived from the user's profile BMR and labelled an estimate, never shown as measured. A trailing Maintenance (TDEE) line reports current maintenance calories and which method produced it (formula estimate vs. logged weight trend), or names the missing profile fields when TDEE can't be computed.
Maximum range: 31 days per call. For longer periods, make multiple calls with sequential date ranges.
INFER — do not ask:
start_date: default to 14 days ago
end_date: default to today
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 log entries within a date range. update_wellbeing and delete_wellbeing can resolve an entry on their own from date, so this is no longer required before either — use it to answer questions about mood, energy, stress, or soreness trends over time, or get an id after an ambiguous update_wellbeing/delete_wellbeing match.
Maximum range: 31 days per call. For longer periods, make multiple calls with sequential date ranges.
INFER — do not ask:
start_date: default to 14 days ago
end_date: default to today
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. Day context is returned even when that date has no workout. Treat context labels as explanatory context, not workouts; Travel Day can coexist with training.
Use before get_workout to find a session ID, or to answer training-history questions. Each workout row includes ID, date, focus type, location, and session-level NSI with rating.
DATE RANGE: detailed listings read 90-day slices, with an explicit range limit of 3660 days. Aggregates have no date range limit.
ALL HISTORY: when the user asks for "all", "ever", or their full workout history, set all_history=true. The tool finds the earliest stored workout (respecting activity_type when supplied). For detailed listings, older history beyond 3660 days is reported but not listed. Aggregates cover all stored history.
OUTPUT BOUND: detailed listings emit at most 250 workouts. For totals, averages, minimums, maximums, or counts over any period, set aggregate plus field (except count), and optionally group_by. The aggregate mode reads all matching records in pages and returns only numeric summaries. A count of sessions (aggregate=count without field) is the canonical physical workout count across runs and workout_sessions, excluding walking unless enabled. Other numeric aggregates are measurements of stored workout_sessions rows. Never add up a capped listing.
FILTERS: activity_type matches the stored workout focus type case-insensitively. exercise_name keeps only sessions containing that exercise in workout sets. Use activity_type for imported modalities such as Stair Stepper; use exercise_name for strength-history questions. Both filters may be combined.
INFER: default start_date to 7 days ago, end_date to today. User-specified dates or years are authoritative. Widen freely for the period the user actually requested.
SAVED WORKOUTS: set saved_workouts=true to list the user's reusable Saved Workouts library instead of completed workout 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 given date. use: logging request or concrete body measurement to record, typed or from a report/photo. Question/hypothetical alone: no write.
PROACTIVE DATA COLLECTION: If the user hasn't shared their data yet, ask them to copy-paste the output from their scale app or upload a photo of the display — this lets you parse all fields at once instead of asking one by one.
INFER — do not ask:
date: default to today; infer from context ("this morning", "yesterday")
derived fields (lean_mass_lb, fat_mass_lb): calculate from weight and body fat % if possible — lean = weight × (1 - bf%/100), fat = weight × bf%/100
The *_pct fields are percentages 0-100. The *_in fields are manual tape measurements, not bioimpedance scale readings.
BMI is not a field here. It is derived automatically at read time from the user's canonical height and their resolved weight for the day -- never ask the user for BMI, and never try to log it.
Every field except date is optional; log any subset. One row per day. Calling this tool twice on the same date updates the existing entry (upsert).
DELETE: action='delete' with date and 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. 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. The reply lists exactly what was cleared. Other value fields are ignored. It cannot remove readings a connected scale or app imported: those come back on the next sync, so tell the user to delete them in that app. ASK for confirmation if the user's intent is ambiguous.
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 when 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:
start_date: default to today
severity: estimate from description (minor twinge=2-3, moderate pain=5-6, severe/acute=8-9)
status: default to 'Active' for new injuries
affected_movements: infer from body part and injury type (e.g. shoulder strain → pressing, overhead)
side: infer from description if mentioned (e.g. "right shoulder" → Right)
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: use this tool for glucose 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 — belongs in log_wearable as blood_glucose_mg_dl, not here.
REQUIRED WORKFLOW: 1) call list_lab_markers for canonical names and LOINC codes. 2) for each marker the user provides, find the best match and use its canonical marker_name and loinc_code. 3) if no match exists, use the name as stated and omit loinc_code.
If the user says they have lab results but hasn't shared them, prompt: "You can paste the text from your lab report PDF, or upload a photo of the results page — 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 only 'fasting' or 'non_fasting' 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 the draw being in the morning — omit the field (leaves it unknown) whenever it wasn't stated. report_date (when the lab reported results, if given separately from the collection date) and draw_id (only when the user is adding a marker to a draw already logged in this conversation) are also optional, omit otherwise.
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"). For an attached meal photo with <photo_capture_times>, use that photo's local date unless the user explicitly states a different date.
meal_time: for an attached meal photo with <photo_capture_times>, send that photo's local HH:MM unless the user explicitly states a different time/date. User-stated timing always wins. Otherwise omit unless the user gave a real clock time.
meal_type: when meal_time is supplied, OMIT meal_type unless the user's wording explicitly names or clearly anchors a category; the server assigns the category from meal_time. Without meal_time, for a current-day plain meal/food log omit meal_type and let the server assign it 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 meal_type when the user's wording explicitly names or clearly anchors a category ("breakfast", "for lunch", "post-workout shake"), or when backdating and neither capture time nor another honest clock signal exists.
MACRO SOURCE: strongest evidence wins. Never replace known stored macros with a fresh estimate.
REPEATS (unless a saved recipe is clearly invoked): if 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. If one row unambiguously matches, reuse its stored calories/protein_g/fat_g/carbs_g/alcohol_g and scale by the quantity ratio when the row's quantity is known. If the match or quantity is ambiguous, ask instead of re-estimating. If nothing matches, continue below.
SAVED RECIPES: referenced or selected? YES -> ALWAYS pass recipe_name (saved title) and recipe_multiplier (0.5 for half). Use stored recipe nutrition x portion deterministically; 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: for a branded, restaurant, or specific product, use published macros for the stated size/variant before a generic estimate.
Otherwise estimate every macro from the food description. Never ask the user for macros.
MACROS: final stored meal must contain calories, protein_g, fat_g and carbs_g. recipe_name supplies stored core values; estimate and pass only missing core values or explicit changes. Without a recipe, pass food_items and those four. No partial core macros or placeholders. Saturated fat and fiber are expanded nutrients, never required for log_meal. Pass saturated_fat_g/fiber_g only when already known from strong evidence; otherwise omit them. When expanded nutrient tracking is enabled, the gated nutrient estimator can fill them; when disabled they remain unset. 0 is a real value only when the food truly contains none of that nutrient. Ask only if food_items are absent and no recipe_name applies.
FASTING: if the user ate nothing / fasted all day, log one "Fast day" Snack with every macro 0.
ESTIMATE: pass a compact 3-line block estimating every one of the app's undefined tracked nutrients for the food, in exactly this format, no prose before or after: items::|:|... macros:;<protein_g>;<carbs_g>;<fat_g>;<alcohol_g> nutrients:1:;2:;...;undefined: Estimate all undefined nutrients. Always return all undefined IDs. Never omit one because you are uncertain -- use your best reasonable estimate from the likely food, quantity, ingredients, preparation and comparable foods; 0 only when a nutrient is reasonably expected to be negligible. Which id is which nutrient, and its unit, is the dictionary on the estimate param. Omit for an unchanged saved recipe; with added_food_items, estimate that addition only. Otherwise supply when available; the server estimates missing values.
DUPLICATES: if this tool returns a duplicate error, tell the user what's already logged and ask whether this is a separate serving (retry with force=true) or should update the existing entry instead (update_meal with adjusted values).
DRINKS / HYDRATION: this is the single write path for consumed drinks too. Known or reasonably inferable drink volume (tea, coffee, milk, juice, shakes, smoothies, etc.) → always report fluids, even if also contributes calories/macros/alcohol. Food moisture → omit. The server decides whether hydration tracking is enabled; never use a separate hydration write tool. A plain fluid-only intake may omit food_items and macros and send only fluids. For alcoholic drinks, include that drink's alcohol_g in its fluid item; if there is exactly one drink, the top-level alcohol_g can stand in.
CAFFEINE / DRINKS: this is the single assistant write path for caffeine too. Drinks only; exclude food moisture. When the user consumed a drink and its volume is known or reasonably inferable, include it in fluids so hydration is recorded; if the drink is caffeinated, include caffeine in the same call too. Do not leave a known-volume drink only in food_items. Each caffeine item needs caffeine_mg and may optionally include source_type. The date comes from the intake date. Preserve exact user-provided milligrams; for vague coffee/tea/energy-drink/pre-workout descriptions, estimate caffeine with the same nutrition-estimation judgment used for meal macros. Never use separate hydration or caffeine write tools. A 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 when the user says they did (or skipped) a breathing exercise, meditation, cold plunge, sauna, stretching, or any recovery practice. Also use for one-off standalone sessions not linked to a recurring strategy.
INFER — do not ask:
date: default to today
category: infer from the practice name
strategy_name: use the strategy name if linked, or the user's description
duration_minutes: infer if mentioned (omit for skipped sessions)
quality: only include if the user rates it (1-5 scale)
skipped: true when the user says they skipped, missed, or didn't do a session; false (default) for completed sessions
PREFERRED WORKFLOW: call list_recovery_strategies first to link the session to an active strategy for adherence tracking. If no matching strategy exists, 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. Use Rest Day when the user intentionally takes the day off training, Sick Day when they say they are sick/recovering, and Travel Day when they say they are traveling. This context is visible to the AI team and workout-history reads.
Rest/Sick retain 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: parse the user's reference; default to today
day_type: infer rest, sick, or travel from the user's wording; default to rest
Calling again on the same date updates the status in place. To remove the status, use 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: use log_run only for running on foot. A bike/cycling ride, walk, or rowing session is not a run even when it has distance and duration. For those, 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 for a completed run OR a future run plan.
intent:
log (default): the run happened. date, distance_mi and duration_sec are required. This writes the completed run and returns a card marker for in-app editing.
plan: the run has NOT happened yet. Create 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 workout structure supports it. If a wearable run is unspecified, do NOT call it easy merely because it was a run.
DETAIL: preserve 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 for a concrete sleep event from a tracker or recall. Question/habit/hypothetical alone: no write.
PROACTIVE DATA COLLECTION: For an overnight entry without numbers, ask: "How many hours did you sleep, and do you have a sleep score or stage breakdown from your tracker?" For a nap, use NAPS below.
INFER — do not ask:
date: local date the sleep or nap ended; default to today
NAPS: Set is_nap=true for a daytime nap or other short sleep separate from the main night, even when the user only says "I napped." Provide its start (bedtime) and/or end (wake_time), plus duration (total_hours) or both times. Ask for a time if neither is known; never invent one. Naps must be under undefined 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. All entries are 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 for a specific date. Only relevant when the user has daily tracking mode enabled. Use when the user says they took (or missed) a medication or supplement on a particular day.
INFER — do not ask:
date: default to today
taken: default to true (marking as taken)
SELECTOR — pass supplement_id if known, or supplement_name (case-insensitive substring) to resolve it. Exactly one required. If supplement_name matches more than one item, the call errors 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 including SpO₂, respiratory rate, skin temperature, blood pressure, blood glucose, and core temperature).
VITALS — use the vital fields for manual/home/device readings and corrections, including a finger-stick, CGM, home glucose meter, or 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 — read before using step_count: manual step_count is ADDITIVE — it adds on top of whatever a connected wearable (Fitbit, Oura, Apple Health, Health Connect) already recorded that day; it never replaces or overrides device data. Only use it when the user explicitly says they walked steps their device did NOT capture (phone left home, battery died, device not worn). If the user says sync is wrong, steps look doubled, or they want 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, and physiological vitals) replace the existing manual value for that day and are safe to use for corrections.
SLEEP ADDITIONS — only when the user EXPLICITLY asks to add missing sleep periods to an EXISTING record, use sleep_periods and add_to_existing_sleep_record: true. Each start/end accepts local HH:MM or ISO 8601 with offset. Only the source powering the displayed sleep total can be enriched, selected using the user's Sleep source priority. If sleep_source is specified it must match that source. Never infer consent from a complaint about sleep; do not mix additions with other metrics.
INFER — do not ask: date defaults to today unless the user says otherwise.
IDEMPOTENT: if the values you'd log already exist for that date (any source), the tool returns a no-op success — report this 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.
Supports single-day entries ("how I feel today") and period entries ("this week was stressful", "March was great").
If an overlapping entry already exists for the requested period, returns a warning with the conflicting entry IDs — the user must update or delete existing entries first.
INFER — do not ask:
period_start: default to today
period_end: default to same as period_start (single day). For "this week" use Monday–Sunday, for "this month" use first–last day.
ratings: estimate from description ("exhausted"=2, "great energy"=8, "stressed out"=8 stress, "feeling good"=7 mood)
You may log any subset of rating fields.
Inputs: mood, notes, energy, stress, +3 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:
With actual exercises/sets, provide them as usual. Session totals and activity metrics can accompany real sets in the SAME log_workout call.
With only an activity description (walking, yoga, swimming, a kettlebell circuit, strength, HIIT, cycling, etc.), give focus_type and reported session details; OMIT exercises or pass []. A session does not require fake exercises or sets. Never invent exercises, reps, weights, splits, heart rates or calories.
Use notes for reported context, including uncertain durations (e.g. "15-20 minutes, light intensity"). Leave unknown numeric fields unset rather than converting a range into false precision. Mark estimated=true ONLY when numeric values really are estimates; it is not implied by having zero sets.
Walking: focus_type "Walking"; cycling/biking: "Cycling"; rowing/RowErg: "Rowing". Other activity names remain as stated. log_run remains the richer dedicated 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 are alternatives; send the unit the user provided. The server converts, never convert it yourself. duration_sec is total workout/moving seconds, not a set or a repetition. Use reported HR, power, cadence, elevation, actual laps/segments only when known.
undefined undefined Log a complete workout session: exercises, sets, reps, weights, and session metadata. Use when the user describes finishing a workout, lists exercises performed, or asks to log training. For reusable templates, see SAVED WORKOUT MODE.
EXERCISE NAMES:
Reuse known canonical names; otherwise call list_exercises and match each exercise to the closest canonical name. Matched a catalog exercise → pass its canonical name and its [id] as exercise_id. No reasonable match → use the name as stated, no exercise_id. Don't ask before logging, match silently and log.
"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 is ONLY the exercise name, never reps/weights/sets — those go in the sets array.
LITERAL NAME: literal_name:true only after an explicit user request or rejected match, never a routine correction. Known catalog names/aliases retain IDs; unmatched names are unscored. Use for "call it exactly X", "not the standard one", "literally X", or a rejected match.
The result says when a name was matched to something other than what the user said. Relay it in your own words rather than repeating the line 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 is one dumbbell in EACH hand, weight_lb PER HAND (2x for NSI); dumbbell_single is one implement total. Laterality (single-leg/arm) does NOT decide this alone. Set it when the user describes the load (each hand, machine, band); a wrong or missing tag silently halves or doubles NSI. Values: barbell, dumbbell_pair, dumbbell_single, machine, kettlebell, bodyweight, band, cable, trx, other.
SETS:
"3 sets of 15 reps" → 3 set objects with reps: 15. "15/12/10" → 3 sets with reps 15, 12, 10.
Pure isometric holds (planks, dead hangs, wall sits) have no reps: "30 second plank" = { hold_length_sec: 30 }.
Tempo/pause work combines reps + weight_lb + hold_length_sec (seconds per rep) on the same set, never in notes.
Loaded carries (farmers carry, sled push, weighted plank) are one set per trip: hold_length_sec + weight_lb, omit reps unless a trip count is given. weight_lb is PER HAND for a two-implement carry, TOTAL for one implement. Circuit stations (run/ride/swim/row/walk) instead use distance_meters and/or duration_sec PER ROUND on their set, not reps or hold seconds.
INFER — do not ask:
date: today, or from context
focus_type: from the exercises (bench/shoulders/triceps=Push, rows/pulldowns/curls=Pull, squats/deadlifts/lunges=Legs, mixed upper=Upper, everything=Full Body)
superset_group: same integer for exercises done back-to-back or as a superset
slot_type: 'warmup' for prep at the start, 'finisher' for burnout/cardio at the end, 'working' (default) otherwise
RPE (Rate of Perceived Exertion) — 1-10 scale, half steps allowed (7.5, 8.5):
Session-level RPE: overall session difficulty. Infer from user comments like "brutal session" (8-9) or "easy day" (3-4). Optional.
Per-set RPE: how hard each individual set felt. Include only if the user explicitly mentions per-set effort or failure. Optional.
Scale: 1=minimal effort, 5=moderate, 7=hard, 8=few reps left, 9=one rep left, 10=maximal/failure.
optional_metadata: infer location/focus_type when supported, else omit; heart_points: reported values only. Missing external load: follow LIVE LOADS.
RETURNS the new session's ID (as "[ID NN]"). Pass it to update_workout / delete_workout / get_workout for follow-ups in this conversation.
LIVE LOADS: for user-driven completed-workout logging, obvious bodyweight movements may omit load and are inferred as bodyweight. If a performed set normally uses external resistance, include that set's load. If the user did not provide it, ask one batched clarification before calling this tool. Only set load_unknown=true on a missing set when the user explicitly says they do not know, do not remember, or want to save without that load. Preserve partial known loads positionally; never copy one set's load to another or treat a missing external load as bodyweight.
SAVED WORKOUT MODE: in-app chat uses propose_workout for new workout plans, whether requested to save or start; discover it if needed. External clients without cards: set save_as_saved_workout=true and pass the full prescription through this same tool. In saved mode the workout is NOT logged as completed history, and LIVE LOADS does not apply: prescribed weight may be omitted. To replace an existing Saved Workout, also pass saved_workout_id; the supplied prescription fully replaces its prior prescribed sets/reps/weights. Use 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, or add and remove equipment. Use when 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 to get ids and avoid duplicates.
create: name required. kind defaults to other. Equipment starts from preset (default follows 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). Pass 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. There is 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 when the user describes a new practice, changes a schedule, stops a practice, or removes one. Infer category from name, start_date defaults to today, infer schedule from context. ASK only if name is missing.
SELECTOR for update/end/delete — pass id if known, or strategy_name (case-insensitive substring, e.g. "sauna") to resolve it. Exactly one of id or strategy_name required. If strategy_name matches more than one strategy, the call errors 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 any 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, evening?" If the user corrects anything, 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 when the user describes their stack, adds a new item, changes a dose or schedule, says they stopped taking something, or wants to remove an entry.
INFER — do not ask:
action: 'add' for a new item, 'update' for changing a field, 'end' when they stopped/finished a course, 'delete' only to remove the record entirely
category: 'medication' for prescription/OTC drugs and pharmaceuticals, 'supplement' for vitamins/minerals/herbs/other dietary supplements — default 'supplement' if unclear
start_date: today for new entries
end_date (for 'end'): today unless the user specifies otherwise
ASK the user only if name is missing for a new entry, or 'end' (set end_date) vs 'delete' (remove record) intent is ambiguous.
SELECTOR for 'update', 'end', 'delete' — pass id if known, or supplement_name (case-insensitive substring, e.g. "magnesium") to resolve it. Exactly one of id or supplement_name required. If supplement_name matches more than one item, the call errors 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 when the user wants to flip a fast day to forgotten (or back), or undo either one, in chat instead of the in-app prompt.
There are exactly three states for a date, and this tool is the only way to move between them:
fast: writes the 0-kcal "Fast day" food_log entry (a real, counted 0-calorie day).
forgot: records that the day was reviewed and simply not logged. Writes nothing to food_log, so the day stays a true blank and is excluded from calorie/TDEE averages, never imputed as 0.
unanswered: clears both. The day goes back to being an open question and the in-app prompt may ask about it again.
Setting one answer always clears the other, so a date is never both a fast and a forgotten day at once.
Use list_meals first if unsure whether the date already has real food logged. This tool refuses to touch a day that has actual meals on it (other than an existing fast marker).
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 call it on your own initiative, to apply a recommendation, or to act on a lab result. A user target is 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. Ask for the unit if the user gave none; never guess mcg vs IU or mg vs g. An omitted upper_limit means the reference upper limit applies. remove=true deletes the user's target so the reference intake applies again.
nutrient accepts a name/alias, or the id (1-undefined) 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 when 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. If the user hasn't given real label numbers, 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 this tool doesn't recognize is skipped and reported back in the result rather than silently dropped.
SELECTOR: pass id if known, or name: resolved as an exact case-insensitive match, then a unique case-insensitive prefix match. Ambiguous or unmatched name errors listing candidate ids, without writing. Exactly one of id or name is required.
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. When the user asks about this, prefer calling this tool and rendering the interactive MCP app over describing the underlying rows in text. Returns a short text summary alongside the visual view.
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. When the user asks about this, prefer calling this tool and rendering the interactive MCP app over describing the underlying rows in text. Returns a short text summary alongside the visual view.
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. When the user asks about this, prefer calling this tool and rendering the interactive MCP app over describing the underlying rows in text. Returns a short text summary alongside the visual view.
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. When the user asks about this, prefer calling this tool and rendering the interactive MCP app over describing the underlying rows in text. Returns a short text summary alongside the visual view.
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. When the user asks about this, prefer calling this tool and rendering the interactive MCP app over describing the underlying rows in text. Returns a short text summary alongside the visual view.
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, and soreness 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. When the user asks about this, prefer calling this tool and rendering the interactive MCP app over describing the underlying rows in text. Returns a short text summary alongside the visual view.
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. When the user asks about this, prefer calling this tool and rendering the interactive MCP app over describing the underlying rows in text. Returns a short text summary alongside the visual view.
Inputs: date. Returns: kind, generatedAt
update_cycleAIdempotentInspect
Update an existing period record. Use to correct dates, add a missing end date, or clear an end date (resume).
Common uses:
"my period ended on the 9th not the 8th" → update ended_on
"actually my period started the 2nd not the 3rd" → update started_on
"I'm still on my period" → reopen: true to clear ended_on and mark it active
SELECTOR — pass id if known, or date (the period's start date, or any date that falls within it) to resolve it. Exactly one required. If date matches more than one record, the call errors 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 this tool directly for ordinary goal changes. It already loads the user's current goals and resolves a unique goal from goal_id or a natural-language goal_ref, so do NOT call list_goals first just to find an ID.
For edit, pass only the fields to change. For complete/pause/end/reopen/delete, no edit fields are required. If goal_ref genuinely matches multiple goals, this tool returns the candidates and changes nothing. Formal goal end/delete follows the existing Goals UI cancel lifecycle; standard-target end/pause turns that target off while delete removes it.
WEIGHT INPUTS: For a body_weight_target_lb standard target or body_comp metric lean_mass_lb, edit with target_value_lb. This alias is unit-aware; in-app calls use the preferred unit, while external calls use pounds unless input_weight_unit is set. Legacy generic target_value remains canonical pounds.
Inputs: action (required), title, weeks, metric, +29 more. Returns: result
update_injuryAIdempotentInspect
Update an existing injury entry. Use when the user reports an injury is improving, worsening, resolved, or wants to change details. When severity changes, the new value is automatically tracked in the severity history for trend analysis. Only send fields that need to change. Setting end_date automatically marks the injury as Resolved. Use severity_date to backfill historical severity changes (e.g., "it was a 7 in January, dropped to 4 by March").
SELECTOR — pass id if known, or injury (a body part or injury type substring, case-insensitive, e.g. "shoulder") optionally narrowed by date (an injury active on that day). Exactly one of id or injury required. If injury matches more than one entry, the call errors with candidate IDs to retry with.
Inputs: id, date, side, notes, +7 more. Returns: result
update_lab_resultAIdempotentInspect
Update one or more fields on an existing lab result. Use when the user wants to correct a result already logged, most often its collection date. Only send the fields that need to change; omit all others.
SELECTOR, pass exactly one of id, date, date+marker, or draw_id:
id: addresses one marker's row. Any editable field may change.
draw_id: addresses every result sharing that draw_id at once, unambiguous by construction. Only new_date, panel_name_new, lab_name, fasting_status, and report_date may change this way — those are draw-level fields.
date (optionally narrowed by panel_name): addresses every result from that draw at once, but ONLY when exactly one draw exists on that date — see AMBIGUITY below. Same draw-level fields as draw_id.
date + marker (a marker-name substring, case-insensitive, optionally narrowed by panel_name): resolves to one marker's row, same as id. Errors with candidate IDs if more than one marker on that date matches.
AMBIGUITY: a bare date (optionally + panel_name) selector is rejected, with nothing changed, if it would match more than one physical draw — 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 only changes to 'fasting' or 'non_fasting' 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 by id or date+marker automatically 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 rather than 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: for Cronometer, Fitbit/Google Health, FatSecret, Apple Health and Health Connect meals, explicit macro-only corrections are ALLOWED and stored as separate, sync-protected enrichments ON THE SAME IMPORTED MEAL. This includes calories, protein_g, carbs_g, fat_g and alcohol_g through one shared function. User- or AI-estimated values are labeled estimates, never represented as provider measurements. Do NOT call log_meal to create a duplicate. Never replace imported food_items, meal type, date or add/remove foods, fluids or caffeine using this tool; those remain owned by the source app. Omit unchanged macros. A new provider sync must not overwrite the enriched fields.
FIND THE MEAL: call directly, no preliminary list for an ID or additive totals. Use id if known (it is in list_meals output and in the chat history's saved-records note after a log). Otherwise use date (YYYY-MM-DD, defaults to today) plus name and/or target_meal_type to narrow the existing row. target_meal_type finds the current type and is never written; meal_type sets a new type. If the match is not exactly one row, nothing changes. On 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 recipe 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. Missing recipe macros: estimate only the missing fields from returned food text and retry with the same selector and add_recipe_name. add_unsaved: add_food_items plus the four core macros (calories/protein_g/fat_g/carbs_g) for ONLY the new food; estimate those core values, never ask for them. Text appends; core macros ADD to current totals. alcohol_g: optional, omitted adds nothing. add_both: set add_recipe_name and add_food_items; ordinary core macro fields describe ONLY the unsaved addition. 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 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, and core-macro updates work without them. 0 is a real value only when known, never a placeholder. ambiguous_add_vs_correct: ask before updating.
ESTIMATE: estimate (same format as log_meal's ESTIMATE section) supplies the nutrient estimate for whatever food this call changes -- the add_unsaved/add_both addition's own food, or, for a mode-3 food_items replacement, the WHOLE corrected meal. Omit to let the server estimate instead; never required.
MEAL TIME: meal_time changes this meal's local HH:MM clock, or null clears an incorrect time. Omit to preserve it. A move_to_date without a new meal_time clears the old clock; supply both together 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 which meal to update; they never move it. Set move_to_date to actually change the stored date, keeping the same id.
REMOVE ONE ADDED COMPONENT -> remove_item_name. Only works for a food previously recorded on THIS meal (add_recipe_name, add_food_items, or log_meal's own estimated items). If the meal has no such recorded item, this throws telling you to use mode 3 with corrected totals instead. An estimated item (log_meal's own food, no add_recipe_name/add_food_items involved) carries a name and gram estimate but no recorded calorie/macro split for that one item, so a precise subtraction isn't possible: this throws asking you to also send calories/protein_g/fat_g/carbs_g (the meal's corrected TOTALS after removing it) in the SAME call, which performs the removal and applies those totals together, in that order -- do this rather than a separate correcting call. Removing an item re-estimates the meal's nutrient panel from what remains (its updated food text and items), rather than leaving a stale estimate for food that's gone -- pass estimate here too to supply that re-estimate yourself instead of letting the server do it.
DRINKS / HYDRATION WHEN UPDATING: a food update must not silently erase an already-linked hydration event. For changes unrelated to drinks, omit fluids and the existing hydration is preserved. When ADDING a drink with add_food_items/add_recipe_name, fluids contains only the newly added drink(s) and they are appended to the meal's hydration. When CORRECTING the meal's drinks with both add_* fields omitted, fluids is the complete corrected drink list and replaces the linked hydration only after replacement rows have been safely inserted. If the correction removes every drink, explicitly send fluids: [] and the linked hydration is deleted. Whenever a drink volume is known or reasonably inferable, include it. Drinks only; exclude food moisture.
CAFFEINE / DRINKS WHEN UPDATING: keep the two sidecars explicit in the same update_meal call. fluids is the hydration side and caffeine is the caffeine side; when a drink change affects both, send both. Omit either one when that side is unchanged so existing linked data is preserved. When ADDING caffeinated food/drink with add_food_items/add_recipe_name, caffeine contains only the new dose(s) and they are appended. When CORRECTING the meal's caffeine with both add_* fields omitted, caffeine is the complete corrected dose list and replaces linked caffeine only after replacement rows have been safely inserted. If the correction removes every caffeine dose, explicitly send caffeine: []. Each retained/new dose needs caffeine_mg and may optionally include source_type; its date follows the meal date.
SAVE AS RECIPE: when the user asks to save an already-logged meal as a reusable recipe, set save_as_recipe=true. This may be the only requested action: identify the real meal with id or the normal selectors and do not invent a food or macro edit. A follow-up like "save that as a recipe" after a successful log should use the known meal id plus save_as_recipe=true. Do not tell the user recipes cannot be saved from chat.
Inputs: id, date, name, fat_g, +21 more. Returns: result
update_recovery_sessionAIdempotentInspect
Update one or more fields on an existing recovery session log entry. Use when the user wants to correct or change something already logged (e.g. wrong duration, quality rating, category, or notes). Only send the fields that need to change; omit all others.
SELECTOR — pass id if known, or session_date (+ optional session_category to narrow) to resolve it. Exactly one of id or session_date required. If it matches more than one session, the call errors with candidate IDs to retry with.
Inputs: id, date, notes, quality, +7 more. Returns: result
update_wellbeingAIdempotentInspect
Update an existing wellbeing entry. Only updates fields that are provided — omitted fields remain unchanged.
SELECTOR — pass id if known, or date (any day within the entry's period) to resolve it. Exactly one of id or date required. If date matches more than one entry, the call errors with candidate IDs to retry with.
Inputs: id, date, mood, notes, +3 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.
undefined undefined undefined Update a workout session: correct metadata, fix set values, rename/add/remove exercises or individual sets, or move exercises between supersets. Use for 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. Otherwise pass session_date (YYYY-MM-DD, defaults to today) and, only if more than one session was logged that day, name (a substring of the workout's focus/type, case-insensitive) to narrow it down. A match that isn't exactly one session returns an error explaining why, with nothing changed — retry with session_id or a narrower name, never guess. get_workout still gives 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 a set, addressed by set_id OR by exercise_name + set_position (1-based, matches get_workout's "Set N"). Use clear_weight=true when a stored load is wrong but the real external load is unknown; use is_bodyweight=true when the corrected set was genuinely bodyweight.
remove_sets: delete sets, same set_id-or-exercise_name+set_position addressing; remaining sets renumber; an emptied exercise/slot is removed automatically.
rename_exercises: renames every set of an exercise in place (preserves set IDs, RPE, notes; rebuilds NSI), never remove + add.
remove_exercises: deletes all sets for named exercises; empty slots removed automatically.
add_exercises: new exercises with sets; to_superset_slot joins an existing slot, omit for standalone.
move_exercises: reassigns an exercise to a different slot; "new" makes it standalone. Use from_superset_slot from get_workout when the same exercise name appears in multiple slots.
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 after an explicit user request or rejected match, never a routine correction. Known catalog names/aliases retain IDs; unmatched names are unscored. Use for "call it exactly X", "not the standard one", "literally X", or a rejected match. Applies below.
EQUIPMENT (load basis): dumbbell_pair is one dumbbell in EACH hand, weight_lb PER HAND (2x for NSI); dumbbell_single is one implement total. Laterality (single-leg/arm) does NOT decide this alone. Set it when the user describes the load (each hand, machine, band); a wrong or missing tag silently halves or doubles NSI. Values: barbell, dumbbell_pair, dumbbell_single, machine, kettlebell, bodyweight, band, cable, trx, other.
A set_id or exercise_name+set_position matching more than one set (the same exercise in two superset slots) is ambiguous and errors rather than guessing — use the exact set_id from get_workout to disambiguate.
The 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: session_date defaults to today, set positions count from 1 per exercise. Slot names and set_ids beyond what's inferable come from get_workout; canonical exercise names come from list_exercises.
SAVED WORKOUTS: pass saved_workout_id to edit a reusable Saved Workout instead of completed workout history. Use 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 returned by get_workout or its SS1-style alias. For progression requests, inspect real exercise history first rather than applying 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…
TDQS
Scored across 85 tools
Most tools have distinct resource/action purposes, and descriptions provide routing guidance, but many boundaries are blurred: list/show/get variants for the same data, log_wearable vs log_lab_results for glucose, and log_meal vs update_meal vs mark_empty_day. With 85 tools, several requests still have multiple plausible entry points.
The set is overwhelmingly snake_case with predictable verb_noun patterns such as log_meal, update_workout, list_labs, and delete_injury. Minor deviations like deep_analysis, show_week_steps, and add_or_update_personal_context are still readable and do not undermine the pattern.
85 tools is far beyond a well-scoped set and creates substantial selection overhead. Many tools are redundant display/list variants or specialized read paths that could be consolidated, making the surface feel excessive for the domain.
Coverage is very broad across nutrition, workouts, sleep, wearables, labs, body metrics, injuries, supplements, recovery, goals, cycle, wellbeing, and personal context, with strong CRUD/lifecycle support in most areas. Minor gaps remain, such as no delete path for locations or personal-context memories and several read-only views.
Maintenance
Related MCP Connectors
Hosted Apple Health MCP for Claude and ChatGPT, works outside the US. iPhone app, no local server.
Hosted Apple Health MCP: daily brief, records, sleep, HRV in ChatGPT, Claude, Grok. Free, no export.
Apple Health training load, recovery, HRV and workout detail for Claude, ChatGPT and any MCP client.
Multi-tenant hosted MCP server for Oura Ring — 21 read-only tools, OAuth per user.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceMCP server that connects AI assistants like Claude to WHOOP health data, enabling natural language queries about recovery, sleep, workouts, and more.332 npm184MIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server that securely syncs and queries your health data from Apple Health, storing it in your own Supabase Postgres database and exposing tools for AI assistants to retrieve weight, calories, macros, and more.MIT
- AlicenseNot gradedqualityBmaintenanceSelf-hosted fitness tracking MCP server that gives AI assistants access to your nutrition, training, weight, sleep, and accomplishment data via 77 tools and 5 resources. Enables natural-language logging and querying of personal health metrics through Claude or ChatGPT.1BSD 2-Clause "Simplified"
- FlicenseNot gradedqualityBmaintenanceMCP server that enables LLMs to query Apple Health data such as steps, heart rate, sleep, and workouts via natural language, with secure cloud access through OAuth.-