Skip to main content
Glama

product_compare

Confronto side-by-side di 2-5 prodotti per nutrizione: 22 campi (macro, micro, grassi, classificazione NutriScore/NOVA/EcoScore) con i vincenti per categoria. Esempio: codici=['8001234567890','4056489441298'].

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": {
      "codici": "<codici>"
    },
    "name": "product_compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
codiciYes
campi_extraNo

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 the return content (22 nutritional fields plus per-category winners) and the input cardinality limit, but says nothing about data sources, freshness, failure behavior for unknown codes, or whether the call has cost/rate implications.

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 dense, front-loaded sentence followed by an example — no filler. The parenthetical field taxonomy is long but each item conveys what will be returned.

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 two-parameter read tool with no output schema and no annotations, the description covers purpose and output shape reasonably well, but leaves 'campi_extra' undefined and says nothing about how to supply or interpret codes beyond a single barcode sample.

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 0%, so the description must compensate. It clarifies 'codici' as product codes via a barcode example and bounds the list to 2-5 entries, but 'campi_extra' is never mentioned, leaving one of two parameters without any meaning beyond its bare name.

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 and resource: side-by-side comparison of 2-5 products on nutrition, with the scope of 22 fields (macros, micros, fats, NutriScore/NOVA/EcoScore) and per-category winners. An agent knows exactly what the tool produces, though it never names how it differs from siblings like product_search or product_ai.

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 2-5 product constraint and a concrete input example imply the intended use, but there is no explicit 'use this when...' guidance and no stated alternative for single-product lookups or for non-nutrition comparisons.

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.