wafle_ads_generate_report_monthly
Produce a monthly ads performance report with spend, revenue, profit, ROAS, winning and losing campaigns, plus actionable recommendations for narrative writing.
Instructions
Generate a structured monthly ads report for a store. Returns total spend, total revenue, profit, blended ROAS, top 5 winning campaigns, bottom 5 losing campaigns, and a recommendations array of human-readable strings. Designed as the input for Claude to author the executive narrative — DO NOT paste raw JSON into the report; rewrite into prose using recommendations as bullet points and the winners/losers as supporting evidence.
Backed by /stores/:slug/marketing/profit?range=... (which already aggregates spend × wafle revenue per campaign) plus a month-aware aggregation layer.
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": {
"slug": "<slug>",
"month": "<month>"
},
"name": "wafle_ads_generate_report_monthly"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Wafle store slug, e.g. 'gamerland' or 'lensitive'. | |
| month | Yes | Month to report on, e.g. '2026-04'. |