get_post_analytics
Read the analytics of one published post on its platform: views, impressions, likes, comments, shares and whatever else the platform reports for a single post.
Pass the postId from list_posts or create_post (one channel's post) and, optionally, days (default 7, at most 90). Returns each metric with its total, its change when the platform gives one, and its points.
Writes nothing. When there are no numbers, "available" is false and "reason" says why: not_published (the post has not gone out yet), no_release_id (published, but the platform has not given the post's id yet; try again later), release_missing (published, but Postemi never learned which platform post it became; the user links it in Postemi), not_supported (Postemi reads no per-post analytics from that platform; get_analytics may still have the channel's), needs_reconnect, channel_removed, or no_data. Pass the "message" on to the user; never report a missing number as zero.
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": {
"postId": "<postId>"
},
"name": "get_post_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How many days back to look, 1 to 90. Defaults to 7. The usual windows are 7, 30 and 90. YouTube gives at most the last 30 days. | |
| postId | Yes | The post, a postId from list_posts or create_post. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | Yes |