get_campaign_analytics_trend_tool
Get campaign outreach performance over time — email, LinkedIn, or dialer (sent/opened/replied, invites/accepted, dialed/answered/connected/voicemails etc.). Every channel returns exact whole-window totals plus a per-time-bucket series. The email and LinkedIn series carry every count in their totals; the dialer series carries only dialed, answered, connected, connectedPositive and connectedFollowUp, and its other figures are in totals only. Use for both 'how is my campaign performing over time' and 'how are my emails / LinkedIn / calls doing, is it up or down vs before' questions: compare earlier buckets to later ones for the direction of travel. Scope defaults to every campaign the caller is allowed to see — pass campaignId for a single campaign, or targetUserId for one teammate's campaigns. The window defaults to lifetime; pass since to look at a recent period only. Quote headline figures from totals, never by summing the series — the dialer channel's per-bucket counts deduplicate contacts within each bucket, so summing them over-counts anyone worked in more than one bucket. The dialer's call figures count outbound calls that were actually placed, never inbound calls or calls that failed or were never placed, and by default only calls made from a campaign's dialer steps: pass callType "all" to also count calls dialed straight from a prospect list or a custom number, or "non-campaign" for those alone. callsMade counts the calls; dialed and the other call totals count contacts, each once over the window. dialable is not a call figure: it counts the contacts enrolled in the campaigns' target lists, called or not, and is 0 for calls outside campaigns.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"channel": "<channel>"
},
"name": "get_campaign_analytics_trend_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End of the trend window as an ISO 8601 date-time instant. Omit to run up to now. Do not send a date-only YYYY-MM-DD. | |
| since | No | Start of the trend window as an ISO 8601 date-time instant (e.g. 2026-08-01T00:00:00.000Z). Omit for lifetime analytics — the window then starts at the scope's first campaign. Must not be in the future. Do not send a date-only YYYY-MM-DD. | |
| channel | Yes | Which outreach channel's trend to fetch. Every channel returns all of its metrics per bucket. | |
| callType | No | Dialer only: which calls to count. "campaign" (the default) counts calls made from a campaign's dialer steps; "non-campaign" counts calls dialed straight from a prospect list or a custom number; "all" counts both. With campaignId, only that campaign's calls count; with targetUserId, the calls outside campaigns are the ones that member dialed. | |
| timezone | No | IANA timezone (e.g. America/New_York) whose calendar days the series is bucketed on. Omit for UTC. | UTC |
| campaignId | No | Scope to a single campaign. Omit for numbers across campaigns. Cannot be combined with targetUserId. | |
| targetUserId | No | Scope to one team member's campaigns — the campaign OWNER's user id, not the person asking. Use only when the user asks about a specific teammate by name and you have resolved their id. Omit to cover every campaign the caller can see. Cannot be combined with campaignId. |