Skip to main content
Glama

nutrition-intelligence

label

The item's nutrition panel as a given country would print it (rounding, basis, mandatory nutrients, salt vs sodium, carbohydrate definition). Values that cannot be derived exactly come back null with the reason; derived rows (salt from sodium, kJ from kcal) list derived_from. "allergens" lists the regime's declared allergens the item contains; it is null, with a note, when no source declares allergens for the item, and [] only when a source states it contains none.

Input Schema

NameRequiredDescriptionDefault
idYesEntity 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>.
basisNo
regimeNoUS, CA, EU, UK, AU_NZ, JP, CN, CODEXUS

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the behavioral disclosure burden and does well by explaining that non-derivable values return null with a reason, derived rows include derived_from, and allergens distinguish null-with-note from an explicit empty array. It does not cover error behavior or confirm read-only/computational nature, but the key output semantics are disclosed.

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

Conciseness5/5

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

The description is dense but front-loaded, beginning with the core purpose and then covering derivation behavior and allergen edge cases. Every sentence adds useful semantic information without filler.

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

Completeness4/5

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

Given the absence of an output schema, the description explains important return-value semantics such as null reasons, derived_from, and allergen null vs empty-array behavior. It could say more about the overall panel structure and the basis parameter, but it is largely complete for a three-parameter read/compute tool.

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

Parameters3/5

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

Schema coverage is 67%, with id and regime already described in the schema. The description adds context for regime by referring to a given country's printing rules, but it does not clarify the basis parameter's effect or default beyond the enum values already in the schema.

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

Purpose4/5

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

The description states a specific resource and operation: return an item's nutrition panel formatted according to a country regime, including rounding, mandatory nutrients, salt vs sodium, and carbohydrate definitions. It is clear what the tool produces, but it does not explicitly differentiate itself from siblings such as nutrition or label_lines.

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

Usage Guidelines3/5

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

Usage is implied by the phrase 'as a given country would print it,' which suggests this tool is for country-specific label output rather than raw nutrient lookup. However, there is no explicit when-to-use guidance, no alternatives named, and no routing away from sibling tools.

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