youtube-channel-mcp

v1.1.0
@joinhackyard/youtube-channel-mcp Checked 4 days ago Published 29 days ago

MCP server to run and grow your whole YouTube channel from Claude, Hermes, Cursor, Codex and any MCP client: uploads, scheduling, A/B tests, analytics, SEO…

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

auth_status Connection status

Show whether Google OAuth is configured, which YouTube channels are connected (and whether their sign-in is healthy), the default channel, today’s quota use, and known project limitations. Call this first in a new conversation.

connect_channel Connect a YouTube channel

Start Google sign-in to connect (or reconnect) a YouTube channel. Opens the browser on this computer and returns the sign-in link; the user picks the Google account and channel (brand accounts work). Waits up to wait_seconds for them to finish.

ParameterTypeDescription
open_browserboolean
wait_secondsintegerHow long to wait for the sign-in to finish before returning.

list_channels List connected channels

List the YouTube channels connected to this server.

set_default_channel Set the default channel

Choose which connected channel is used when a tool call does not name one.

ParameterTypeDescription
channel *stringChannel ID, @handle or name.

disconnect_channel Disconnect a channel

Remove a connected channel and revoke this app’s Google access to it. Needs the user’s confirmation.

ParameterTypeDescription
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
confirmation_tokenstringOnly after the user approved: the confirmation_token returned by the previous call with identical arguments.

upload_video Upload a video

Upload a video file from this computer (file_path) or a public URL to YouTube with a resumable, checkpointed upload that survives network drops and restarts. Optionally schedule it (publish_at), set a thumbnail, add it to playlists and attach captions in the same call. Runs in the background: returns a job_id right away (or the finished video if it completes within wait_seconds). Poll get_upload_status. Private uploads start immediately; public, unlisted and scheduled uploads need the user’s confirmation first. Tip: write metadata first (generate_metadata, then preview_metadata).

ParameterTypeDescription
title *stringVideo title (max 100 characters; about 70 show on mobile).
ab_testobjectStart an A/B test the day after the video goes live (needs public, unlisted or publish_at). Variant i pairs titles[i] with thumbnail_paths[i].
captions_languagestringCaptions language, e.g. "en". Defaults to default_audio_language or "en".
captions_pathstring.srt or .vtt captions file to attach.
category_idstringYouTube category id, e.g. 22 People & Blogs, 27 Education, 28 Science & Technology. See list_categories.
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
confirmation_tokenstringOnly after the user approved: the confirmation_token returned by the previous call with identical arguments.
contains_synthetic_mediabooleanAltered or synthetic content disclosure: true if realistic content was made or altered with AI.
create_missing_playlistsbooleanCreate (private) playlists named in `playlists` that do not exist yet.
default_audio_languagestringSpoken language, e.g. "en", "hi".
default_languagestringLanguage of title/description, e.g. "en".
descriptionstringDescription. Template header/footer/hashtags are added automatically.
embeddableboolean
file_pathstringAbsolute path to the video on this computer, e.g. ~/Videos/recap.mp4.
has_paid_product_placementbooleanPaid promotion disclosure: true if the video contains paid product placement, sponsorship or endorsement.
licensestring
made_for_kidsbooleanCOPPA: is this video made for kids? Defaults to false (or the template value).
notify_subscribersboolean
playlistsarrayPlaylist ids or exact names to add the video to.
privacystringprivate (default), unlisted or public.
publish_atstringSchedule: ISO 8601 date-time when the video goes public. Uploads as private until then.
recording_datestringISO date the video was recorded.
tagsarrayTags (total under 500 characters).
templatestringTemplate name from list_templates (adds title format, footer, tags, hashtags, playlists).
thumbnail_pathstringJPG/PNG up to 2 MB to set as the custom thumbnail after upload.
urlstringPublic http(s) URL to download the video from instead of a file.
wait_secondsintegerWait this long for the upload before returning the job status.

get_upload_status Upload and processing status

Status of an upload job (progress, errors, resulting video) and/or a video’s YouTube processing state (processing, failed, rejected), plus a check for the "locked to private" restriction. Can wait for changes.

ParameterTypeDescription
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
job_idstring
video_idstring
wait_secondsintegerWait up to this long for the job to change state.

list_uploads List upload jobs

Recent upload jobs from this computer, newest first, with progress and results.

