docs

MCP tool

get_top_posts

Top posts

Reads only · changes nothing, and needs no approval.

What it does

Best-performing deliveries ranked by a metric — study these before drafting new content to learn what works for THIS audience. Returns caption, platform, username, metrics, and live URL per entry.

Arguments

NameTypeRequiredWhat it is
metricenumNoRanking metric (default engagement)
since_daysnumberNoWindow in days (default 30)
limitnumberNoMax results (default 10)
platformstringNoFilter to one platform, e.g. instagram
formatenumNoFilter to one format (feed post / reel / story)

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_top_posts",
  "arguments": {
    "metric": "…",
    "since_days": 0
  }
}

The other tools

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