Shop pulse
shop_pulseCheck current order and revenue volume, the last order and payment failures against typical weekday hours. Detect unusual quiet spells that may indicate a broken checkout, payment or storefront.
Instructions
How is the shop doing right now? Orders and revenue since local midnight next to the same hours of the same weekday in previous weeks, the last order, and how unusual the current quiet spell is: the orders the same stretch brought in earlier weeks and the chance of seeing none by accident (a Poisson estimate). 'unusual' means the checkout, payment or storefront may be broken; follow up with checkout_simulate. Also compares today's failed or cancelled payments with their usual share. On a campaign day compare with last year (baseline 'last-year') or raise the expectation (expectFactor 3 on Black Friday), so a quiet spell is judged against what the day should bring. Public holidays in the compared weeks are left out (DE, AT, CH). Read-only. Returns { today, typical, change, lastOrder, silence, payments, history[] }.
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": "shop_pulse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| weeks | No | How many previous weeks make up 'typical' | |
| baseline | No | Compare with recent weeks, or with the same weekday around this day last year | recent |
| holidays | No | Leave public holidays of this country out of 'typical'; default: the time zone's country (Europe/Berlin: DE, Europe/Vienna: AT, Europe/Zurich: CH) | |
| timeZone | No | IANA time zone of the shop, e.g. Europe/Berlin; default: the server's | |
| expectFactor | No | Today should bring this many times the usual orders, e.g. 3 on a campaign day | |
| salesChannelId | No | Only this sales channel |