Skip to main content
Glama

Open Food Facts Nutrition Barcodes MCP

Search Open Food Facts catalog

search_products
Read-onlyIdempotent

Search packaged food and beverage products using Open Food Facts v2 facets (brand, category, country, Nutri-Score grade, or NOVA processing group).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_products"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandNoBrand tag (e.g. "nutella", "quaker", "barilla").
countryNoEnglish country tag (e.g. "united-states", "france", "germany").
categoryNoEnglish category tag (e.g. "breakfast-cereals", "yogurts", "dark-chocolates").
page_sizeNoMax products to return (default 15, max 50).
nova_groupNoNOVA processing group filter (1=unprocessed to 4=ultra-processed).
nutriscore_gradeNoNutri-Score grade filter (a through e).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so safety behavior is covered structurally. The description adds only that these are Open Food Facts v2 facets; it says nothing about pagination, default result size, empty-result behavior, rate limits, or what a returned product contains.

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?

One front-loaded sentence that names the action, the data source, and the filterable dimensions with zero filler. Nothing can be trimmed without losing information.

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

Completeness3/5

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

With 6 optional parameters and no output schema, the description should say what a result looks like and how paging works (default 15, max 50), and note that an unfiltered call is legal. Those gaps matter more here because there is no output schema to compensate.

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 description coverage is 100%, so the schema itself documents every parameter with examples and enum/range bounds. The description mirrors the same facet names (brand, category, country, Nutri-Score, NOVA) without adding syntax or combination semantics, and omits page_size entirely, so baseline 3 applies.

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?

States a specific verb (search) plus the resource (packaged food and beverage products) and enumerates the facet dimensions that define the query surface. This implicitly separates it from get_product_by_barcode, which needs a barcode, but the description never names a sibling, so differentiation is inferred rather than stated.

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?

The facet list implies the tool is for filtered/browse-style discovery, but there is no explicit when-to-use or when-not guidance and no mention of the alternative tools (get_nutrition_facts, check_allergens_and_additives, get_product_by_barcode) for single-product lookups. Usage is inferable but not guided.

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.