Skip to main content
Glama
DataBody MCP Server

DataBody MCP Server

Official
by databody-ai

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DATABODY_API_URLNoURL of your DataBody API.https://databody.ai
DATABODY_TOKEN_FILENoOptional credential file for a separate agent or test profile.~/.databody_token.json
DATABODY_CALLBACK_PORTNoPort for OAuth callback server.8787

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
authenticateA

Authenticate with DataBody. Use browser-based OAuth flow (recommended) or provide email/password for direct login.

logoutA

Log out and clear stored authentication tokens

auth_status

Check current authentication status

get_user_profile

Get the current user's profile including email, name, height, sex, birth date, activity level, units, and timezone

update_user_profile

Update the current user's profile settings

change_password

Change the user's password (not available for Apple Sign In accounts)

change_emailA

Change the user's email address. Requires password verification and sends a verification email to the new address.

get_health_summary

Get the user's health summary including user profile (sex, age, height, activity level), today's macros, goals, latest body stats, recent workouts, and 7-day weight/body fat trends

get_health_history

Get historical health stats (weight, body fat %, sleep, HRV, etc.) for trend analysis. Returns daily snapshots and summary statistics including changes over the period.

list_chat_threadsA

Get all chat threads with message previews, sorted by most recent

get_chat_threadA

Get a specific chat thread with all its messages

create_chat_thread

Create a new chat thread

delete_chat_threadB

Delete a chat thread and all its messages

generate_thread_titleC

AI-generate a title for a chat thread based on its messages

get_chat_historyB

Get chat history for a specific thread or the most recent thread. Also indicates if it's a new day (for greeting).

get_token_usage

Get AI token usage statistics (total, this month, today) and recent message costs

get_daily_greeting

Get an AI-generated personalized greeting for today

ai_chatA

Chat with the AI nutrition coach. Ask questions about diet, get meal suggestions, or discuss fitness goals. Optionally provide a household_id to include household members' health data for coordinated meal planning.

analyze_photoC

Analyze a food photo using AI to identify items and estimate macros

parse_food_descriptionB

Parse a text description of food into structured nutrition data

expand_meal_ingredients

Expand a meal into individual ingredients with macro breakdowns. Useful for meal suggestions that need itemized logging.

get_meal_suggestionsB

Get AI-powered meal suggestions based on remaining macros and preferences. Optionally provide a household_id to get suggestions that work for all household members.

get_today_nutrition

Get all nutrition logs for today, including meals and their items with macro breakdowns

get_nutrition_historyA

Get nutrition history for a date range with daily totals and goal comparison

get_nutrition_log

Get a specific nutrition log by ID

log_food

Log a food item or meal. Creates a nutrition log entry with the specified foods. IMPORTANT: Always estimate serving_size in grams (e.g., '150g') - never use abstract units like cups, servings, or pieces.

update_nutrition_logC

Update a nutrition log (meal type, time, notes, or items)

delete_nutrition_logA

Delete an entire nutrition log and all its items

add_nutrition_itemC

Add a food item to an existing nutrition log

delete_nutrition_itemB

Delete a specific food item from a nutrition log

search_food

Search for food items by name to get nutrition information. Returns matching foods with their macros.

get_food_details

Get detailed nutrition info for a specific food item including fiber and micronutrients

barcode_lookup

Look up a food product by barcode (UPC/EAN)

get_favoritesB

Get the user's favorite foods for quick logging

add_favorite

Add a food to favorites

remove_favorite

Remove a food from favorites

get_recents

Get recently logged foods

list_saved_mealsA

List all saved meals with their items and total macros. Saved meals are reusable meal templates for quick logging.

create_saved_mealC

Create a saved meal template for quick reuse. Include a name and list of food items with macros.

update_saved_meal

Update a saved meal's name, meal type, or replace its items entirely

delete_saved_mealC

Delete a saved meal by ID

get_current_goalA

Get the user's current active fitness goal including calorie and macro targets

list_goals

Get all goals (active and inactive) sorted by most recent

get_goal

Get a specific goal by ID

create_goal

Create a new fitness goal with target body composition and macro targets

update_goalC

Update an existing goal's settings

delete_goal

Delete a goal

calculate_goal

Recalculate a goal's macro targets based on current health data (weight, body fat, TDEE)

get_recent_workouts

Get the user's recent workout logs (last 7 days) with summary stats

list_workoutsC

Get workouts with optional filtering by date range and type

get_workoutC

Get a specific workout by ID

create_workout

Log a new workout

update_workout

Update a workout

delete_workoutC

Delete a workout

get_notesA

Get the user's personal notes. These notes contain preferences, equipment, dietary needs, and other information the user wants the AI coach to know.

create_note

Create a personal note for the user. Use this to save user preferences, equipment they have, dietary restrictions, or anything they want the AI coach to remember.

update_noteC

Update an existing note

delete_note

Delete a personal note by ID

get_households

Get all households the user belongs to. Households allow sharing health data with family members for coordinated meal planning.

get_household_summaryA

