Skip to main content
Glama

Get YouTube Channel Data

dynamoi_get_youtube_channel_data
Read-only

Use this for "how is my YouTube channel doing?" or "what is growing my channel?" once a channel is linked. Use this to analyze an artist's own connected YouTube channel's estimated ad revenue to inform AdSense strategy and channel growth, alongside subscribers, views, watch time or country, device and subscribed-status breakdowns: paged channel data from the YouTube Analytics warehouse or explicitly qualified synthetic/sample data. Pick one dataset: channel_daily (views, watch time, subscribers gained and lost, likes, shares, playlist starts, estimated revenue, ad revenue, gross revenue, monetized playbacks, CPM and playback-based CPM), video_daily (per-video metrics with titles; filter with videoIds), country_daily, traffic_source_daily, search_term_daily (YouTube search terms for the whole channel), subscribed_status_daily, device_daily, operating_system_daily, playback_location_daily, creator_content_type_daily, or video_catalog (video titles and publish dates). traffic_source_daily rows with source ADVERTISING carry trafficClass=paid and every other source carries trafficClass=organic, but that label only groups sources and is not organic proof: ad clicks that land in a playlist are credited mostly to PLAYLIST and SUBSCRIBER, so trafficClass=organic rows include ad sessions. Organic lift is growth in sources ads do not touch (YT_SEARCH, RELATED_VIDEO, browse features) or lift that persists after spend stops. Warehouse data is observed on the channel, not attributed to any campaign. Preserve the returned source, coverage, freshness, and synthetic/sample qualifications; do not treat synthetic/sample data as observed channel results, campaign attribution, or actual earnings/payouts. Treat returned ad revenue as estimated revenue, not an AdSense payout. The first page of any dataset (including format=summary) also carries one adsense block, the same figures the Dynamoi dashboard and app show: formats (long-form versus Shorts AdSense revenue and RPM), recovery and campaigns (incremental AdSense since each campaign and whether it earned back the billed amount), and countries (AdSense per ad playback against similar channels). It is estimated, not a payout, and covers windowFromDay to windowThroughDay, which is not always the requested range: compare against those fields. recovery.state building or unavailable and null figures mean unknown, never zero; adsense is null outside the YouTube Partner Program, on later pages, or when temporarily unavailable (adsenseNote explains). Compare periods yourself and use the campaigns block (dates, strategy, promoted videos) as context. YouTube data arrives about 2-3 days late and revenue can lag further: check coverage before comparing, and treat placeholderDays and missingDays as unknown, never zero. Not available yet: audience demographics, per-video traffic sources and per-video search terms. Needs a connected channel; a channel that must be reconnected is refused. Returns no ad spend. Before judging a campaign's strategy, read the strategyGuide from dynamoi_get_campaign. Page with nextCursor; format=summary returns only the summary, coverage and adsense.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "artistId": "<artistId>",
      "dataset": "<dataset>",
      "endDate": "<endDate>",
      "startDate": "<startDate>"
    },
    "name": "dynamoi_get_youtube_channel_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNo
formatNo
datasetYes
endDateYes
artistIdYes
videoIdsNo
startDateYes

Output Schema

