Compare Sources
compare_sourcesCompare one generic food across national food composition databases: Nutriely's own values next to the same food in each database that has it (Fineli for Finland, USDA for the US, BLS for Germany, Ciqual for France, CoFID for the UK...), per 100 g, with each database's own food name, version and a link to its entry. Use for questions such as "how much vitamin C does a potato have in different databases?" or "why do apps disagree on this food?". Only generic catalog foods have database matches, and a database is only listed when it has the same food, never a near match. Values marked in estimated_in were derived or borrowed by that database rather than measured. Energy (ENERC) is in kJ: divide by 4.184 for kcal.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"food_id": "<food_id>"
},
"name": "compare_sources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codes | No | Nutrient codes to compare, such as ["VITC", "K"]. Leave out for every nutrient at least two databases have. | |
| food_id | Yes | The food id. |