Performance summary
get_performance_summaryRetrieve headline YouTube analytics for a channel or video over a chosen period, including views, watch time, subscribers, engagement, and optional revenue with prior-period comparisons.
Instructions
Headline numbers for a period, like Studio's Overview tab: views, engaged views, watch time (hours), average view duration/percentage, subscribers gained/lost/net, likes, comments, shares, engagement rate, optionally revenue, each with the previous period and % change. Works for the channel or a single video.
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": "get_performance_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Named date range, Studio-style. Rolling ranges end at the latest complete day of data (analytics lag ~2-3 days; dates are US Pacific). Ignored when start_date is set. | last_28_days |
| end_date | No | Custom range end, YYYY-MM-DD (inclusive). Defaults to the latest complete day. | |
| video_id | No | Limit to one video (11-character ID, e.g. 'dQw4w9WgXcQ'). Omit for the whole channel. | |
| start_date | No | Custom range start, YYYY-MM-DD. Overrides `period`. | |
| include_revenue | No | Add estimated revenue, RPM, CPM etc. (monetized channels only). | |
| compare_to_previous | No | Also fetch the previous period of equal length and compute % change. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||