Skip to main content
Glama

comparer_quantites

Chiffre la même pièce pour plusieurs quantités (2 à 8) pour voir l'effet de la quantité sur le prix. 1 unité par quantité.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
detailNoRenvoyer toutes les lignes pour chaque quantité
matiereYesEx. aluminium, acier, inox, fonte, pa6
plan_idYesIdentifiant rendu par POST /plans
quantitesYes
ajustementsNoParamètres du modèle (voir ajustements_possibles dans la réponse)
epaisseur_mmNoPour la tôle si le plan ne la porte pas
nb_campagnesNo
lot_de_fabricationNoNombre de pièces par lot, ou « commande_entiere »

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It discloses the 2–8 quantity range and '1 unité par quantité', but says nothing about whether the run consumes credits (relevant given the recharger_credits/consulter_usage siblings), how many pricing computations occur, or whether results are cached/reversible.

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 short, front-loaded sentences with no filler; the quantity range and the '1 unité par quantité' constraint lead. Minor overlap between 'plusieurs quantités (2 à 8)' and the trailing constraint, and no signal about what the tool returns.

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

Completeness2/5

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

With 8 parameters, a nested ajustements object, no output schema and no annotations, the description is too thin: it never explains the comparison output, the role of ajustements (only a cross-reference to the response payload), or any cost side-effect of running multiple quotes.

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 75%, which is moderately high, so the baseline is around 3. The phrase '1 unité par quantité' usefully clarifies the semantics of the quantites array, but the nested ajustements object and lot_de_fabrication are left to the schema alone.

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 ('Chiffre') and resource ('la même pièce'), plus the bounded scope (quantités 2 à 8) and the goal (voir l'effet de la quantité sur le prix). It implicitly contrasts with the single-piece sibling chiffrer_piece via 'la même pièce pour plusieurs quantités', but never names that alternative explicitly.

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: use when you need to see how price varies with order quantity. There is no explicit when-not, no prerequisite, and no reference to chiffrer_piece or verifier_devis as alternatives, so the routing burden stays on the agent.

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