Skip to main content
Glama
mcp-leclerc-drive

mcp-leclerc-drive

by lborruto

Voir les promotions

browse_offers
Read-only

Lists products currently on promotion in the selected store; filter by keyword and sort by relevance, price, or unit price.

Instructions

Liste les produits en promotion dans le magasin sélectionné, avec les mêmes informations que search_product. query filtre par mots du libellé ou de la famille (ex. 'café', 'yaourt'). La première lecture est lente (page lourde), puis gardée 10 minutes.

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

Input Schema

NameRequiredDescriptionDefault
sortNoOrdre : pertinence (celui du site), prix, ou prix_unitepertinence
limitNoNombre de produits à afficher (20 par défaut)
queryNoMots à trouver dans le libellé ou la famille (vide : tout)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the readOnlyHint/openWorldHint annotations, the description discloses a costly first read ('page lourde', slow) and a 10-minute cache window, which materially affects how an agent should sequence or retry calls. It does not cover rate limits or pagination beyond the limit parameter.

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 purposeful sentences: what it lists, how the filter works, and the latency/caching caveat. The caveat is placed last but is short and clearly separated; the query examples slightly duplicate the schema.

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 wisely points to search_product for the result shape, and it explains the caching behavior an agent needs to plan around. The freshness of promo data and anything about the store context (e.g., behavior when no store is set) remain unstated.

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%, so sort and limit are already fully documented. The description's note on `query` (matches words in the product label or family, with examples) largely restates the schema's own wording, adding only illustrative examples rather than new semantics.

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?

The description opens with a specific verb and resource: listing products on promotion within the selected store. It also signals output parity with search_product ('mêmes informations que search_product'), which hints at how the two differ, though it never states outright that search_product is the non-promo alternative.

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 rather than stated: you browse offers when you want discounted items in the currently selected store. There is no explicit 'use this instead of search_product when...' rule, and the dependency on a store being selected first (via set_store) is only hinted by 'magasin sélectionné'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.