get_performance
How published posts are doing: one table per post, the per-day and follower tables, and findings.
rows: one per post Antwork published in the last days (posts made on
the platform directly: fetch_platform_posts), with likes, comments,
shares, impressions, reach, saves, clicks, bookmarks, linkClicks,
profileVisits, follows, watchTimeSeconds, quotes (X quote posts, also in
shares), avgWatchTimeSeconds and totalEngagement
(likes+comments+shares), plus platformTotals.
impressions counts a different thing per platform, named by
reachBasis, so different bases never add or compare; reach never adds.
A null is a metric not measured or not reported, never a zero.
coverage says what the numbers count (only posts published through
Antwork, the window, posts not measured yet per platform, and per account
notThroughAntwork when a stored read shows posts made elsewhere): quote
it before comparing these totals with the platform or with daily.
daily: growth as columns for a chart: dates and
series[platform][metric], an array aligned with dates; interval is
"day" up to 31 days and "week" past that (dates are then Mondays, the
first and last weeks partial). reachBasis per platform, notes for
days read degraded, and changeTotals, the window's growth summed (not
lifetime). A total across platforms adds them, except impressions of
different bases and reach. followers: the same dates and per account
a followers array (weekly: the week's last count). In both a null is a
period not measured (draw a gap), never a zero; a metric or platform with
no measurement is left out. In post rows a missing field was not
measured, and text is the first 100 characters (textTruncated;
get_post has it all). format="rows" gives the long daily tables
instead (one row per date and platform or account) and full rows.
findings, computed from those numbers, in the workspace timezone:
comparison (each platform against the previous window of equal length),
ranking (top and bottom posts by engagement rate and the traits the top
ones share, or enoughData: false), bestWindows (from the account's
own posts, else labelled fallbacks), followers (change over the
window), postAgainToday (the last and next 24 hours against the
account's usual count and daily cap), growth (the posts that brought
followers where the platform reports follows per post; growth.days on
every platform: the stretches between follower counts that grew most, the
posts in them, and growth with posts vs without, quoting its basis),
networkWins (posts with a version per network: which network did best
how often, and the median ratio over the runner-up) and
digest: the window as a report, with lines ready to
show. A weekly or monthly report is days=7 or days=30 and its
digest.
With post_id, that one post's per-day history instead (cumulative* and
daily* columns); without days, its whole history. A post with versions
on other networks adds versions: each version's numbers ranked, the
winner and its ratio over the runner-up (campaign_id gives versions alone).
format="table" answers only flat rows for a sheet or dashboard: per post
(postId, account, platform, publishedAt, url, likes, comments, shares,
impressions, reach, saves, clicks) and per account (followers, change).
Args:
days: The window, ending today (1-365, default 30).
platform: Restrict to one platform.
account_id: Restrict to one connected account.
post_id: One post's history instead of the workspace's.
campaign_id: One post's versions compared (the campaignId on its rows).
limit: Max post rows (default 30, max 50).
workspace_id: Workspace ID or name. Optional if user has only one workspace.
format: Omitted or "series": the answer above. "rows": the same with
daily, followers and post rows as long tables. "table": the
compact rows above, nothing else.
refresh: True re-reads the accounts in view from their networks
before answering, for someone who asks for the newest numbers.
Each account then rests 15 minutes (LinkedIn an hour) and X is
never re-read; refresh in the answer lists each account's
outcome (refreshed, resting, not_refreshable, needs_reconnect,
no_posts) and availableAt. Not with post_id or campaign_id.
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_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| limit | No | ||
| format | No | ||
| context | No | The user's underlying goal for this call, in one sentence without personal details. Used for product analytics only. | |
| post_id | No | ||
| refresh | No | ||
| platform | No | ||
| llm_model | No | The model identifier of the calling assistant, or "unknown". Used for product analytics only. | |
| account_id | No | ||
| campaign_id | No | ||
| workspace_id | No | ||
| conversation_id | No | The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _mcp_instructions | No | Server-issued metadata for this conversation. |