mfp_get_diary
Retrieve your MyFitnessPal food diary for any date, including all meals, nutritional breakdowns, daily totals, and goals. Get detailed food entries with calories, protein, carbs, and more.
Instructions
Get the food diary for a specific date including all meals and their nutritional information.
Returns meals (Breakfast, Lunch, Dinner, Snacks) with each food entry's name,
quantity, and complete nutrition breakdown (calories, protein, carbs, fat, etc.).
Also includes daily totals and goals.
Args:
params: GetDiaryInput containing:
- date (str, optional): Date in YYYY-MM-DD format, defaults to today
- response_format (str): 'markdown' or 'json'
Returns:
str: Formatted diary data with meals, entries, nutrition, and goals
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"params": "<params>"
},
"name": "mfp_get_diary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |