Analytics / MCP

Get account analytics

Get analytics for a connected LinkedIn account: connection accept rate, message reply rate, daily usage, and per-period totals. Pass linkedin_account_id (UUID of the linkedin_accounts row).

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.
linkedin_account_idRequired · string
UUID of the LinkedIn account.
periodOptional · string
Default: week.day · week · month · quarter
startOptional · string
ISO date YYYY-MM-DD (overrides period).
endOptional · string
ISO date YYYY-MM-DD.
compareOptional · string
Include comparison with previous period.true · false
formatOptional · string
Default: detailed.summary · detailed · chart
Request example
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get-account-analytics",
    "arguments": {
      "linkedin_account_id": "00000000-0000-4000-8000-000000000000"
    }
  }
}
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."
    },
    "linkedin_account_id": {
      "type": "string",
      "description": "UUID of the LinkedIn account."
    },
    "period": {
      "type": "string",
      "enum": [
        "day",
        "week",
        "month",
        "quarter"
      ],
      "description": "Default: week."
    },
    "start": {
      "type": "string",
      "description": "ISO date YYYY-MM-DD (overrides period)."
    },
    "end": {
      "type": "string",
      "description": "ISO date YYYY-MM-DD."
    },
    "compare": {
      "type": "string",
      "enum": [
        "true",
        "false"
      ],
      "description": "Include comparison with previous period."
    },
    "format": {
      "type": "string",
      "enum": [
        "summary",
        "detailed",
        "chart"
      ],
      "description": "Default: detailed."
    }
  },
  "required": [
    "linkedin_account_id"
  ]
}
See this operation inCLI REST API TypeScript SDK
MCP reference | Pipeline v2 preview