Skip to main content
Glama

Analyser une stack de compléments

analyser_stack
Read-only

Analyse une combinaison de produits pris ensemble : coût total par jour, mois et an ; tous les ingrédients cumulés avec leur dose par jour ; doublons ; comparaison aux valeurs de l'EFSA (limites hautes et niveaux sans inquiétude) ; lien partageable.

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": {
      "slugs": "<slugs>"
    },
    "name": "analyser_stack"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugsYesSlugs des produits pris ensemble (30 au plus).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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=false. The description adds real value beyond that by disclosing the computed outputs (coûts, ingrédients cumulés, doublons, comparaison EFSA) and a 'lien partageable', which matters since no output schema exists; a shareable link under readOnlyHint is consistent, not contradictory. It does not state currency/units for the cost figures or what happens on partial/invalid slugs.

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 sentence, front-loaded with the action and followed by a semicolon-separated list of outputs. Every clause maps to something the tool actually returns; the only mild weakness is that the enumeration is a run-on rather than formatted, but nothing is wasted.

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

Completeness4/5

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

With no output schema, the description carries the burden of describing return content and does so explicitly (costs, cumulative doses, duplicates, EFSA thresholds, share link). Since annotations cover the safety profile and the single parameter is fully documented, the remaining gaps (currency of costs, behavior at the 30-slug cap or with duplicates in input) are minor for a read-only one-parameter analysis.

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?

There is a single required parameter, slugs, and its schema description already covers the meaning and the 30-item cap at 100% coverage. The description adds nothing to the parameter itself (e.g. that slugs must be product slugs from the catalog or that listing order matters), so the schema does the work and the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb + resource ('Analyse une combinaison de produits pris ensemble') and then enumerates exactly what the analysis returns: total cost per day/month/year, cumulative ingredients with daily doses, duplicates, EFSA comparison and a shareable link. An agent can distinguish this stack-analysis tool from a single-product lookup or a pairwise comparator without opening the schema.

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?

'pris ensemble' and 'combinaison de produits' imply the multi-product scenario and indirectly contrast with single-product tools, but no sibling is named and there is no explicit when/when-not guidance against comparer_produits or verdict_scientifique. Usage must be inferred from the wording rather than stated.

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.

Resources