Skip to main content
Glama

Nutrients: proof-backed nutrition data

check_intake

Read-only

A day's foods and supplements against intakes and limits for a population. Misses carry contribute.

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": {
      "items": "<items>"
    },
    "name": "check_intake"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes
fieldsNo
localeNo
regimeNo
populationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed17 schema fields changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / properties / fields / description
      Removed value: -"Only report findings for these nutrient keys (e.g. [\"protein\",\"sodium\"]); a group name covers its keys. Default: every nutrient with a reference value."
    • removedInput schema / properties / fields / maxItems
      Removed value: -100
    • changedInput schema / properties / items / items / anyOf
      Previous value: -[
      -  {
      -    "description": "A phrase, as resolve takes it: \"2 large eggs\".",
      -    "maxLength": 300,
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  {
      -    "properties": {
      -      "id": {
      -        "description": "Entity id, e.g. fd_k3m9x2q8vt7w4p (food), pr_ (product), sp_ (supplement), mi_ (menu item), rc_ (recipe). A source id also works: fdc:<USDA fdcId>, ndb:<NDB number>, dsld:<DSLD id>, fndds:<food code>, lnhpd:<LNHPD id>, ciqual:<alim_code>, cnf:<food code>, cofid:<food code>, matvaretabellen:<food id>, slv:<Livsmedelsverket number>.",
      -        "maxLength": 64,
      -        "minLength": 3,
      -        "type": "string"
      -      },
      -      "quantity": {
      -        "description": "Defaults to 1.",
      -        "exclusiveMinimum": 0,
      -        "type": "number"
      -      },
      -      "text": {
      -        "description": "Free text instead of an id, e.g. \"2 large eggs scrambled\". Resolved first.",
      -        "maxLength": 300,
      -        "type": "string"
      -      },
      -      "unit": {
      -        "description": "g, oz, ml, cup, tbsp, serving, slice, capsule... Defaults to \"serving\" for products and supplements, \"g\" with quantity 100 otherwise.",
      -        "maxLength": 32,
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "properties": {
      +      "id": {
      +        "type": "string"
      +      },
      +      "quantity": {
      +        "type": "number"
      +      },
      +      "text": {
      +        "type": "string"
      +      },
      +      "unit": {
      +        "type": "string"
      +      }
      +    }
      +  }
      +]
    • removedInput schema / properties / items / maxItems
      Removed value: -200
    • removedInput schema / properties / items / minItems
      Removed value: -1
    • removedInput schema / properties / locale / description
      Removed value: -"BCP 47 locale, e.g. en-US, en-GB, ja-JP. Decides household measure sizes (a US cup is 236.6 ml, a metric cup 250 ml)."
    • removedInput schema / properties / locale / maxLength
      Removed value: -16
    • removedInput schema / properties / population / properties / age_years / default
      Removed value: -30
    • removedInput schema / properties / population / properties / age_years / maximum
      Removed value: -120
    • removedInput schema / properties / population / properties / age_years / minimum
      Removed value: -0
    • removedInput schema / properties / population / properties / jurisdiction / description
      Removed value: -"Whose reference values: US (NIH ODS RDA/AI/UL, Dietary Guidelines CDRR, FDA Daily Values), EU (Regulation 1169/2011 RI/NRV) or UK (its assimilated Annex XIII RI/NRV and Public Health England's Government Dietary Recommendations: RNI, EAR and \"less than\" MAX goals). CA is accepted but holds no values of its own (no Canadian publication of them allows commercial reproduction): a Canadian question is answered with US, UK and EU values, each labelled with its jurisdiction and fallback: true. Each jurisdiction's own values come first; for a property and kind it does not hold, another held jurisdiction's values follow, each labelled with its own jurisdiction and fallback: true, never presented as the asked one. A jurisdiction not listed (AU, ...) is refused with this list, never answered with an empty list."
    • removedInput schema / properties / population / properties / jurisdiction / type
      Removed value: -"string"
    • removedInput schema / properties / population / properties / life_stage / type
      Removed value: -"string"
    • removedInput schema / properties / population / properties / sex / type
      Removed value: -"string"
    • removedInput schema / properties / population / type
      Removed value: -"object"
    • removedInput schema / properties / regime / description
      Removed value: -"With fields: add values derivable for this regime to every item and the totals (e.g. EU adds salt from sodium), each marked derived_from. Without it, a requested field only sodium can give is null with a reason saying so."
  2. Changed2 schema fields changed
    • changedInput schema / properties / population / properties / jurisdiction / description
      Previous value: -"Whose reference values: US (NIH ODS RDA/AI/UL, Dietary Guidelines CDRR, FDA Daily Values), EU (Regulation 1169/2011 RI/NRV) or UK (its assimilated Annex XIII RI/NRV and Public Health England's Government Dietary Recommendations: RNI, EAR and \"less than\" MAX goals). Each jurisdiction's own values come first; for a property and kind it does not hold, another held jurisdiction's values follow, each labelled with its own jurisdiction and fallback: true, never presented as the asked one. A jurisdiction not held (CA, AU, ...) is refused with this list, never answered with an empty list."New value: +"Whose reference values: US (NIH ODS RDA/AI/UL, Dietary Guidelines CDRR, FDA Daily Values), EU (Regulation 1169/2011 RI/NRV) or UK (its assimilated Annex XIII RI/NRV and Public Health England's Government Dietary Recommendations: RNI, EAR and \"less than\" MAX goals). CA is accepted but holds no values of its own (no Canadian publication of them allows commercial reproduction): a Canadian question is answered with US, UK and EU values, each labelled with its jurisdiction and fallback: true. Each jurisdiction's own values come first; for a property and kind it does not hold, another held jurisdiction's values follow, each labelled with its own jurisdiction and fallback: true, never presented as the asked one. A jurisdiction not listed (AU, ...) is refused with this list, never answered with an empty list."
    • changedInput schema / properties / population / properties / jurisdiction / enum
      Previous value: -[
      -  "US",
      -  "EU",
      -  "UK"
      -]New value: +[
      +  "US",
      +  "EU",
      +  "UK",
      +  "CA"
      +]
  3. Changed2 schema fields changed
    • changedInput schema / properties / population / properties / jurisdiction / description
      Previous value: -"Whose reference values: US (NIH ODS RDA/AI/UL, Dietary Guidelines CDRR, FDA Daily Values) or EU (Regulation 1169/2011 RI/NRV, which UK labels also use). No other jurisdiction is held yet: CA, UK, AU and the rest are refused with this list, never answered with an empty list."New value: +"Whose reference values: US (NIH ODS RDA/AI/UL, Dietary Guidelines CDRR, FDA Daily Values), EU (Regulation 1169/2011 RI/NRV) or UK (its assimilated Annex XIII RI/NRV and Public Health England's Government Dietary Recommendations: RNI, EAR and \"less than\" MAX goals). Each jurisdiction's own values come first; for a property and kind it does not hold, another held jurisdiction's values follow, each labelled with its own jurisdiction and fallback: true, never presented as the asked one. A jurisdiction not held (CA, AU, ...) is refused with this list, never answered with an empty list."
    • changedInput schema / properties / population / properties / jurisdiction / enum
      Previous value: -[
      -  "US",
      -  "EU"
      -]New value: +[
      +  "US",
      +  "EU",
      +  "UK"
      +]
  4. Changed4 schema fields changed
    • addedInput schema / properties / fields
      Added value: +{
      +  "description": "Only report findings for these nutrient keys (e.g. [\"protein\",\"sodium\"]); a group name covers its keys. Default: every nutrient with a reference value.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 100,
      +  "type": "array"
      +}
    • changedInput schema / properties / population / properties / jurisdiction / description
      Previous value: -"Whose reference values: US (NIH ODS, Dietary Guidelines, FDA), EU (1169/2011), ..."New value: +"Whose reference values: US (NIH ODS RDA/AI/UL, Dietary Guidelines CDRR, FDA Daily Values) or EU (Regulation 1169/2011 RI/NRV, which UK labels also use). No other jurisdiction is held yet: CA, UK, AU and the rest are refused with this list, never answered with an empty list."
    • addedInput schema / properties / population / properties / jurisdiction / enum
      Added value: +[
      +  "US",
      +  "EU"
      +]
    • addedInput schema / properties / regime
      Added value: +{
      +  "description": "With fields: add values derivable for this regime to every item and the totals (e.g. EU adds salt from sodium), each marked derived_from. Without it, a requested field only sodium can give is null with a reason saying so.",
      +  "type": "string"
      +}
  5. Changed1 schema field changed
    • changedInput schema / properties / items / items / anyOf
      Previous value: -[
      -  {
      -    "description": "A phrase, as resolve takes it: \"2 large eggs\".",
      -    "maxLength": 300,
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  {
      -    "properties": {
      -      "id": {
      -        "description": "Entity id, e.g. fd_k3m9x2q8vt7w4p (food), pr_ (product), sp_ (supplement), mi_ (menu item), rc_ (recipe). A source id also works: fdc:<USDA fdcId>, ndb:<NDB number>, dsld:<DSLD id>, fndds:<food code>.",
      -        "maxLength": 64,
      -        "minLength": 3,
      -        "type": "string"
      -      },
      -      "quantity": {
      -        "description": "Defaults to 1.",
      -        "exclusiveMinimum": 0,
      -        "type": "number"
      -      },
      -      "text": {
      -        "description": "Free text instead of an id, e.g. \"2 large eggs scrambled\". Resolved first.",
      -        "maxLength": 300,
      -        "type": "string"
      -      },
      -      "unit": {
      -        "description": "g, oz, ml, cup, tbsp, serving, slice, capsule... Defaults to \"serving\" for products and supplements, \"g\" with quantity 100 otherwise.",
      -        "maxLength": 32,
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "description": "A phrase, as resolve takes it: \"2 large eggs\".",
      +    "maxLength": 300,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "properties": {
      +      "id": {
      +        "description": "Entity id, e.g. fd_k3m9x2q8vt7w4p (food), pr_ (product), sp_ (supplement), mi_ (menu item), rc_ (recipe). A source id also works: fdc:<USDA fdcId>, ndb:<NDB number>, dsld:<DSLD id>, fndds:<food code>, lnhpd:<LNHPD id>, ciqual:<alim_code>, cnf:<food code>, cofid:<food code>, matvaretabellen:<food id>, slv:<Livsmedelsverket number>.",
      +        "maxLength": 64,
      +        "minLength": 3,
      +        "type": "string"
      +      },
      +      "quantity": {
      +        "description": "Defaults to 1.",
      +        "exclusiveMinimum": 0,
      +        "type": "number"
      +      },
      +      "text": {
      +        "description": "Free text instead of an id, e.g. \"2 large eggs scrambled\". Resolved first.",
      +        "maxLength": 300,
      +        "type": "string"
      +      },
      +      "unit": {
      +        "description": "g, oz, ml, cup, tbsp, serving, slice, capsule... Defaults to \"serving\" for products and supplements, \"g\" with quantity 100 otherwise.",
      +        "maxLength": 32,
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  }
      +]
  6. Changed3 schema fields changed
    • addedInput schema / properties / items / items / anyOf
      Added value: +[
      +  {
      +    "description": "A phrase, as resolve takes it: \"2 large eggs\".",
      +    "maxLength": 300,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "properties": {
      +      "id": {
      +        "description": "Entity id, e.g. fd_k3m9x2q8vt7w4p (food), pr_ (product), sp_ (supplement), mi_ (menu item), rc_ (recipe). A source id also works: fdc:<USDA fdcId>, ndb:<NDB number>, dsld:<DSLD id>, fndds:<food code>.",
      +        "maxLength": 64,
      +        "minLength": 3,
      +        "type": "string"
      +      },
      +      "quantity": {
      +        "description": "Defaults to 1.",
      +        "exclusiveMinimum": 0,
      +        "type": "number"
      +      },
      +      "text": {
      +        "description": "Free text instead of an id, e.g. \"2 large eggs scrambled\". Resolved first.",
      +        "maxLength": 300,
      +        "type": "string"
      +      },
      +      "unit": {
      +        "description": "g, oz, ml, cup, tbsp, serving, slice, capsule... Defaults to \"serving\" for products and supplements, \"g\" with quantity 100 otherwise.",
      +        "maxLength": 32,
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  }
      +]
    • removedInput schema / properties / items / items / properties
      Removed value: -{
      -  "id": {
      -    "description": "Entity id, e.g. fd_k3m9x2q8vt7w4p (food), pr_ (product), sp_ (supplement), mi_ (menu item), rc_ (recipe). A source id also works: fdc:<USDA fdcId>, ndb:<NDB number>, dsld:<DSLD id>, fndds:<food code>.",
      -    "maxLength": 64,
      -    "minLength": 3,
      -    "type": "string"
      -  },
      -  "quantity": {
      -    "description": "Defaults to 1.",
      -    "exclusiveMinimum": 0,
      -    "type": "number"
      -  },
      -  "text": {
      -    "description": "Free text instead of an id, e.g. \"2 large eggs scrambled\". Resolved first.",
      -    "maxLength": 300,
      -    "type": "string"
      -  },
      -  "unit": {
      -    "description": "g, oz, ml, cup, tbsp, serving, slice, capsule... Defaults to \"serving\" for products and supplements, \"g\" with quantity 100 otherwise.",
      -    "maxLength": 32,
      -    "type": "string"
      -  }
      -}
    • removedInput schema / properties / items / items / type
      Removed value: -"object"
  7. First observed

TDQS

C2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. Beyond that, the description adds almost nothing: it does not explain how missing items are handled, how limits are applied per population, or what the result contains. 'Misses carry contribute' gestures at behavior but is too fragmentary to be usable.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences is appropriately short, but the second sentence ('Misses carry contribute') is ungrammatical and opaque, and the first lacks a subject/verb structure. Brevity here reflects under-specification rather than disciplined editing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with five parameters, nested defaults, and enum-bearing population fields, no output schema, and only readOnly annotations, the description should carry the burden of explaining inputs and outputs. It does not come close; an agent would have to infer nearly everything from the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across five parameters, including a nested population object with sex, age_years, life_stage, and jurisdiction enums. The description only echoes 'population' and vaguely references foods and supplements in items; it says nothing about fields, regime, locale, or quantity/unit semantics, so it fails to compensate for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The fragment 'A day's foods and supplements against intakes and limits for a population' conveys the resource and evaluation scope, but there is no explicit verb and no differentiation from siblings such as nutrition, reference_values, or compare. An agent could guess it checks a day's intake, but the sentence reads as a truncated noun phrase rather than a purpose statement.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no exclusions, and no pointer to alternatives like nutrition or reference_values. 'Misses carry contribute' is cryptic and offers no actionable condition for selecting this tool over its siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources