Skip to main content
Glama

Nutrients: proof-backed nutrition data

explain

Read-only

Every fact behind one value: sources, ranks, dates, and why one is published.

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": {
      "id": "<id>",
      "property": "<property>"
    },
    "name": "explain"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
propertyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / properties / id / description
      Removed value: -"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>."
    • removedInput schema / properties / id / maxLength
      Removed value: -64
    • removedInput schema / properties / id / minLength
      Removed value: -3
  2. Changed1 schema field changed
    • changedInput schema / properties / id / description
      Previous value: -"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>."New value: +"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>."
  3. First observed

TDQS

C2.7/5.0
Behavior3/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. The description adds that the response contains sources, ranks, dates, and a publication rationale, which is genuinely useful context beyond the annotations. It does not disclose result size, ordering guarantees, or behavior when a value has no sources.

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

Conciseness4/5

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

A single front-loaded clause with no filler; the enumeration of returned facts is efficient. The phrasing 'why one is published' is slightly cryptic and a fragment rather than a full sentence, keeping it short of the top mark.

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

Completeness2/5

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

For a two-required-parameter provenance lookup with no output schema and zero parameter documentation, the description should at minimum disambiguate id versus property and note what an empty result means. It describes the return payload loosely but leaves the inputs and edge cases unexplained.

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% for two required string parameters, so the description carries the full burden and fails to explain what 'id' identifies or what form 'property' takes. Saying 'one value' gestures at the id/property pairing but adds no usable meaning for either field. This is the largest gap given both parameters are mandatory.

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 description characterizes what 'explain' returns (sources, ranks, dates, and the rationale for which one is published), which is more than the bare name conveys. However, it never states what the 'one value' is or that it is a property of an identified entity, so the operation's target remains vague without reading the schema. No sibling (describe, get, query, compare, research) is named to delineate scope.

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

Usage Guidelines2/5

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

There is no guidance on when to call this instead of plausible alternatives such as 'describe', 'get', 'query', 'compare', or 'research'. The description implies a provenance-inspection use case, but the agent must infer that condition rather than being told it.

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