get_nutrient_summary
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):
1=fiber_g
2=sugar_g
3=saturated_fat_g
4=monounsaturated_fat_g
5=polyunsaturated_fat_g
6=trans_fat_g
7=cholesterol_mg
8=sodium_mg
9=potassium_mg
10=calcium_mg
11=iron_mg
12=magnesium_mg
13=phosphorus_mg
14=zinc_mg
15=copper_mg
16=manganese_mg
17=selenium_ug
18=chloride_mg
19=chromium_ug
20=iodine_ug
21=molybdenum_ug
22=vitamin_a_ug
23=vitamin_c_mg
24=vitamin_d_ug
25=vitamin_e_mg
26=vitamin_k_ug
27=thiamin_b1_mg
28=riboflavin_b2_mg
29=niacin_b3_mg
30=pantothenic_acid_b5_mg
31=vitamin_b6_mg
32=biotin_b7_ug
33=folate_b9_ug
34=folic_acid_ug
35=vitamin_b12_ug
36=choline_mg
37=omega3_g
38=omega6_g
39=caffeine_mg
40=water_g
41=starch_g
42=added_sugar_g
43=total_unsaturated_fat_g
44=fluoride_mg
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.
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. |