get_nutrient_summary
Summarize logged micronutrient (and macro) intake for one day or a short range, with each nutrient's target and coverage. use: "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 today
days: 1 = just date; a range = the number of days ending on date ("this week" -> days=7)
nutrients: default = every nutrient with logged data this period except amino acids (rarely tracked; they would crowd out the rest). Name specific nutrients (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: that day's totals. days>1: 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 per the dictionary below. Never repeat a nutrient's name or unit to the user straight 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: 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.
NUTRIENT ID DICTIONARY (id=name, unit per the id; also used by the id field of get_nutrient_history/get_nutrient_contributors): 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 sum the logged items that carry a value for the nutrient; coverage says how many did. Partial coverage -> say "based on foods with X data". Never call a low intake a deficiency; intake is not a lab result. Supplement vs food is reported separately. A daily supplement counts on every active day by default (the user is not 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 when days=1. YYYY-MM-DD; omit for today (the user's own timezone). | |
| days | No | Days ending on date; default 1. | |
| format | No | compact (default) packs values by nutrient id, see FORMAT. verbose spells out each nutrient's name and unit. | |
| nutrients | No | Nutrient names or aliases to restrict to, e.g. ["vitamin_d","calcium"]. Default: see INFER. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Human-readable result text returned by the tool. |