---
title: "Tool reference | Fitaily Docs"
description: "All 83 Fitaily MCP tools in one place — with parameters, scopes and kind (read/write/destructive)."
url: "https://fitaily.com/docs/tools/en"
canonical: "https://fitaily.com/docs/tools/en"
lang: en
---

# Tool reference

Every tool is a thin proxy to the Fitaily REST API with the user’s token. Below is the full catalog grouped by category.

### Nutrition log

- `get_today_nutrition`: Today's nutrition. Daily nutrition: consumed calories/macros, goals, remaining budget AND the itemized meal list. Defaults to today.
- `get_meal_history`: Meal history. Meal entries over a date range, optionally filtered by meal type.
- `get_nutrition_goals`: Nutrition goals. Current daily calorie and macro goals.
- `suggest_meal`: 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.
- `update_nutrition_goals`: Update nutrition goals. WRITE: change daily calorie/macro goals. Confirm the new numbers with the user first.
- `add_meal`: 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.
- `update_meal`: Update a meal. WRITE: edit a logged meal by id (from get_today_nutrition/get_meal_history). Confirm with the user first.
- `delete_meal`: Delete a meal. WRITE: delete a logged meal by id. Confirm with the user first.

### Foods & catalog

- `search_foods`: Search foods. Search the food catalog by name (per-100g macros, servings). Call this before add_meal when the user names a product instead of giving macros.
- `get_food_by_barcode`: Find food by barcode. Look up a product by barcode (per-100g macros).
- `get_my_products`: Your saved products. List food products created by the user, including their per-100g/ml nutrition. Use an id from this list to edit or delete a product.
- `create_my_product`: Create a saved product. WRITE: save a food product to the user's private product catalog. Nutrition values are per 100 g or ml. Confirm the name, unit and macros with the user before saving.
- `update_my_product`: Update a saved product. WRITE: edit a product created by the user. Provide its id and only changed fields; existing nutrition and optional details are preserved. Confirm the proposed changes first.
- `delete_my_product`: Delete a saved product. WRITE: permanently delete a product created by the user. Confirm using its name before deletion.

### Water

- `get_water_history`: Water history. Water intake entries over a date range.
- `log_water`: Log water. WRITE: log water intake in milliliters. Confirm with the user first.
- `delete_water_entry`: Delete water entry. WRITE: delete a water entry by id. Confirm with the user first.

### Recipes

- `get_recipe_suggestions`: Recipe suggestions. Recipe ideas ranked for the day's remaining calories (same discovery as the app). Filter by meal type and max prep time.
- `get_my_recipes`: Your recipes. The user's own saved recipes (id, name, times, servings).
- `search_public_recipes`: Search public recipes. Browse the public Fitaily recipe catalog (~300 recipes) with full filters. Search matches the dish name, description AND ingredient names. Nutrition filters are per serving. Use sort=protein_desc or calories_asc for macro-targeted picks. Tag coverage is uneven — call get_recipe_tags first. Most public recipes have no ratings yet, so minRatingCount>0 and sort=rating usually return little.
- `get_recipe_tags`: Recipe tags. Public recipe tag catalog with recipe counts. Use it before filtering by tags — many diet tags (keto, vegan, dairy-free) cover only a handful of recipes, while high-protein/vegetarian/gluten-free are broad.
- `get_public_recipe`: Public recipe details. Full public recipe by slug (from search_public_recipes): ingredients with amounts, numbered steps, per-serving macros and tags.
- `get_recipe`: Saved recipe details. Full recipe by id: description, ingredient list with amounts and numbered steps.
- `find_recipes_for_remaining_macros`: Recipes for remaining macros. Pick recipes that fit what is LEFT of today's calorie budget. Combines the day summary (consumed vs goals) with the public catalog, then ranks by protein density. Optionally restricted to one meal type's share of the remaining budget.
- `get_favorite_recipes`: Favorite recipes. Recipes the user marked as favorites.
- `favorite_recipe`: Update recipe favorite. WRITE: add or remove a recipe from favorites. Set favorite=false to remove (defaults to true). Confirm with the user first.
- `rate_recipe`: Rate a recipe. WRITE: rate a public recipe 1–5 stars (updates an existing rating). You cannot rate your own recipes. Confirm with the user first.
- `create_recipe`: Create a recipe. WRITE: save a recipe to the user's library. Confirm the whole recipe with the user first. Ingredients need amount+unit; include per-100g macros when you know them so the app can compute nutrition.
- `update_recipe`: Update a recipe. WRITE: edit a recipe by id. Send only the fields that change; ingredients/steps replace the whole list. Confirm with the user first.
- `delete_recipe`: Delete a recipe. WRITE: delete a recipe from the user’s library. Confirm with the user first.

