Today's nutrition
malai_get_today_nutritionMALAI: Get what the user has eaten today against their MALAI targets: calories, protein, carbs, fat and fiber eaten vs target, what is left (especially protein), and how many entries are logged. Use for "how am I doing today", "how much protein do I have left", "am I on track", or before suggesting what to eat. These are the user's real logged numbers; do not estimate them.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "malai_get_today_nutrition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Local date, YYYY-MM-DD. | |
| note | Yes | ||
| eaten | Yes | ||
| entries | Yes | Number of food log entries today. | |
| targets | Yes | Null when the user has no targets yet. | |
| remaining | Yes | Target minus eaten; null without targets. | |
| isPlaceholderProfile | Yes | True if the profile was never filled in; targets are then not personal. |