ParameterTypeDescription
limitinteger
statusstring

cancel_upload Cancel an upload

Stop an upload job that has not finished. It can be resumed later with resume_upload.

ParameterTypeDescription
job_id *string

resume_upload Resume an upload

Resume a stopped, failed or cancelled upload from the last byte YouTube confirmed (for example after a quota reset or reconnecting the channel). Network drops and quota resets are also retried automatically.

ParameterTypeDescription
job_id *string
wait_secondsinteger

list_my_videos List channel videos

List videos on the channel, newest first (including private, unlisted and scheduled ones), with privacy, schedule, duration and view counts. Paginate with page_token.

ParameterTypeDescription
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
max_resultsinteger
page_tokenstring
privacystringOnly return videos with this privacy (filters the current page).
querystringOnly return videos whose title contains this text (filters the current page).

get_video Get video details

Full details of one video: metadata, privacy and schedule, processing state, duration, captions flag and statistics.

ParameterTypeDescription
video_id *string
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.

update_video Edit video metadata

Change a video’s title, description, tags, category, languages, audience and other settings. Only the fields you pass change. Optionally apply a template to the fields you pass (title format; footer and hashtags when you pass description; template tags when you pass tags). Changing visibility to public/unlisted or scheduling needs the user’s confirmation (or use set_visibility).

ParameterTypeDescription
video_id *string
category_idstring
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
confirmation_tokenstringOnly after the user approved: the confirmation_token returned by the previous call with identical arguments.
contains_synthetic_mediaboolean
default_audio_languagestring
default_languagestring
descriptionstring
embeddableboolean
has_paid_product_placementbooleanPaid promotion disclosure.
licensestring
made_for_kidsboolean
privacystring
public_stats_viewableboolean
publish_atstringISO 8601 date-time to schedule publishing (keeps the video private until then).
tagsarray
templatestringApply this template to the title/description/tags given here.
titlestring

set_visibility Publish, unlist, hide or schedule

Change who can see a video: private, unlisted or public, or schedule it with publish_at. Anything other than private needs the user’s confirmation.

ParameterTypeDescription
video_id *string
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
confirmation_tokenstringOnly after the user approved: the confirmation_token returned by the previous call with identical arguments.
privacystring
publish_atstringISO 8601 date-time to go public; the video stays private until then.

delete_video Delete a video

Permanently delete a video from YouTube. Cannot be undone. Always needs the user’s confirmation.

ParameterTypeDescription
video_id *string
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
confirmation_tokenstringOnly after the user approved: the confirmation_token returned by the previous call with identical arguments.

set_thumbnail Set custom thumbnail

Upload a JPG or PNG (max 2 MB, ideally 1280x720) from this computer as the video’s thumbnail. The channel must be phone-verified.

ParameterTypeDescription
image_path *stringAbsolute path to the image.
video_id *string
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.

set_video_localizations Translate title and description

Add or update the title and description shown to viewers in other languages, e.g. {"hi": {"title": "...", "description": "..."}}. Merged with existing translations. The video needs a default_language set (update_video).

ParameterTypeDescription
localizations *object
video_id *string
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
remove_languagesarray

list_categories List video categories

YouTube video categories you can assign (id and name) for a region.

ParameterTypeDescription
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
region_codestring

list_playlists List playlists

All playlists on the channel with id, title, privacy and video count.

ParameterTypeDescription
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.

create_playlist Create a playlist

Create a new playlist on the channel.

ParameterTypeDescription
title *string
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
descriptionstring
privacystring

add_to_playlist Add a video to a playlist

Add a video to a playlist by playlist id or exact title. Optionally at a position (0 = first).

ParameterTypeDescription
playlist *stringPlaylist id (PL...) or exact title.
video_id *string
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
create_if_missingbooleanCreate a private playlist with this title if none exists.
positioninteger

remove_from_playlist Remove a video from a playlist

Remove a video from a playlist (the video itself is not deleted).

ParameterTypeDescription
playlist *stringPlaylist id or exact title.
video_id *string
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.

update_playlist Edit a playlist

Rename a playlist, change its description or privacy. Making it public or unlisted needs the user’s confirmation.

ParameterTypeDescription
playlist *stringPlaylist id or exact title.
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
confirmation_tokenstringOnly after the user approved: the confirmation_token returned by the previous call with identical arguments.
descriptionstring
privacystring
titlestring

