Analytics / MCP

Top performers

Rank workspace campaigns by a metric (replies, completions, or connections). Returns the top N campaigns ordered by the chosen metric.

tools/callDeterministic operation

Parameters

workspaceIdOptional · string
Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client.
metricRequired · string
See the input schema for this field.replies · completions · connections
limitOptional · number
Top N to return (1-50, default 5).
Request example
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "top-performers",
    "arguments": {
      "metric": "replies"
    }
  }
}
Full input schema
Input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "minLength": 1,
      "description": "Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client."
    },
    "metric": {
      "type": "string",
      "enum": [
        "replies",
        "completions",
        "connections"
      ]
    },
    "limit": {
      "type": "number",
      "description": "Top N to return (1-50, default 5)."
    }
  },
  "required": [
    "metric"
  ]
}
See this operation inCLI REST API TypeScript SDK
MCP reference | Pipeline v2 preview