Media kit data
get_media_kit_dataAssembles a stable JSON media kit snapshot from YouTube Studio analytics, covering channel profile, period performance, audience, uploads, top videos, and traffic sources for sponsor decks.
Instructions
Everything a creator media kit / sponsor deck needs, as one stable JSON snapshot
(schema_version 1, snake_case, *_pct 0-100, *_s seconds): channel profile, period
performance vs previous period, Shorts vs long-form performance, impressions funnel,
daily and monthly trends, audience age/gender/countries/devices, recent uploads with
thumbnails, top videos and traffic sources. Anything YouTube can't provide is null and
explained in unavailable instead of failing the call.
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_media_kit_data"
}
}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 |
| save_to | No | Also save the snapshot as JSON (bare filename -> output directory). | |
| end_date | No | Custom range end, YYYY-MM-DD (inclusive). Defaults to the latest complete day. | |
| start_date | No | Custom range start, YYYY-MM-DD. Overrides `period`. | |
| trend_months | No | Months in monthly_trend. | |
| top_countries | No | Countries to include. | |
| recent_uploads | No | Recent long-form videos and Shorts to list and average (each). | |
| include_revenue | No | Add revenue/RPM to performance (most media kits don't show it). | |
| min_upload_age_days | No | Skip uploads younger than this (their views are still growing). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||