Skip to content

For AI agents: the documentation index is at https://stampywallet.com/en/docs/llms.txt, the whole documentation in one file at https://stampywallet.com/en/docs/llms-full.txt, and this page is available as Markdown: https://stampywallet.com/en/docs/mcp/tools/regler_jours_fermes.md (or with the Accept: text/markdown header).

StampyWalletDocs
MCP and AI / Tools with an account / regler_jours_fermesView as Markdown

regler_jours_fermes

With accountWrites (confirm)

Replaces the days closed every week (for example closed on Sunday and Monday). Closed days don't count in a customer's absence: properly declared holidays stop regulars from looking "lost" and getting a win-back message when you reopen. Optionally, prevenir_clients=true with a text also prepares a notification to all customers (same rules as envoyer_message: one message per day). confirmer=false (default) returns a preview; confirmer=true saves (and sends the message if requested), after the person's explicit approval.

Parameters

jours_fermes
array<enum>, ≤ 7
required
The COMPLETE list of days closed every week (empty list = open every day).

Values : dimanche, lundi, mardi, mercredi, jeudi, vendredi, samedi

prevenir_clients
boolean
optional
true: also sends a notification to all customers with texte. Counts as the message of the day.

Default : false

texte
string, ≤ 180 characters
optional
Text of the notification to customers (180 characters at most), if prevenir_clients=true.
confirmer
boolean
optional
false (default): only returns a preview of what would be done, without changing anything. true: carries it out. Always show the preview to the person and wait for their approval before calling again with true.

Default : false

Response

A text the assistant reads (content), and the same information as structured data (structuredContent). When a call is refused (a parameter to fix, plan, role), the response has isError: true and a sentence the assistant can rephrase.

Warning : this tool writes. Called with confirmer: false (the default), it only returns a preview, without changing anything. The assistant must show it to you and wait for your approval before calling again with confirmer: true.

Updated

Was this page helpful?