Skip to main content
Glama

Nutrients: proof-backed nutrition data

flag

Report a value that looks wrong, or a fake label photo (proof_id). Free.

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": {
      "reason": "<reason>"
    },
    "name": "flag"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
reasonYes
proof_idNo
propertyNo
evidence_urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / properties / evidence_url / format
      Removed value: -"uri"
    • 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
    • removedInput schema / properties / proof_id / description
      Removed value: -"A photo proof to flag as fake or wrong: every value it currently proves is flagged."
    • removedInput schema / properties / proof_id / exclusiveMinimum
      Removed value: -0
    • removedInput schema / properties / proof_id / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / reason / maxLength
      Removed value: -2000
    • removedInput schema / properties / reason / minLength
      Removed value: -5
  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

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the agent knows this is a non-destructive write. The description adds a real behavioral fact not present anywhere else: the call is free, so there is no cost/credit concern. It says nothing about what happens after flagging, whether the flag is reviewed, or whether an existing value is altered, leaving meaningful gaps for a mutation tool.

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?

One short sentence plus a one-word cost note, with the two primary use cases front-loaded and no filler. The telegraphic phrasing ('Free.') is efficient though borderline terse given the undocumented parameters.

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?

This is a five-parameter write tool with zero schema coverage, no output schema, and only minimal annotations. The description covers two parameters loosely and omits what a successful response looks like or what happens to the flagged record, which is too thin for this level of complexity.

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, so the description must carry the load. It only clarifies proof_id (a fake label photo) and vaguely gestures at 'a value' for id/property, leaving reason, property, and evidence_url entirely undefined in both schema and prose. This is only partial compensation for a substantial documentation gap.

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 uses a specific verb (report/flag) and names two concrete targets: an incorrect value and a fake label photo referenced via proof_id. The purpose is understandable without opening the schema. It stops short of a 5 because it never distinguishes this from siblings like feedback or verify, which an agent could plausibly confuse with it.

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 two cases given ('a value that looks wrong' or 'a fake label photo'), which tells the agent when flagging is appropriate. There is no statement about when not to use it, no mention of alternatives such as feedback or verify, and no prerequisites such as requiring an existing record id.

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