Skip to main content

Youtube List Channels

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

READgoogle.youtube_list_channels
  • Contract tier: agent_ready
  • Risk: read
  • Catalog version: google-2026.07.12.2
  • Descriptor hash: a3cd82faf285bb53126187ed25ff4a8b0aaf899d9282e7c02e842df3bde41bc3

List YouTube channels by authenticated user, ID, or username. It reads the configured user's Google data through per-request OAuth, does not mutate provider state, and returns a normalized bounded envelope.

Request Body

{
"jsonrpc": "2.0",
"id": "google-youtube-list-channels-example",
"method": "tools/call",
"params": {
"name": "google.youtube_list_channels",
"arguments": {
"mine": false,
"part": "part_example",
"page_token": "page_token_example",
"channel_ids": "",
"max_results": 1,
"for_username": "for_username_example"
}
}
}

Arguments Schema

{
"type": "object",
"title": "youtube_list_channelsArguments",
"properties": {
"mine": {
"type": "boolean",
"title": "Mine",
"default": true,
"description": "Argument for youtube_list_channels."
},
"part": {
"type": "string",
"title": "Part",
"default": "snippet,statistics,contentDetails",
"description": "Google API partial resource selector such as snippet or statistics."
},
"page_token": {
"type": "string",
"title": "Page Token",
"default": "",
"description": "Provider pagination token returned by a previous list call."
},
"channel_ids": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Channel Ids",
"default": null,
"description": "YouTube channel IDs."
},
"max_results": {
"type": "integer",
"title": "Max Results",
"default": 10,
"description": "Maximum number of items to request from Google for this page."
},
"for_username": {
"type": "string",
"title": "For Username",
"default": "",
"description": "Legacy YouTube username lookup."
}
},
"additionalProperties": false
}

Output Schema

{
"type": "object",
"required": [
"ok",
"data",
"error",
"meta"
],
"properties": {
"ok": {
"type": "boolean",
"description": "Whether the local or Google provider operation completed successfully."
},
"data": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "array",
"items": {}
},
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"description": "Bounded local navigation or Google provider result when ok is true."
},
"meta": {
"type": "object",
"description": "Safe timing, pagination, cache, request, and truncation metadata.",
"additionalProperties": true
},
"error": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"description": "Safe structured error when ok is false."
}
},
"description": "Google MCP normalized operation envelope.",
"additionalProperties": false
}

Code Examples

curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "google-youtube-list-channels-example",
"method": "tools/call",
"params": {
"name": "google.youtube_list_channels",
"arguments": {
"mine": false,
"part": "part_example",
"page_token": "page_token_example",
"channel_ids": "",
"max_results": 1,
"for_username": "for_username_example"
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool google.youtube_list_channels executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}