Discount posture
get_discount_frequency_and_depthHow often and how deep each brand discounts, over a window (7-365 days, default 30), from two separate readings: homepage_banner = days a promotion banner was on the brand's homepage (read from our homepage captures; 'not_measured' when we hold no capture in the window), and product_markdowns = products whose price, read in the window, is below their full price, with average and max markdown %, in one store and currency per brand, out of products_priced (every product whose price was read in the window, same store and currency), so share_on_markdown_pct is the share of the brand's catalog on markdown. Counts are products (a product's size and colour variants count once). Use share_on_markdown_pct for 'how much of the catalog is on sale'; do not divide products_on_markdown by a catalog size from another tool, which may count variant rows or another store. product_markdowns is 'not_measured' (never 0) when we have never read a crossed-out price on the brand's pages, since a sale price then looks like a regular one. A brand can run product markdowns with no homepage banner, and the reverse: when product markdowns are 0 or near 0 but the homepage advertises a discount (a cart- or collection-level sale), homepage_promo_not_on_product_prices quotes the brand's homepage line verbatim with its source and dates.
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": "get_discount_frequency_and_depth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| domains | No | Brand domains from your RivalSweeper account, e.g. ["gymshark.com"]. Omit for all your tracked brands. |