mfp_get_food_details
Retrieve complete nutritional breakdown for a specific food item using its MyFitnessPal ID, including calories, macros, fiber, sugar, vitamins, minerals, and serving sizes.
Instructions
Get detailed nutritional information for a specific food item by its MFP ID.
Returns complete nutrition breakdown including calories, macros (protein, carbs, fat),
fiber, sugar, sodium, cholesterol, vitamins, minerals, and available serving sizes.
Args:
params: GetFoodDetailsInput containing:
- mfp_id (str): MyFitnessPal food item ID from search results
- response_format (str): 'markdown' or 'json'
Returns:
str: Complete nutritional information for the food item
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_food_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |