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, and the live URL. A null metric is one the platform does not report, not zero; empty data means the numbers have not synced yet (roughly every 6 hours).

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