Fitaily MCP

Nutrition log

Daily summary, meal history, goals and “what to eat next” ideas. This is the heart of the log — where the assistant reads the day’s balance and records new entries.

get_today_nutrition

readnutrition:read

Today's nutrition

Daily nutrition: consumed calories/macros, goals, remaining budget AND the itemized meal list. Defaults to today.

Parameters

ParameterTypeDescription
datestringDate as YYYY-MM-DD. Defaults to today.

get_meal_history

readnutrition:read

Meal history

Meal entries over a date range, optionally filtered by meal type.

Parameters

ParameterTypeDescription
from *stringRange start (YYYY-MM-DD).
to *stringRange end (YYYY-MM-DD).
mealTypeenum(breakfast|lunch|dinner|snack)Filter by meal type.
limit
default: 30
integerMax entries (1–50).

get_nutrition_goals

readnutrition:read

Nutrition goals

Current daily calorie and macro goals.

No parameters.

suggest_meal

readnutrition:read

Meal suggestion

What to eat next for a given meal type: the backend splits the remaining daily budget across meals and ranks candidates from the user's history, recipes and products. Returns projected macros and a match score; falls back to recipes when nothing fits.

Parameters

ParameterTypeDescription
mealType *enum(breakfast|lunch|dinner|snack)Meal type.
datestringDate (YYYY-MM-DD). Defaults to today.
limit
default: 5
integerMax suggestions (1–10).

update_nutrition_goals

writenutrition:write

Update nutrition goals

WRITE: change daily calorie/macro goals. Confirm the new numbers with the user first.

Parameters

ParameterTypeDescription
dailyCaloriesGoalintegerCalorie goal (500–15000).
proteinGoalnumberProtein goal in grams (0–1000).
carbsGoalnumberCarbs goal in grams (0–1000).
fatGoalnumberFat goal in grams (0–1000).

add_meal

writenutrition:write

Log a meal

WRITE: log a meal. Ask the user to confirm first (dish, meal type, macros). Macros are required — look them up with search_foods, never invent them. clientRequestId: generate once per user request (uuid) and reuse it if you retry, so a retry never duplicates the meal.

Parameters

ParameterTypeDescription
mealType *enum(breakfast|lunch|dinner|snack)Meal type.
foodName *stringDish name (1–200 chars).
calories *numberCalories (0–5000).
protein *numberProtein in grams (0–500).
carbs *numberCarbs in grams (0–500).
fat *numberFat in grams (0–500).
servingSizestringServing description (≤120 chars).
datestringDate and time (ISO 8601).
clientRequestIdstringIdempotency key (uuid), 1–128 chars.

update_meal

writenutrition:write

Update a meal

WRITE: edit a logged meal by id (from get_today_nutrition/get_meal_history). Confirm with the user first.

Parameters

ParameterTypeDescription
id *stringMeal id.
mealTypeenum(breakfast|lunch|dinner|snack)New meal type.
foodNamestringNew dish name.
caloriesnumberCalories.
proteinnumberProtein (g).
carbsnumberCarbs (g).
fatnumberFat (g).
servingSizestringServing description.

delete_meal

destructivenutrition:write

Delete a meal

WRITE: delete a logged meal by id. Confirm with the user first.

Parameters

ParameterTypeDescription
id *stringMeal id.
© 2026 Fitaily · MCP documentation · GitHub