delete_playlist Delete a playlist

Delete a playlist (the videos in it are not deleted). Needs the user’s confirmation.

ParameterTypeDescription
playlist *stringPlaylist id or exact title.
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
confirmation_tokenstringOnly after the user approved: the confirmation_token returned by the previous call with identical arguments.

move_in_playlist Reorder a playlist

Move a video to a new position in a playlist (0 = first). Works for playlists sorted manually.

ParameterTypeDescription
playlist *string
position *integer
video_id *string
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.

list_playlist_items List videos in a playlist

Videos in a playlist, in order.

ParameterTypeDescription
playlist *stringPlaylist id or exact title.
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
max_resultsinteger
page_tokenstring

list_captions List caption tracks

Caption tracks on a video (language, name, auto-generated or uploaded, draft).

ParameterTypeDescription
video_id *string
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.

upload_captions Upload captions

Add a captions track (.srt, .vtt or other YouTube-supported format) to a video, from a file on this computer or inline content.

ParameterTypeDescription
video_id *string
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
contentstringCaption file contents, e.g. SRT text.
file_pathstring
is_draftboolean
languagestringBCP-47 language, e.g. "en", "hi", "es".
namestringTrack name shown to viewers; usually empty.
replace_existingbooleanOverwrite an existing uploaded track with the same language and name (default: add a new track).

delete_captions Delete a caption track

Delete an uploaded caption track (see list_captions for ids). Needs the user’s confirmation.

ParameterTypeDescription
caption_id *string
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
confirmation_tokenstringOnly after the user approved: the confirmation_token returned by the previous call with identical arguments.

download_captions Download captions

Download a caption track of your own video as SRT (prefers uploaded tracks, falls back to auto-generated). Costs 250 quota units.

ParameterTypeDescription
video_id *string
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
languagestring

transcribe_video Transcribe a local video

Transcribe a video file on this computer with any OpenAI-compatible speech-to-text API (needs ffmpeg and a configured key). Saves an .srt you can pass to upload_video or upload_captions, and returns a timestamped transcript for writing metadata and chapters.

ParameterTypeDescription
file_path *string
languagestringSpoken language hint, e.g. "en".

generate_metadata Write titles, description, chapters and tags

Gets the transcript with timestamps (from text you pass, a .srt/.vtt/.txt file, an uploaded video’s captions, or by transcribing a local file). When an AI writing model is configured (Azure OpenAI, OpenAI…), it returns a finished draft: 3 titles, description with chapters, tags, hashtags, pinned comment and thumbnail text, already merged with the template and checked against YouTube’s limits. Otherwise (or with draft: false) it returns a brief for you to write from. Show the draft to the user before using it.

ParameterTypeDescription
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
draftbooleanHave the configured AI model write the metadata (default: yes when one is configured).
file_pathstringTranscribe this local video first (needs transcription configured).
formatstring
languagestringLanguage to write the metadata in.
notesstringAnything else: audience, links to include, tone.
templatestring
transcriptstringTranscript or notes as plain text.
transcript_pathstring.srt, .vtt or .txt file on this computer.
video_idstringUse the captions of this video on your channel.

preview_metadata Preview final metadata

Show exactly what would be sent to YouTube (title, description, tags, playlists) after applying a template, check it against YouTube’s limits and chapter rules, and score its SEO/packaging (0-100 with fixes). No API call, no quota.

ParameterTypeDescription
title *stringVideo title (max 100 characters; about 70 show on mobile).
category_idstringYouTube category id, e.g. 22 People & Blogs, 27 Education, 28 Science & Technology. See list_categories.
contains_synthetic_mediabooleanAltered or synthetic content disclosure: true if realistic content was made or altered with AI.
default_audio_languagestringSpoken language, e.g. "en", "hi".
default_languagestringLanguage of title/description, e.g. "en".
descriptionstringDescription. Template header/footer/hashtags are added automatically.
duration_secondsnumberVideo length, so the SEO score can check chapters.
embeddableboolean
has_paid_product_placementbooleanPaid promotion disclosure: true if the video contains paid product placement, sponsorship or endorsement.
keywordstringMain search phrase, for the SEO score.
licensestring
made_for_kidsbooleanCOPPA: is this video made for kids? Defaults to false (or the template value).
tagsarrayTags (total under 500 characters).
templatestringTemplate name from list_templates (adds title format, footer, tags, hashtags, playlists).

