Get publishing stats
get_statsPublications per day, per channel, per tag and in total, over a window you name. One publication is one submission going to one channel — a post sent to three accounts counts three times, and a five-block thread counts once.
tags answers "how did the launch-week posts do", keyed by the ids list_tags returns. Those counts OVERLAP: a post filed under two tags is counted under both and an untagged post under neither, so they do not add up to totals and must never be reported as shares of it.
Analytics, not billing: these are counted from the posts themselves, so deleting a post changes the history. Use get_usage for anything about allowances.
from is inclusive and to is exclusive, so adjacent windows tile without double-counting. queue describes right now and ignores the window entirely.
ENGAGEMENT — engagement, and the same field on each channel and tag — is what the PLATFORMS reported about the posts, not something counted here, and it needs reading carefully before you say anything to the user about it:
It is PARTIAL. Only some platforms report engagement at all, so figures may cover a fraction of what was published.
engagement.measuredsays how many publications carried any reading; say so when it is less thantotals.publishedrather than presenting the number as the whole picture.A METRIC MISSING FROM
engagement.valuesMEANS NOBODY REPORTED IT, not that it was zero. Never fill one in as 0, and never state that a post got no impressions becauseimpressionsis absent — the platform may simply not measure it.metricslists the names actually present.The figures are CUMULATIVE SINCE EACH POST WENT OUT, not earned during the window, and they are still moving. They are sampled for roughly a month after publication and then stop, so a post older than that is frozen at its last reading.
Do not compare an engagement figure between two channels on different platforms as though it meant the same thing. A like on one platform and a like on another are different acts with different populations behind them.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "get_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Exclusive end of the window, ISO 8601. At most 400 days after `from`. | |
| from | Yes | Inclusive start of the window, ISO 8601. | |
| timezone | No | IANA zone the daily buckets are cut at, e.g. `Europe/Paris`. Defaults to UTC. A value that is not a real zone is rejected rather than ignored. |