get_nutrient_summary
Summarize one day or a short range of logged micronutrient and macro intake, including targets and coverage, to check nutrients like vitamin D, sodium, or iron.
Instructions
Summarize logged micronutrient (and macro) intake for one day or a short range, with each nutrient's target and coverage. Use for "how's my vitamin D / sodium / iron this week", or a general "how are my micronutrients looking" (default: every tracked nutrient except amino acids, for today).
INFER -- do not ask:
date: default to today (resolved in the user's own timezone)
days: default to 1 (just
date); for a range, set days to the number of days ending ondate(e.g. "this week" -> days=7)nutrients: default to every nutrient with logged data this period, excluding amino acids (those are rarely tracked and would crowd out the rest). Ask for specific nutrients by name (aliases like "b12", "carbs", "fibre" resolve) only to see amino acids or a nutrient with no data yet.
Returns up to 60 nutrients. days=1 reports that day's totals; days>1 reports the range average per nutrient plus how many days were complete.
FORMAT: default 'compact' packs each panel (known/food/supplement/target_value/target_upper_limit/target_percent) as one "id:value;id:value" string, ids ascending, values to at most 3 significant digits, units are the dictionary's below -- never repeat a nutrient's name or unit back to the user from these strings, resolve the id first. coverage/items_total/items_with_value/estimated_items/target_source/target_kind stay small id-keyed records. A nutrient outside the dictionary (amino acids, Cronometer extras) has no id, so its value is dropped and its name listed once under omitted; call again with format:'verbose' to see it. 'verbose' returns one full object per nutrient instead, as before.
NUTRIENT ID DICTIONARY (id=name, unit per the id; also used by get_nutrient_history/get_nutrient_contributors's id field):
undefined
DATA COMPLETENESS: totals are sums over the logged items that carry a value for that nutrient; coverage tells how many did. Say "based on foods with X data" when coverage is partial; never call a low intake a deficiency; intake is not a lab result; supplement vs food split is reported separately. A daily supplement counts on every day it's active by default -- the user isn't expected to check it off -- unless a day was explicitly marked not taken, so its share of a total can include days with no check-in.
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": "get_nutrient_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | End date (or the only date if days=1). Format: YYYY-MM-DD. Optional -- omit for today. | |
| days | No | How many days, ending on date. Optional -- default 1. | |
| format | No | compact (default) packs values by nutrient id, see FORMAT above. verbose spells out each nutrient's name and unit. | |
| nutrients | No | Nutrient names or aliases to restrict to (e.g. ["vitamin_d","calcium"]). Optional -- default is every nutrient with data except amino acids. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Human-readable result text returned by the tool. |