Daily revenue and spend
get_seriesDaily revenue and spend over the current period. byWeekday averages revenue per day of the week with how many of those days the span held: for 'which day sells most' read at least the last 90 days and quote it, never work it out. For one channel's revenue on a day, QUOTE platformRevenueByChannel: each platform's own claim per day, the figure the Plataforma trend chart draws. revenueByChannel is Nuira's own position-based credit from measured touchpoints (revenue with no paid touch under direct), a second opinion — quote it only when asked how Nuira attributes. Use when the question is about when something changed, about a trend or spike, or about one channel on a given day. spend is that day's total ad spend. For totals over the whole period use get_summary (all channels) or get_channels (per channel). Optional from and to (inclusive YYYY-MM-DD, both or neither, never after today) read another span instead of the default period. A named month, a week or two dates the operator gave MUST be sent here: without them this reads the default period (the one on the operator's screen, else the last 30 days), which is not that month. When the operator names no period, send neither.
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_series"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day of the span, inclusive, as YYYY-MM-DD; not after today. Send together with `from`, or omit both to read the default period: the one on the operator's screen when the message names it, else the last 30 days. | |
| from | No | First day of the span, inclusive, as YYYY-MM-DD. Send together with `to`, or omit both to read the default period: the one on the operator's screen when the message names it, else the last 30 days. |