Analyze Meal
analyze_mealAnalyze a meal with multiple items in one call. Returns macro totals and optional comparison to personalized targets.
Instructions
PREFERRED tool whenever the user describes a whole meal (two or more items): resolves every item in ONE call and returns macro totals plus target comparison. Do NOT decompose a meal into separate konbini_item/restaurant_meal/search_food lookups. In clients that support MCP Apps it also renders a visual nutrition label. Recognizes counts ('2 eggs'), weights ('200g rice'), fractions ('half avocado', '3/4 portion'), and restaurant size names ('Nakau large oyakodon'). Optional user_profile compares totals against personalized targets (pass it whenever the user shares their stats).
自然言語の食事リストを解析し、PFC・繊維・ナトリウムの合計を返します。「2個」「200g」「半分」「3/4」「Nakau 大盛」など多様な指定に対応。user_profile を渡すと個別目標との差分も返します。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Free-form meal items (EN or JP). Examples: ['1 oikos plain', '200g rice', 'Nakau large oyakodon, 3/4 rice']. 食事項目。 | |
| user_profile | No | Optional user profile. When present, totals are compared against personalized targets. ユーザー情報。 |