list_templates List templates

Metadata templates (title format, description footer, default tags, hashtags, category, playlists, voice guidance) available for uploads.

save_template Save a template

Create or replace a metadata template, saved as JSON in the templates folder. Use {title} in title_format. `extends` inherits another template; tags and hashtags combine.

ParameterTypeDescription
name *string
category_idstring
default_audio_languagestring
default_languagestring
descriptionstring
description_footerstring
description_headerstring
embeddableboolean
extendsstring
guidancestring
hashtagsarray
licensestring
made_for_kidsboolean
playlistsarray
tagsarray
title_formatstring

delete_template Delete a template

Delete a saved template file.

ParameterTypeDescription
name *string

quota_status Quota status

Estimated YouTube API quota used today (units and uploads) for this Google Cloud project, and when it resets (midnight Pacific Time).

get_channel Channel profile and stats

The channel’s title, handle, description, keywords, country, default language, trailer, subscriber/view/video counts, banner and settings.

ParameterTypeDescription
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.

update_channel Edit channel profile

Change the channel description, keywords, country, default language or the trailer shown to non-subscribers. Only the fields you pass change. These are public, so the user confirms first. (The channel name and handle can only be changed in YouTube Studio.)

ParameterTypeDescription
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
confirmation_tokenstringOnly after the user approved: the confirmation_token returned by the previous call with identical arguments.
countrystringISO country code, e.g. IN, US.
default_languagestringe.g. "en".
descriptionstring
keywordsstringSpace-separated; wrap multi-word keywords in quotes, e.g. hackathon "startup India".
localizationsobjectChannel title/description per language, e.g. {"hi": {"description": "..."}}. Merged with existing ones.
unsubscribed_trailerstringVideo id to show non-subscribers as the channel trailer.

set_channel_banner Set channel banner

Upload a channel banner (JPG/PNG, 16:9, at least 2048x1152, ideally 2560x1440, max 6 MB). Public, so the user confirms first.

ParameterTypeDescription
image_path *string
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
confirmation_tokenstringOnly after the user approved: the confirmation_token returned by the previous call with identical arguments.

set_watermark Set or remove the video watermark

Set the subscribe watermark shown on all channel videos (square JPG/PNG, at least 150x150, max 1 MB), or remove it with remove: true.

ParameterTypeDescription
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
confirmation_tokenstringOnly after the user approved: the confirmation_token returned by the previous call with identical arguments.
image_pathstring
offset_secondsinteger
removeboolean
showstringentire_video, the last 15 seconds (end), or from offset_seconds (custom).

list_comments List comments

Comment threads on one video, or across the whole channel (newest first). Filter by moderation state (published, held_for_review, likely_spam) or search text. Includes replies.

ParameterTypeDescription
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
max_resultsinteger
orderstring
page_tokenstring
searchstring
statusstring
video_idstringOmit for comments across all channel videos.

reply_to_comment Reply or comment as the channel

Post a public reply to a comment (comment_id = the top-level comment or thread id) or a new top-level comment on a video (video_id). Posts publicly as the channel, so the user confirms the exact text first.

ParameterTypeDescription
text *string
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
comment_idstring
confirmation_tokenstringOnly after the user approved: the confirmation_token returned by the previous call with identical arguments.
video_idstring

moderate_comments Moderate comments

Publish held comments, hold comments for review, or remove (reject) them; optionally ban the author from commenting on the channel. Removing or banning needs the user’s confirmation.

ParameterTypeDescription
action *string
comment_ids *array
ban_authorbooleanOnly with remove: also hide this person’s future comments.
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
confirmation_tokenstringOnly after the user approved: the confirmation_token returned by the previous call with identical arguments.

delete_comment Delete the channel’s own comment

Delete a comment or reply that the channel itself wrote (other people’s comments are removed with moderate_comments). Needs the user’s confirmation.

ParameterTypeDescription
comment_id *string
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
confirmation_tokenstringOnly after the user approved: the confirmation_token returned by the previous call with identical arguments.

get_analytics Channel and video analytics

