Skip to main content
Glama

product_allergeni_diete

Prodotti SICURI per un profilo di allergie/diete in una categoria: filtra i prodotti (4,6M Open Facts) senza nessuno degli allergeni indicati, con la dieta richiesta (vegan/vegetariano/senza zuccheri/senza sale) e, se vuoi, solo ecoscore A. Esempio: categoria='pasta', profilo={"allergeni":["glutine"],"dieta":"vegan"}.

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": "product_allergeni_diete"
  }
}

Input Schema

NameRequiredDescriptionDefault
profiloNo
categoriaNo
solo_eco_aNo
max_resultsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose meaningful behavior beyond the name: exclusion semantics ('senza nessuno degli allergeni indicati'), the supported diet values (vegan/vegetariano/senza zuccheri/senza sale), and the optional eco-score A restriction. It omits return format, pagination, the default of 20 results, and what happens when profilo is null.

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 dense sentence followed by a compact example; the filtering rules and the optional eco-score filter are front-loaded. Capitalized emphasis ('SICURI') and some redundancy are minor, and nothing is genuinely wasted.

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?

For a 4-parameter tool with a nested object, no annotations, and no output schema, the description covers the core filtering logic and gives a working example, which is the essential part. It still leaves the response shape, result limit behavior, and allergen vocabulary undocumented, so an agent can call it but cannot predict its output.

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 0% with a nested, free-form 'profilo' object, so the description must compensate. It usefully reveals the object's keys ('allergeni' array and 'dieta' string) and shows categoria and solo_eco_a in use, but max_results is never mentioned and no allergen-name format or accepted values are specified.

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 verb and resource: it filters products in a category by an allergy/diet profile, excluding any listed allergens and optionally requiring eco-score A, over a named dataset ('4,6M Open Facts'). This is concrete enough to separate it from generic siblings such as product_search or product_filter_extract, though it never names an alternative 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 conveyed mainly through the worked example (categoria='pasta', profilo={"allergeni":["glutine"],"dieta":"vegan"}), which implies the tool is for filtered allergen/diet product lookups. There is no explicit statement of when to prefer it over sibling product tools, nor any exclusion or prerequisite guidance.

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.