Skip to main content
Glama

Rechercher des compléments

rechercher_produits
Read-only

Cherche dans le catalogue BonIndice (compléments alimentaires et nutrition sportive vendus en France) par texte, forme biochimique, catégorie ou marque, avec filtres de note, de santé, de prix et de déclaration DGAL. Renvoie pour chaque produit la note d'efficacité (sur 10, sur 100 et en lettre) et son objectif, la forme, la dose par jour, la lettre santé, le prix par jour, le contrôle annoncé et l'adresse de la fiche. Quand les résultats tiennent dans une seule catégorie, joint ses sources scientifiques vérifiables (preuve sur 100, PMID et lien PubMed de l'étude de référence, contexte de carence EFSA / INCA 3 / Esteban pour les nutriments essentiels). Questions types : « quel magnésium a le meilleur rapport qualité/prix ? », « créatine la moins chère bien notée ».

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

Input Schema

NameRequiredDescriptionDefault
triNo« rapport_qualite_prix » (par défaut) : efficacité A et santé ≥ 90 du moins cher au plus cher, puis les autres A, puis les B, jamais un D ou un E devant un A ; « note » : meilleure efficacité d'abord (puis santé, DGAL, prix) ; « prix » : moins cher par jour d'abord.rapport_qualite_prix
limitNoNombre de résultats (10 par défaut, 25 au plus).
queryNoTexte libre : nom, marque, ingrédient ou forme (« créatine », « magnésium bisglycinate »).
marqueNoMarque, par exemple « Myprotein ».
note_minNoNote d'efficacité minimale sur 10 (8 = lettre A, 6,5 = B).
categorieNoCatégorie (slug ou nom), par exemple « creatine », « magnésium ».
sante_minNoLettre santé minimale (« A » : A seulement ; « B » : A ou B).
declare_dgalNotrue : seulement les produits à déclaration active dans Compl'Alim (DGAL) ; false : les autres.
prix_max_jourNoPrix par jour maximal, en euros.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the description is free to add real behavioral detail. It does: it discloses the per-product return payload (note on 10/100/letter, objectif, forme, dose journalière, lettre santé, prix/jour, contrôle annoncé, URL de fiche) and a non-obvious conditional behavior — scientific sources with PMID and PubMed links are attached only when results fall within a single category. That conditional attachment is exactly the kind of behavior an agent could not infer from structured fields.

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?

The description is front-loaded: search scope first, then return payload, then the conditional scientific-sources behavior, with example queries last. It is dense but every clause carries information; the long enumeration of returned fields is justified because there is no output schema. Minor cost is that the middle sentence is a heavy run-on list.

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

Completeness5/5

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

With nine optional parameters, no output schema, and a non-trivial conditional enrichment path, the description carries exactly the load it needs to: it explains what comes back for each result and the single-category source-attachment rule. Nothing an agent needs in order to call this correctly and interpret the response is missing.

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% and the enum descriptions are unusually rich (tri documents its full sort order including tie-breaking rules, note_min maps 8 to letter A). The description restates the filter families (note, santé, prix, DGAL) but adds no parameter-level syntax or constraint beyond what the schema already states, so the baseline 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 opens with a specific verb and resource ('Cherche dans le catalogue BonIndice') and immediately scopes it to supplements and sports nutrition sold in France. It then enumerates the searchable axes (texte, forme biochimique, catégorie, marque) and the available filter dimensions, so an agent can distinguish this from fiche_produit or comparer_produits 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?

Usage is conveyed only indirectly, through two example questions ('quel magnésium a le meilleur rapport qualité/prix ?', 'créatine la moins chère bien notée'), which correctly signal exploratory/discovery queries. There is no explicit statement of when to prefer this over sibling tools such as fiche_produit for a single product or comparer_produits for a head-to-head, and no exclusions.

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