Skip to content
StampyWalletDocs
MCP and AI / Tools with an account / tableau_de_bord

tableau_de_bord

With accountRead only

The business's loyalty numbers over a chosen period: visits at the counter, customers who came, new customers, return rate, rewards earned and given, estimated revenue, with a curve by day, week or month and, if needed, a comparison with the previous period of the same length. Use it for "how is it going this month?", "how many customers in August?", "is it going up?". For the list of customers, use chercher_clients; to know whether the card pays off, rentabilite.

Parameters

periodeenumoptional
Period studied, in days of the business's time zone, today included for ongoing periods (ce_mois = from the 1st to today). "personnalisee" uses du/au. Default derniers_30_jours.

Values : aujourdhui hier derniers_7_jours derniers_30_jours derniers_90_jours derniers_12_mois cette_semaine semaine_derniere ce_mois mois_dernier cette_annee annee_derniere depuis_le_debut personnalisee

Default : "derniers_30_jours"

dustring (date)optional
First day included (YYYY-MM-DD). Giving it is enough: the period becomes "personnalisee".
austring (date)optional
Last day included (YYYY-MM-DD). Default: today.
comparerbooleanoptional
Adds the change compared with the period of the same length just before (e.g. the 30 days before the last 30 days).

Default : true

indicateursarray<enum>, ≤ 9optional
Indicators to return, in this order. Default: all. taux_retour = share of customers who came in the period and had already come before; chiffre_estime = visits × declared average basket (an estimate, not a register total).

Values : passages clients_venus nouveaux_clients taux_retour passages_par_client recompenses_gagnees recompenses_offertes chiffre_estime total_clients

courbeenumoptional
What the curve plots. Default passages.

Values : passages clients_venus nouveaux_clients recompenses_gagnees recompenses_offertes aucune

Default : "passages"

granulariteenumoptional
Curve step. auto (default): day up to 2 months, week up to ~9 months, month beyond.

Values : auto jour semaine mois

Default : "auto"

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.

Updated

Was this page helpful?