YouTube Analytics for the channel or one video. Reports: overview (views, watch time, average view duration, subscribers gained/lost, likes, comments, shares), daily (trend by day), top_videos (best performers with titles), traffic_sources, search_terms (YouTube search queries), geography, devices, demographics (age/gender), retention (audience retention curve, needs video_id), subscribed_status, or custom (your own metrics/dimensions). Defaults to the last 28 days. Data lags about 2 days.

ParameterTypeDescription
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
dimensionsstringcustom only: e.g. day,country.
end_datestringYYYY-MM-DD; default today.
filtersstringcustom only: e.g. country==IN;video==abc.
max_resultsinteger
metricsstringcustom only: comma-separated metrics, e.g. views,likes,cardClickRate.
reportstring
sortstring
start_datestringYYYY-MM-DD; default 28 days before end_date.
video_idstringLimit the report to one video.

ai_status AI providers and models

Which AI providers are connected (Claude, OpenAI, Azure OpenAI, Gemini, OpenRouter, Groq, Ollama, custom) and which model each job uses: text (writing, analysis), vision (judging thumbnails), image (making thumbnails), transcribe. Keys are never shown.

set_ai_models Choose AI models

Pick which connected provider and model handle each job, as "provider:model" (Azure: "azure:<deployment>"), e.g. text "anthropic:claude-opus-5-5", image "openai:gpt-image-2", transcribe "groq:whisper-large-v3". Pass null to go back to the automatic choice.

ParameterTypeDescription
effortstringReasoning effort for Claude (default medium).
imagestring | null
textstring | null
transcribestring | null
visionstring | null

analyze_video Diagnose a video and suggest fixes

Full performance picture for one video: views vs this channel's usual (outlier score), watch time, average view percentage, hook retention at 30 s and the retention curve, traffic sources, YouTube search terms, subscribers gained, SEO score. With an AI model connected it adds a diagnosis: what's working, what's hurting, title variants and thumbnail ideas ready to A/B test, and next actions.

ParameterTypeDescription
video_id *string
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
diagnosebooleanAsk the AI model for a diagnosis when one is connected.
templatestringTemplate whose voice guidance the suggestions should follow.

triage_comments Sort comments and draft replies

Reads recent comments (one video or the whole channel) and returns sentiment, themes, unanswered questions with draft replies, comments worth a reply, spam or abuse to moderate, and video ideas the audience is asking for. Drafts only: nothing is posted. Without an AI model it returns the comments for you to triage.

ParameterTypeDescription
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
include_heldbooleanAlso include comments held for review.
max_commentsinteger
video_idstring

translate_video_metadata Draft translated titles and descriptions

Drafts the video's title and description in other languages so it can reach viewers who search in them. Returns drafts only; apply them with set_video_localizations after the user approves.

ParameterTypeDescription
languages *arrayBCP-47 codes, e.g. ["hi", "es", "pt-BR"]
video_id *string
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.

suggest_shorts Find Shorts in a long video

Finds the moments in a long video that work as standalone Shorts (hook in the first seconds, one idea, a payoff) with start/end times, hook line, title and a score. Use a local file (transcribed), an uploaded video's captions, or a transcript file. Then cut them with create_short.

ParameterTypeDescription
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
countinteger
file_pathstring
max_secondsinteger
transcript_pathstring
video_idstring

create_short Cut a vertical Short

Cuts start-end (seconds) from a local video into a vertical 1080x1920 MP4 for YouTube Shorts (max 180 s). layout crop fills the frame from the centre (talking heads); blur shows the whole frame over a blurred fill; original keeps the aspect ratio. Needs ffmpeg.

ParameterTypeDescription
end *number
file_path *string
start *number
layoutstring
output_pathstringWhere to save; default is the shorts folder in the data directory.
overwritebooleanReplace output_path if it already exists.

extract_frames Grab stills for thumbnails

Saves evenly spaced stills (or stills at given seconds) from a local video as 1280-wide JPGs, as thumbnail candidates or as references for generate_thumbnails. Needs ffmpeg.

ParameterTypeDescription
file_path *string
at_secondsarray
countinteger

generate_thumbnails Design and generate thumbnails

Designs thumbnail concepts for a title (text overlay + image prompt) with the text model, then renders them with the image model (OpenAI gpt-image, Azure OpenAI image deployments, Gemini image). Optionally builds on a video frame. Saves 1280x720 JPGs under 2 MB, ready for set_thumbnail or create_ab_test. Without an image model it returns the concepts only.

