Skip to main content
Glama
Nutriscan MCP connector

Nutriscan MCP connector

by si-essence

nutriscore_nova

Read-only

Look up a barcode to get its Nutri-Score letter and NOVA processing group, each with a one-line meaning, for quick food processing and nutrition context.

Instructions

Return the Nutri-Score letter (A best to E worst) and NOVA processing group (1 minimally processed to 4 ultra-processed) for one barcode, each with a one-line meaning. Missing scores are null, not an error. Not medical or dietary advice.

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": {
      "barcode": "<barcode>"
    },
    "name": "nutriscore_nova"
  }
}

Input Schema

NameRequiredDescriptionDefault
barcodeYesBarcode printed on the package (EAN-8, UPC-A, or EAN-13). Digits only; spaces and dashes are ignored.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely useful behavior beyond that: missing scores return null rather than raising an error, each value comes with a one-line meaning, and an explicit 'not medical or dietary advice' disclaimer sets expectations for interpretation.

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?

Three short sentences, front-loaded with the return contract, then the null-on-missing rule, then the disclaimer. No filler and every sentence carries distinct information an agent would act on.

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

Completeness5/5

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

There is no output schema, so the description carries the return contract itself and does so completely: field meanings, letter and group ranges, and null handling for missing data. Combined with annotations and a fully documented single parameter, nothing an agent needs to call this correctly is absent.

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 100% and the single barcode parameter is fully documented in the schema (EAN-8/UPC-A/EAN-13, digits only, separators ignored). The description only reinforces the cardinality constraint ('one barcode'), so the baseline 3 applies with no meaningful semantics added.

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 gives a specific verb+resource: returns the Nutri-Score letter and NOVA processing group for a single barcode, and even defines both scales inline (A best–E worst; 1 minimally processed–4 ultra-processed). An agent can tell this computes derived ratings rather than raw nutrient data, which separates it from nutrients_per_serving and barcode_lookup, though no sibling tool is named explicitly.

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 only implied by the phrase 'for one barcode', which hints that multi-product comparison belongs to compare_products, but there is no explicit when-to-use or when-not-to-use guidance. The reader must infer that this is the scoring tool versus the raw lookup and search siblings.

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