Get detailed information about a specific household including all members' health data (goals, stats, notes, intake, nutrition logs) for coordinated meal suggestions. Use the 'days' parameter to see what foods have been eaten recently to suggest variety.

create_householdC

Create a new household

update_household

Update a household's name

delete_householdB

Delete a household (owner only)

leave_household

Leave a household (non-owners only)

list_household_members

List all members of a household

remove_household_memberB

Remove a member from a household (owner only)

list_household_invitesB

List pending invites for a household (owner view)

list_pending_invites

List invites sent to the current user that are pending acceptance

create_household_invite

Invite someone to join a household by email (owner only). Sends an invitation email.

cancel_household_inviteA

Cancel a pending household invite (owner only)

accept_invite

Accept a household invitation sent to you

decline_inviteC

Decline a household invitation

accept_invite_by_token

Accept a household invitation using the email token

suggest_meal_to_member

Create a pending food log for another household member. They will see it as a suggestion and can accept or decline. Use this for shared meals where one person logs for everyone.

list_workout_moves

List the user's reusable move library.

create_workout_moveC

Create a reusable workout move.

update_workout_move

Edit a move definition. Session history keeps its original snapshot.

archive_workout_moveA

Remove a move from the library while preserving history.

list_workout_programs

List configured programs, days and move targets.

get_workout_programA

Get the complete program and its current revision before editing it.

create_workout_programB

Create an entire program with ordered days, moves and set targets in one transaction.

update_workout_programA

Edit the future program, including add/edit/remove/duplicate/reorder days and move occurrences. Does not change an active session.

archive_workout_programB

Archive a saved program; retain historical sessions.

list_workout_one_offsA

List available scheduled one-offs, their revisions and the account timezone.

create_workout_one_off

Schedule a single workout for today or a future day. It appears in Lift's One-offs picker and starts when the user taps it.

update_workout_one_offB

Edit or reschedule an available one-off. Supply its current revision from the list.

remove_workout_one_off

Remove an available one-off from the Lift picker.

get_active_workout_sessionA

Look up the current workout before logging sets or changing its sequence. Returns null when none is active.

get_workout_sessionB

Read current or historical set-level details, actual weights, effort, remaining queue, clock anchors and revision.

list_workout_sessionsB

List bounded workout-session history by the user's local dates. Use kind=one_off for one-off sessions.

start_workout_sessionA

Start a snapshot of a programmed day or an ad hoc workout. Only one session can be active per user.

set_workout_session_notes

Save or clear notes for an active or completed workout session, without changing logged sets.

set_workout_move_notes

Save reusable exercise setup notes through a session occurrence. Applies to this move type in future workouts too; may be used after completion.

log_workout_set

Log the current set's actual reps and weight, then immediately start count-up rest.

update_workout_set

Correct actual reps, weight or optional effort on a logged set in an open session.

undo_workout_setA

Undo the last logged set during rest; preserve extra moves and sequence changes.

pause_workout_sessionC

Pause both workout and rest clocks.

resume_workout_session

Resume a paused workout without counting paused time.

advance_workout_sessionC

Finish the current rest and enter rep-confirmation mode for the next queued set.

return_to_workout_rest

Return from rep confirmation to the same running rest clock after an accidental Next. Does not undo or log sets.

complete_workout_session

Save only logged sets, leaving pending sets unlogged. Creates one linked activity summary.

cancel_workout_session

Cancel an open workout only when no sets have been logged; exclude it from history.

delete_workout_session

Delete a completed workout and its linked DataBody activity summary. Apple Health records remain unchanged.

add_workout_session_moveA

Add an extra move for this session only; insert after the current set or append to the end.

replace_workout_session_moveA

Replace only an occurrence's unlogged sets with another move in the same queue position. Preserve completed sets and the saved program. Review replacement load and targets first.

set_next_workout_move

Move this session move's remaining sets ahead. Keep the current set in place and preserve all other pending sets.

remove_workout_session_set

Remove one upcoming, unlogged set from this workout only. Preserve logged work, the saved program and the running rest clock.

remove_workout_session_moveA

Remove all upcoming sets of a session move occurrence from this workout only. Preserve its logged sets, other moves, the saved program and the running rest clock.

set_workout_set_weightA

Change a pending set's planned weight, optionally including remaining sets of the same move.

get_move_historyA

Read actual historical sets for one library move. Use before answering questions about previous weights or reps.

get_workout_move_performance

Read exercise history, reusable notes, per-session sets and trends. Compatible load setups determine records; deleted and unfinished workouts are excluded.

get_workout_session_performanceA

Read last-time performance, real weight/rep records and volume versus a previous matching complete workout. Uses only history preceding this session; first sessions do not claim records.

get_workout_progressionB

Calculate per-move suggestions from actual complete sets and optional effort. This only recommends; it does not edit the program.

apply_workout_progression

Apply explicitly selected load increases to the future program; retain the session's actual history.

import_workout_sessionA

Import a completed workout from supplied structured records. Preserve actual dates, reps, units and weights; resolve missing data rather than invent it. Reuse client_id to avoid duplicate imports.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources