Skip to main content
Glama

product_eco_ranking

Top N prodotti per ecoscore (da A in giù, soglia B) in una categoria o brand: 4,6M Open Facts con ecoscore già popolato. Esempio: categoria='latte', n=10.

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_eco_ranking"
  }
}

Input Schema

NameRequiredDescriptionDefault
nNo
brandNo
eco_minNoB
categoriaNo

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?

With no annotations, the description must carry the behavioral load; it does disclose the underlying corpus (4.6M Open Facts records with ecoscore already populated), which tells the agent that results are limited to products that have an ecoscore. It does not state that the operation is read-only, whether results are paginated, tie-breaking or sort order, or what happens when filters match nothing.

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?

Two compact sentences: the core ranking semantics come first, followed by data-scale context and a worked example. Every element is useful, though the '4,6M Open Facts' figure is more marketing than operational guidance.

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 read-only ranking tool with no annotations and no output schema, the definition covers purpose and filters but leaves the response shape undescribed (list of products with ecoscore? ranked order field?). It is adequate to start a call but not complete enough to predict what comes back or how to handle empty filters.

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 touches all four parameters at least implicitly (n as top-N count, categoria and brand as filters, eco_min as the 'soglia B' threshold with A as the best grade). However it never states the valid domain of eco_min (A–E?), how a grade threshold interacts with brand-only filtering, or how empty strings for categoria/brand behave.

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+resource: ranking the top N products by ecoscore within a category or brand. The parenthetical '(da A in giù, soglia B)' clarifies the ranking direction and cutoff, so the agent knows this is an ecoscore leaderboard rather than a general search. It does not name a sibling such as product_search or product_filter_extract, so differentiation relies on the reader knowing what those do.

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 phrase 'in una categoria o brand' plus a concrete example call (categoria='latte', n=10), which shows the intended invocation shape. There is no explicit when-to-use versus the other product_* tools, and no statement of what happens when both filters are empty or when to prefer this over product_filter_extract.

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.