Skip to main content
Glama

Comparer deux produits

comparer_produits
Read-only

Compare deux produits : notes, prix, écart de coût par jour, par mois et par an, gagnant de chaque critère comparable, et lien de comparaison 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": {
      "slug_a": "<slug_a>",
      "slug_b": "<slug_b>"
    },
    "name": "comparer_produits"
  }
}

Input Schema

NameRequiredDescriptionDefault
slug_aYesSlug du premier produit.
slug_bYesSlug du second produit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds useful context by disclosing what is computed (per-day/month/year cost gap, per-criterion winner) and that a shareable link is produced — the latter is worth flagging since it hints at generated output despite readOnlyHint. Nothing is said about behavior with unknown/invalid slugs or incomparable products.

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 sentence, front-loaded with the verb, that spends its words on the enumerated return content rather than filler. Slightly dense as an output dump, but every clause carries information an agent needs since there is no output schema.

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?

With no output schema, the description does its main job by listing return fields, and the read-only annotations cover safety. However, it omits edge-case behavior (nonexistent slug, products with no comparable criteria) and says nothing about what "lien de comparaison partageable" means operationally — persisted link, expiration, or deterministic URL.

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%, so both slug_a and slug_b are already documented as product slugs. The description only reinforces that the two arguments are the two products compared; it adds no format, lookup, or validation semantics beyond the schema. Baseline 3 applies.

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?

"Compare deux produits" gives a specific verb plus resource, and the description then enumerates concrete outputs (notes, prix, écart de coût par jour/mois/an, gagnant par critère, lien partageable), so an agent knows exactly what comes back. No sibling (fiche_produit, comparer_formes) is named to mark the boundary, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use statement, no prerequisites, and no exclusion such as "use fiche_produit for a single product". The use case is only inferable from the purpose sentence, and the restriction to exactly two products (slug_a / slug_b) is left to the schema.

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