Skip to main content
Glama

GetEverwear second-hand clothing catalogue

Pièces similaires

pieces_similaires
Read-onlyIdempotent

À partir d'une pièce (même vendue), jusqu'à 10 pièces RÉELLEMENT en vente qui lui ressemblent (même rayon ou même type, puis marque, taille, couleur, prix), les plus proches d'abord, chacune avec les raisons de la ressemblance. Filtres facultatifs : taille, prix maximum. N'invente jamais de stock : une liste vide veut dire qu'aucune pièce proche n'est en vente.

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": {
      "handle": "<handle>"
    },
    "name": "pieces_similaires"
  }
}

Input Schema

NameRequiredDescriptionDefault
handleYesHandle de la pièce de départ, ou l'adresse complète de sa fiche.
limiteNoNombre de pièces à rendre, ramené entre 1 et 10 (6 par défaut).
tailleNoNe garder que cette taille (M, 38, W32...).
prix_maxNoPrix maximum en euros.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely non-structured behavior: results are capped at 10, ordered closest-first, and — most importantly — an empty list means no close piece is in stock, explicitly warning against fabricating availability. It does not say how an invalid or unknown handle is handled.

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?

Three sentences, front-loaded with the core behavior, then filters, then the anti-hallucination caveat. Dense but every sentence carries information; slightly heavy parenthetical nesting keeps it from being a 5.

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 and no annotations about results, the description carries the burden of describing the return shape, and it does: a ranked list of up to 10 live items, each with its similarity reasons. Only edge cases (unknown handle, whether the source item itself can appear in results) are left uncovered.

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 coverage is 100% with per-parameter descriptions, so the baseline is 3. The description only restates the optional filters (taille, prix_max) and the 10-item cap already in the schema; its extra content explains the similarity ranking logic rather than adding meaning to the parameters themselves.

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?

States a specific verb+resource: starting from one piece, return up to 10 pieces actually on sale that resemble it, ranked by proximity, with similarity reasons. The ranking criteria (same rayon or type, then brand, size, color, price) and the 'even if sold' starting condition distinguish it clearly from a text search like chercher_pieces or a lookup like fiche_piece.

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

Usage Guidelines4/5

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

It makes the trigger condition clear — you need an existing piece handle, even one that is sold, and you get live alternatives — plus the optional narrowing filters. What is missing is any explicit 'when not to use this' or naming of a sibling (e.g. chercher_pieces for keyword search), so the agent must infer the routing.

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