ParameterTypeDescription
title *string
contextstringWhat the video is about, the subject, the audience.
countinteger
reference_imagestringPath to a frame or photo to build on.
stylestringe.g. "bold, high contrast, face on the left, dark background"

critique_thumbnails Judge and rank thumbnails

Scores 1-4 thumbnail images as a phone viewer sees them (readability at small size, emotion, subject clarity, fit with the title), ranks them and lists fixes. Needs a vision model (Claude, OpenAI, Gemini, Azure).

ParameterTypeDescription
image_paths *array
title *string

content_ideas What to make next

Next video ideas grounded in this channel's data: its outliers (what over-performed vs its usual), underperformers, and optionally a topic to research. With an AI model it returns ideas with angle, why now, thumbnail concept and confidence; otherwise the data for you to reason from.

ParameterTypeDescription
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
countinteger
focusstringA theme or audience to focus on.
templatestring

create_ab_test A/B test titles, thumbnails or descriptions

Tests 1-3 challenger versions of a live video against its current version (A). The server rotates which version is live one full day at a time (Pacific days, matching YouTube Analytics), in balanced random order so weekdays even out, then compares daily views, watch time, average view percentage, subscribers or engagement, adjusting for the video's natural decline in daily views, with a significance test. At the end it restores A, waits ~3 days for analytics to land, and (if auto_apply_winner) puts a significant winner live. YouTube Studio's own Test & Compare (with impressions click-through r…

ParameterTypeDescription
variants *arrayChallengers B, C, D. Fields left out stay as in A.
video_id *string
auto_apply_winnerboolean
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
confirmation_tokenstringOnly after the user approved: the confirmation_token returned by the previous call with identical arguments.
daysintegerTest length; at least 3 days per version.
metricstringWhat decides the winner.
original_thumbnail_pathstringThe current thumbnail file (needed for thumbnail tests when YouTube has no 1280x720 copy of it).
startstring"tomorrow" (recommended: full clean days), "today", or YYYY-MM-DD (Pacific).

list_ab_tests List A/B tests

A/B tests with their status (scheduled, running, collecting results, completed, stopped), live variant and winner.

ParameterTypeDescription
statusstring

get_ab_test A/B test details and results

Schedule, live variant and results so far (per-variant daily averages, lift vs the original, p-values, verdict). Results become reliable once every version has 3+ clean days; analytics lag about 2 days.

ParameterTypeDescription
test_id *string
refreshbooleanRotate now if due, and compute fresh interim results.

stop_ab_test Stop an A/B test

Stops a test and puts the chosen version live (A = original). Public change, so the user confirms first.

ParameterTypeDescription
test_id *string
confirmation_tokenstringOnly after the user approved: the confirmation_token returned by the previous call with identical arguments.
keepstringVariant to leave live: A, B, C or D.

seo_check SEO and packaging score

Scores a video's (or draft's) title, description, tags, hashtags and chapters against YouTube best practice, 0-100 with fixes in order of impact. No AI needed; 1 quota unit for a video_id, none for a draft.

ParameterTypeDescription
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
descriptionstring
duration_secondsnumber
keywordstringThe main search phrase you want to rank for.
tagsarray
titlestring
video_idstring

find_outliers Channel outliers

Ranks the channel's videos by outlier score (views ÷ the median of neighbouring uploads of the same format). Shows what over-performed (repeat it) and what under-performed (fix packaging or drop the topic). Shorts and long videos are compared separately.

ParameterTypeDescription
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
formatstring
max_videosinteger

research_topic Research a topic on YouTube

Searches YouTube for recent videos on a topic and ranks them by breakout ratio (views ÷ the uploader's subscribers: above 1 means it reached far beyond its audience), with title patterns (length, numbers, questions, common words) and typical duration. Costs about 102+ quota units per call.

ParameterTypeDescription
query *string
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
daysinteger
durationstringshort <4 min, medium 4-20, long >20.
max_resultsinteger
orderstring
region_codestring

best_publish_time Best day and time to publish

Compares first-week views of the channel's recent public uploads by weekday and time of day they were published (in your time zone), relative to the channel median. Uses YouTube Analytics; needs 6+ videos older than a week.

ParameterTypeDescription
channelstringWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
sampleinteger
time_zonestringIANA time zone, e.g. Asia/Kolkata.