kpi_trends
Track Zendesk support KPIs by day, week, or month—volume, solved, reply and resolution medians, one-touch, reopen, CSAT—and compare periods to show improved or worsened trends.
Instructions
KPIs over time for charts: one row per day/week/month with volume, solved, first reply and resolution medians (calendar + business), one-touch %, reopen %, CSAT — plus period-over-period deltas marked improved/worsened (e.g. Q3 vs Q2). Default period: last 30 days.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "kpi_trends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | No | Also return chart tables as CSV: 'inline' in the response, or 'files' written under ZENDESK_FILE_ROOT/csv_dir. | none |
| end | No | End date YYYY-MM-DD (exclusive). Overrides period. | |
| start | No | Start date YYYY-MM-DD (inclusive). Overrides period. | |
| filter | No | Extra Zendesk search terms to narrow scope, e.g. 'group:"Tier 2" -tags:spam brand:acme'. | |
| period | No | Reporting period: last_quarter, this_quarter, last_month, this_month, last_year, this_year, ytd, last_7_days, last_30_days, last_90_days, or a calendar unit like '2026-Q3', '2026-09', '2026'. Ignored if start/end are given. | |
| csv_dir | No | Folder (inside ZENDESK_FILE_ROOT) for csv='files'. | reports |
| interval | No | auto | |
| split_by | No | Also return ticket volume per period split by this (top 8 + Other), e.g. channel for a stacked chart. | none |
| time_zone | No | Time zone for bucketing by day/hour (IANA, e.g. 'America/Los_Angeles'). | UTC |
| date_field | No | created | |
| max_tickets | No | Upper bound on tickets analyzed (≈1 API call per 100). | |
| compare_previous | No | Compare totals with the previous equivalent period. |