Skip to main content
Glama

mechacut

shop_soldes_window

French SALE WINDOWS as DATES, computed from the arrête replayed 24-nov-2026 (arrêté du 27 mai 2019, NOR ECOI1911930A, in force since 1-Jan-2020 art. 4). The grammar is CLOSED and BOTH seasons carry an advance clause: winter starts the SECOND Wednesday of January 08:00, ADVANCED to the first when that second Wednesday falls AFTER the 12th — strict, 2028-01-12 stays, 2027-01-13 moves to Jan 6 (the calendar site printing 'until Tuesday 9 February' for 2027 applied the clause's absence: the pain caught in the act). Summer starts the LAST Wednesday of June 08:00, moved back to the penultimate when the last falls after the 28th — so été 2027 opens June 23, not June 30. Duration is art. 3: four weeks, the start day COUNTED (end = start + 27, verified against four official vectors). Then the part no calendar site carries: SEVEN annual derogations, each shipped with its verbatim and its JORF — été 2020 fixed to Wed 15 July (arrêté 10-juin-2020, also named for 06/2A/2B/66); winter 2021 fixed to Wed 20 January (arrêté 23-déc-2020, + 54/55/57/88/971) then PORTÉE À SIX SEMAINES (arrêté 15-févr-2021 — 20 janv -> 2 mars; La Réunion, Saint-Barthélemy and Saint-Martin EXCLUDED by name, four weeks); été 2021 fixed to 30 June — with MOSSELLE alone at 26 June (arrêté 15-juin-2021, the line no press table copies); Guadeloupe été 2021 moved to Thursday 7 October (arrêté 23-sept-2021); été 2023 and été 2026 CARRIED TO FIVE WEEKS (arrêtés 6-juill-2023, 3-juill-2026 — canicule; service-public A15000: 'devaient se terminer le 21 juillet [...] jusqu'au mardi 28 juillet'), scoped by PREDICATE on the text, not by memory: 2026 counts départements whose date comes from Article 1, which is why Moselle's SUMMER gets five weeks while Corsica keeps four. The annex is VERSIONED: the 21-avril-2023 arrêté (in force 17 May 2023) removed rows 06, 66, 973 — windows beginning before it keep the initial line (Perpignan été 2022 July 6; guyane hiver 2023 Jan 4), after it the common rule (moneyvox's 'Guyane 5 October 2023' recycled an ABROGATED line — the press artifact this tool exists to refuse). East-4 départements open 'premier jour ouvré' — the word is undefined: strict OUVRÉ (Mon-Fri, 1er excluded) is first, the OUVRABLE reading (Saturday counts, what tpeactu/france.fr print) travels as a NAMED conflict only when the two dates differ — which is 2027 (Jan 2 vs Jan 4), not every year. Saint-Pierre counts 'premier mercredi APRÈS le 15 janvier' — after STRICT: 2025-01-15 IS the Wednesday, so the window opens the 22nd. Territory is the CLOSED annex table (codes, names, cities, 'lorraine', 'corse' fan out); foreign calendars — Belgium, Luxembourg, Switzerland, Quebec, UK — are REFUSED BY NAME: this table replays only the French arrêté and lends dates no memory. Years before 2020 are refused with art. 4 verbatim. as_of is an argument: 'Dans 43 jours' is arithmetic, not a clock. No network, no wall clock, no shopping advice. Free.

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": {
      "year": "<year>"
    },
    "name": "shop_soldes_window"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYes2020..9999 — the arrêté's art. 4 gate; before 2020 prefectal arrêtés governed, not replayed
as_ofNoISO day for status and days_to_start — never a wall clock
seasonNohiver | ete | both (default both)
territoryNometropole | 06|2A|2B|54|55|57|66|88|971|972|973|974|975|976|977|978 | names | lorraine|corse — closed table; foreign names refused by their fact of being out of table

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it declares determinism ('No network, no wall clock'), explains that as_of is passed rather than read from a clock, enumerates refused inputs with the governing article, and documents the closed territory table. It stops short of describing the actual return shape (e.g., fields beyond the implied days_to_start), which keeps it off a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single enormous paragraph dense with editorial asides ('the pain caught in the act', 'the press artifact this tool exists to refuse', 'Free.'), parentheticals and historical anecdotes that do not help an agent invoke the tool. The operative facts are buried and would need re-reading to extract.

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?

For a deterministic computation tool with no output schema, the definition should state what comes back (dates, status, days_to_start). It gestures at days_to_start and status only obliquely, leaving the response shape underspecified despite the volume of legal detail.

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 the schema already documents all four parameters and the baseline is 3. The description reinforces the year gate and the as_of semantic ('arithmetic, not a clock') but adds little format-level detail beyond what the schema descriptions state.

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?

Opens with a concrete verb+resource: 'French SALE WINDOWS as DATES, computed from the arrêté'. The France-only scope ('foreign calendars — Belgium, Luxembourg, Switzerland, Quebec, UK — are REFUSED BY NAME') implicitly sets it apart from shop_soldes_be, but no sibling is named explicitly, so an agent must infer the split.

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?

Boundaries are implied through refusals (years before 2020 rejected, foreign calendars rejected, 'no shopping advice'), but there is no explicit statement of when to reach for this tool versus shop_soldes_be or date_window. The agent gets constraints, not routing guidance.

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.