docs

MCP tool

get_post_metrics

Metrics for a post

Reads only · changes nothing, and needs no approval.

What it does

Per-platform engagement for ONE published post: views, likes, comments, shares, reach, saves, engagement, plus the live URL. A null metric means the platform doesn't report it (not zero); empty data means metrics haven't synced yet (they refresh roughly every 6h).

Arguments

NameTypeRequiredWhat it is
post_idstringYesThe post id from create_post

Calling it

Any MCP client calls this by name once the connector is added. The address is the same for every tool:

https://xpost.to/api/mcp

A client that has signed in sends the tool name and its arguments:

{
  "name": "get_post_metrics",
  "arguments": {
    "post_id": "…"
  }
}

The other tools

Back to the MCP connector · What the MCP server is · Connect your assistant