Get post counters
get_post_statsThe dashboard counters in one call: posts created and published in the last 7 days, total scheduled, total waiting on an approver (pendingApprovalTotal), total sent back for edits (changesRequestedTotal — these are REJECTED posts, invisible to a PENDING_APPROVAL filter), and how many posts are scheduled on each of the next 7 days in the organization's timezone (upcoming, today first, zero days included).
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_post_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| organizationId | No | Organization to act in — an id from list_organizations. Required when this connection was authorized for more than one organization; omit it when there is only one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timezone | No | ||
| upcoming | No | Exactly 7 days, today first, zero days included | |
| scheduledTotal | No | ||
| createdLast7Days | No | ||
| publishedLast7Days | No | ||
| pendingApprovalTotal | No | ||
| changesRequestedTotal | No | Posts an approver sent back for edits (status REJECTED, approvalStatus CHANGES_REQUESTED) |