Count the comments waiting
get_comment_countsHow many comments are still NEW (not triaged yet, not the account's own, not deleted) — the badge in the app — split by platform, by connected account (keyed by connection id) and by kind (comment or mention). A cheap check before list_comments: 0 pending means there is nothing to triage. Needs the organization's "Let AI assistants answer comments and messages" setting (owner-only; without it the api answers MCP_INBOX_DISABLED) and a connection authorized with the comments/chat permissions — one authorized before they existed must reconnect, and a client that kept its own registration from before then must remove PostRite and add it again.
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_comment_counts"
}
}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 |
|---|---|---|---|
| byKind | No | ||
| pending | No | Comments still NEW (not triaged, not the account's own) | |
| byPlatform | No | ||
| byConnection | No |