### Diet plans

- `get_diet_plans`: Diet plans. The user’s diet plans (or public templates with tab=discover). Returns headline targets only — call get_diet_plan for the day-by-day meals.
- `get_diet_plan`: Diet plan details. Full diet plan by id: day-by-day meals with per-meal and per-day macro totals. Use maxDays to keep long plans readable.
- `generate_diet_plan`: Generate a diet plan. WRITE: generate a new diet plan and make it the active one (replaces the previous plan). Needs at least 3 recipes in the library or the public catalog — the catalog alone is enough. Templates: balanced, highprotein, lowcarb, keto, vegan, vegetarian. Confirm targets with the user first.
- `activate_diet_plan`: Activate a diet plan. WRITE: make an existing diet plan the active one, optionally from a given start date. Confirm with the user first.
- `extend_diet_plan`: Extend a diet plan. WRITE: extend a diet plan by N more days (reuses the plan’s template and targets). Confirm with the user first.

### Training

- `get_training_history`: Training history. Recent activities and strength workouts (type, date, distance, duration). No per-second GPS.
- `get_training_plan`: Training plan details. Planned training sessions (multi-sport plans and strength templates).
- `log_activity`: Log an activity. WRITE: log a simple cardio/manual activity (run, ride, walk). Confirm with the user first. Strength sessions cannot be created here — one active session per user plus set structure do not fit chat.
- `get_workout_plans`: Workout plans. Saved workout templates (name, description, origin, exercises). A template generated by a training plan has origin PLAN_TEMPLATE and is not shown in the app's workout library; pass origin=standalone to list only the user's own templates.
- `get_workout_plan`: Workout plan details. One workout template by id, with exercises and their sets/reps.
- `create_workout_plan`: Create a workout plan. WRITE: create a workout template. Confirm the whole template with the user first. exerciseId values must come from search_exercises — never invent them. reps is a free string (e.g. "8-12").
- `update_workout_plan`: Update a workout plan. WRITE: update a strength plan. Send only changed fields; exercises replaces the whole list. Confirm with the user first.
- `delete_workout_plan`: Delete a workout plan. WRITE: delete a strength plan template. Confirm with the user first.

### Exercise catalog

- `search_exercises`: Search exercises. Search the Fitaily exercise catalog (name, category, equipment). Returns exerciseId values used when building a workout plan. Call this before create_workout_plan.
- `get_exercise`: Exercise details. Single exercise by id (category, muscle group, equipment, type).

### Strength stats

- `get_personal_records`: Personal records. All current personal records (1RM, max weight, max reps, max volume, best time) with the previous value so you can show the delta.
- `get_exercise_history`: Exercise history. Completed sets of one exercise over the last N months (default 12, max 24), newest first — use it to judge progression before recommending loads.
- `get_muscle_activation`: Muscle activation. Completed sets per exercise since a date (default 30 days), for balance analysis: which muscles were trained and which were neglected.

### Progress & measurements

- `get_progress_summary`: Progress summary. Weight trend and latest measurement. Defaults to the last 30 days.
- `get_measurement_history`: Measurement history. Body measurements (weight, body fat, muscle, circumferences) over a range.
- `get_goals`: Progress goals. User goals with current vs target values.
- `add_measurement`: Log a measurement. WRITE: log a body measurement (weight and/or composition). Confirm with the user first.
- `add_goal`: Add a goal. WRITE: create a goal (weight, workouts, custom). Confirm with the user first.
- `update_goal`: Update a goal. WRITE: update a goal (values, completion). Confirm with the user first.

### Stats & trends