NameRequiredDescriptionDefault
codeNo
dataNo
kindNo
fieldNo
statusYes
draftIdNo
messageNo
retryableNo
nextActionNo
failureStageNo
prerequisiteNo
screeningResultNo
retryAfterSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed19 schema fields changed
    • changedOutput schema / additionalProperties
      Previous value: -{}New value: +false
    • changedOutput schema / properties / data / additionalProperties
      Previous value: -{}New value: +false
    • addedOutput schema / properties / data / properties / adsense
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "campaigns": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "billedUsd": {
      +                "type": "number"
      +              },
      +              "campaignId": {
      +                "type": "string"
      +              },
      +              "countsThroughDay": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "daysToGo": {
      +                "anyOf": [
      +                  {
      +                    "maximum": 9007199254740991,
      +                    "minimum": -9007199254740991,
      +                    "type": "integer"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "earnedBack": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "incrementalUsd": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "status": {
      +                "enum": [
      +                  "counting",
      +                  "final",
      +                  "unmeasured"
      +                ],
      +                "type": "string"
      +              },
      +              "title": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "billedUsd",
      +              "campaignId",
      +              "countsThroughDay",
      +              "daysToGo",
      +              "earnedBack",
      +              "incrementalUsd",
      +              "status",
      +              "title"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "countries": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "adsensePerAdPlaybackUsd": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "code": {
      +                "type": "string"
      +              },
      +              "name": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "peerAdsensePerAdPlaybackUsd": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "peerDelta": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "revenueUsd": {
      +                "type": "number"
      +              },
      +              "targeted": {
      +                "type": "boolean"
      +              }
      +            },
      +            "required": [
      +              "adsensePerAdPlaybackUsd",
      +              "code",
      +              "name",
      +              "peerAdsensePerAdPlaybackUsd",
      +              "peerDelta",
      +              "revenueUsd",
      +              "targeted"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "formats": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "longForm": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "revenueUsd": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "rpmUsd": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "views": {
      +                      "anyOf": [
      +                        {
      +                          "maximum": 9007199254740991,
      +                          "minimum": -9007199254740991,
      +                          "type": "integer"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    }
      +                  },
      +                  "required": [
      +                    "revenueUsd",
      +                    "rpmUsd",
      +                    "views"
      +                  ],
      +                  "type": "object"
      +                },
      +                "shorts": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "revenueUsd": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "rpmUsd": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "views": {
      +                      "anyOf": [
      +                        {
      +                          "maximum": 9007199254740991,
      +                          "minimum": -9007199254740991,
      +                          "type": "integer"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    }
      +                  },
      +                  "required": [
      +                    "revenueUsd",
      +                    "rpmUsd",
      +                    "views"
      +                  ],
      +                  "type": "object"
      +                },
      +                "throughDay": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "longForm",
      +                "shorts",
      +                "throughDay"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "recovery": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "aboveSwing": {
      +                  "type": [
      +                    "boolean",
      +                    "null"
      +                  ]
      +                },
      +                "billedUsd": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "daysCounted": {
      +                  "anyOf": [
      +                    {
      +                      "maximum": 9007199254740991,
      +                      "minimum": -9007199254740991,
      +                      "type": "integer"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "daysNeeded": {
      +                  "anyOf": [
      +                    {
      +                      "maximum": 9007199254740991,
      +                      "minimum": -9007199254740991,
      +                      "type": "integer"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "earnedBack": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "incrementalUsd": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "sinceDay": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "state": {
      +                  "enum": [
      +                    "ready",
      +                    "building",
      +                    "unavailable"
      +                  ],
      +                  "type": "string"
      +                },
      +                "swingUsd": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "throughDay": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "unavailableReason": {
      +                  "anyOf": [
      +                    {
      +                      "enum": [
      +                        "baseline",
      +                        "billing",
      +                        "no_campaign",
      +                        "read_failed"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "aboveSwing",
      +                "billedUsd",
      +                "daysCounted",
      +                "daysNeeded",
      +                "earnedBack",
      +                "incrementalUsd",
      +                "sinceDay",
      +                "state",
      +                "swingUsd",
      +                "throughDay",
      +                "unavailableReason"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "windowDays": {
      +          "maximum": 9007199254740991,
      +          "minimum": -9007199254740991,
      +          "type": "integer"
      +        },
      +        "windowFromDay": {
      +          "type": "string"
      +        },
      +        "windowThroughDay": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "campaigns",
      +        "countries",
      +        "formats",
      +        "recovery",
      +        "windowDays",
      +        "windowFromDay",
      +        "windowThroughDay"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / data / properties / adsenseNote
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / data / properties / campaigns
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "campaignId": {
      +        "type": "string"
      +      },
      +      "createdAt": {
      +        "type": "string"
      +      },
      +      "endDate": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "promotedVideos": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "playlistId": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "videoId": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "playlistId",
      +            "videoId"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "status": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "strategy": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "key": {
      +            "enum": [
      +              "CHEAPEST_VIEWS",
      +              "ORGANIC_VIEWS",
      +              "SUBSCRIBERS",
      +              "ORGANIC_VIEWS_AND_SUBSCRIBERS",
      +              "ADSENSE_ROI"
      +            ],
      +            "type": "string"
      +          },
      +          "label": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "key",
      +          "label"
      +        ],
      +        "type": "object"
      +      },
      +      "title": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "campaignId",
      +      "createdAt",
      +      "endDate",
      +      "promotedVideos",
      +      "status",
      +      "strategy",
      +      "title"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / data / properties / channelId
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / data / properties / coverage
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "datasetLatestDay": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "latestCompleteDay": {
      +      "type": "string"
      +    },
      +    "missingDays": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "note": {
      +      "type": "string"
      +    },
      +    "observedThroughDay": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "placeholderDays": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "requestedEndDate": {
      +      "type": "string"
      +    },
      +    "requestedStartDate": {
      +      "type": "string"
      +    },
      +    "revenueThroughDay": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "datasetLatestDay",
      +    "latestCompleteDay",
      +    "missingDays",
      +    "note",
      +    "observedThroughDay",
      +    "placeholderDays",
      +    "requestedEndDate",
      +    "requestedStartDate",
      +    "revenueThroughDay"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / data / properties / dataLagNote
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / data / properties / dataset / enum
      Added value: +[
      +  "channel_daily",
      +  "video_daily",
      +  "country_daily",
      +  "traffic_source_daily",
      +  "search_term_daily",
      +  "subscribed_status_daily",
      +  "device_daily",
      +  "operating_system_daily",
      +  "playback_location_daily",
      +  "creator_content_type_daily",
      +  "video_catalog"
      +]
    • addedOutput schema / properties / data / properties / notAvailable
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / data / properties / rowCount / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / rowCount / minimum
      Added value: +0
    • changedOutput schema / properties / data / properties / rowCount / type
      Previous value: -"number"New value: +"integer"
    • addedOutput schema / properties / data / properties / rows
      Added value: +{
      +  "items": {
      +    "additionalProperties": {
      +      "type": [
      +        "string",
      +        "number",
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "propertyNames": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / data / properties / source
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "attribution": {
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "attribution",
      +    "name"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / data / properties / strategyGuideResource
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / data / required
      Added value: +[
      +  "adsense",
      +  "adsenseNote",
      +  "artistId",
      +  "campaigns",
      +  "channelId",
      +  "channelName",
      +  "coverage",
      +  "dataLagNote",
      +  "dataset",
      +  "notAvailable",
      +  "rowCount",
      +  "source",
      +  "strategyGuideResource",
      +  "summary"
      +]
    • addedOutput schema / properties / kind / enum
      Added value: +[
      +  "validation",
      +  "business",
      +  "platform",
      +  "unknown"
      +]
    • changedOutput schema / properties / status / enum
      Previous value: -[
      -  "success",
      -  "partial_success",
      -  "error"
      -]New value: +[
      +  "success",
      +  "error"
      +]
  2. Changed1 schema field changed
    • changedOutput schema / properties / code / enum
      Previous value: -[
      -  "ACCOUNT_READ_ONLY",
      -  "INVALID_SPOTIFY_SOURCE",
      -  "CAPABILITY_REQUIRED",
      -  "INSUFFICIENT_SCOPE",
      -  "STATE_CONFLICT",
      -  "QUOTE_CHANGED",
      -  "RATE_LIMITED",
      -  "OUTPUT_INVALID",
      -  "UNKNOWN_EFFECT"
      -]New value: +[
      +  "ACCOUNT_READ_ONLY",
      +  "INVALID_SPOTIFY_SOURCE",
      +  "CAPABILITY_REQUIRED",
      +  "INSUFFICIENT_SCOPE",
      +  "TENANT_ACCESS_DENIED",
      +  "STATE_CONFLICT",
      +  "QUOTE_CHANGED",
      +  "RATE_LIMITED",
      +  "OUTPUT_INVALID",
      +  "UNKNOWN_EFFECT"
      +]
  3. Added

TDQS

A4.5/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the readOnly/non-destructive annotations it discloses substantial behavior: 2-3 day data lag, revenue lag, placeholderDays/missingDays as unknown-not-zero, adsense null outside the YouTube Partner Program or on later pages, recovery.state building/unavailable, and the fact that no ad spend is returned. These are non-obvious traits an agent would otherwise get wrong.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded with the use case, but the bulk is a single very long run-on paragraph mixing dataset enumeration, traffic-source caveats, adsense details and freshness warnings. There is repetition (the estimated-not-a-payout caveat appears twice), which hurts scanability even though most sentences carry real information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex multi-dataset analytics tool it covers the essentials: dataset choice, freshness/coverage caveats, null semantics, synthetic-data qualification, unavailable metrics, and pagination. An output schema exists so return-shape detail is rightly not duplicated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage the description carries the burden, and it does so for most parameters: it details each dataset enum value and its metrics, the videoIds filter for video_daily, cursor paging, and format=summary behavior. limit and the startDate/endDate semantics are left largely implicit, so it stops short of full coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb+resource (paged YouTube Analytics channel data for an artist's connected channel) and enumerates the eleven datasets, so an agent can tell exactly what it retrieves. It is clearly distinguishable from the sibling set, which contains no other YouTube-analytics retrieval tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives concrete triggering questions ("how is my YouTube channel doing?", "what is growing my channel?"), states the precondition of a linked channel, and routes to dynamoi_get_campaign for strategyGuide context. It does not however contrast this tool with broader siblings like dynamoi_get_analytics or dynamoi_get_earnings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.