- `get_nutrition_stats`: Nutrition statistics. Nutrition aggregates over a period: totals, daily averages, entries per meal type and how many days hit the calorie goal. Defaults to the last 30 days.
- `get_activity_stats`: Activity statistics. Activity aggregates over a period: total duration, calories burned, distance and a per-type breakdown. Defaults to the last 30 days.
- `get_measurement_stats`: Measurement statistics. Body measurement aggregates over a period: min/max/average/first/latest for weight, body fat, muscle mass and BMI. Defaults to the last 30 days.
- `get_goal_progress`: Goal progress. Progress of every active goal (weight, workouts, custom): current vs target, percent complete and whether it is on track. Nutrition goals are excluded — use get_nutrition_goals.
- `query_nutrition_history`: Nutrition history by food. Meals aggregated by product over a period: how many times it was eaten and the average calories/macros per occurrence. Answers 'what do I eat most often' without listing every entry.
- `get_metric_trend`: Metric trend. Daily series for one metric: measurements (weight/bodyFat/bmi/muscleMass), nutrition (calories/protein/carbs/fat), workouts (duration/burnedCalories) or hydration (amount). Returns points, delta and start/end values — ideal for a trend summary or a chart.
- `get_forecast`: Progress forecast. TimesFM time-series forecast for one metric (weight, body fat, muscle, activity, food macros). Returns daily points with confidence bands. Needs enough history and is limited to 10 requests/minute; results are cached for 6h. Use it only when the user asks about the future, not for current values.

### Profile & overview

- `get_profile`: Your Fitaily profile. The user’s profile: latest weight, height, age, sex, units, language, activity level, weight direction, target weight and current daily goals. Read this before giving calorie or macro advice.
- `get_coach_plan`: Adaptive coach plan. The adaptive coach plan: goal, phase, target weekly rate, current calorie target, macro strategy, protein per kg and the effective daily goals. Returns active=false when the user never enabled the coach.
- `get_dashboard_summary`: Fitaily dashboard. One-shot overview for an opening answer: today's calories, workouts completed this week, latest weight and personal records set this month.

### Fridge & shopping list

- `get_fridge`: Fridge contents. Everything in the user's fridge: name, quantity, category, expiry date and (when known) per-unit macros. Use it before suggesting meals from what they already own.
- `add_fridge_item`: Add a fridge item. WRITE: add an item to the fridge. Confirm with the user first. Category is a short label such as dairy, produce, meat, pantry.
- `delete_fridge_item`: Remove a fridge item. WRITE: remove an item from the fridge by id. Confirm with the user first.
- `get_shopping_list`: Shopping list. The current shopping list with item names, quantities, categories and completion state.
- `add_shopping_item`: Add a shopping item. WRITE: add one item to the shopping list (creates the list when missing). Confirm with the user first.
- `update_shopping_item`: Update a shopping item. WRITE: tick an item off (isCompleted=true) or edit its name/quantity. Confirm with the user first.

### Analytics

- `get_available_metrics`: Available metrics. List metric IDs, units and supported aggregations.
- `get_available_dimensions`: Available dimensions. List supported time dimensions.
- `get_metric_analytics`: Metric analytics. Metric series with freshness metadata and date range.
- `compare_periods`: Compare periods. Compares the same metric across two date ranges.
- `get_correlations`: Metric correlation. Pearson correlation over paired observations, without causal interpretation.

### Dashboards

- `create_dashboard`: Create dashboard. WRITE: creates a private dashboard from a versioned JSON configuration. Generate clientRequestId once per request and reuse it for retries.
- `get_dashboard`: Get dashboard. Gets dashboard configuration and data for every widget.
- `list_dashboards`: List dashboards. Lists dashboards owned by the authenticated user.
- `update_dashboard`: Update dashboard. WRITE: updates a dashboard and accepts expectedVersion.
- `delete_dashboard`: Delete dashboard. DESTRUCTIVE: permanently deletes a dashboard after confirmation.

### Agent memory

- `list_agent_memory`: List saved memory. Reads preferences and context saved by the user.
- `save_agent_memory`: Save memory. WRITE: creates or updates a memory entry. Save only when explicitly asked; do not store credentials or inferred medical details.
- `delete_agent_memory`: Delete a memory entry. DESTRUCTIVE: permanently deletes the selected entry after confirming its contents with the user.

## Conventions

- Dates are YYYY-MM-DD in the user's timezone. Ranges are inclusive except GET /nutrition, which is half-open (the tool compensates).
- log_activity takes minutes and converts to seconds; water is in milliliters; weight is in kilograms; macros are grams.
- List tools accept a limit and usually default to a small page.
- Write tools perform the operation after your approval in the chat; the assistant always shows the exact values before saving.
- Every result is a JSON object returned twice: as content[0].text and as structuredContent.

---

[Fitaily MCP na GitHubie](https://github.com/rafafau/fitaily-mcp)
