Skip to main content
Glama

List your YouTube channels

analytics_list_youtube_channels
Read-onlyIdempotent

The YouTube channels the user connected to this workspace, with each one's subscribers, lifetime views and video count. With one channel connected, analytics_get_youtube_report needs no channel and this call can be skipped; with several, it takes a channel_id from here.

Use when: "which of my channels are connected", the channel's subscriber and video counts, picking a channel for analytics_get_youtube_report when several are connected. Not for: a channel the user does not own, use youtube_get_channel. Google Analytics properties, use analytics_list_properties. Returns: List. rows[]: channel_id (UC...), title, handle, subscribers (rounded by YouTube, null when hidden), views, videos, created_at, connected_as (the Google account that connected it), needs_reconnect. NotConnected when no channel is connected; its connect_url is where the user connects one. Cost: 0 credits. The user's own data is free; it shares the console's 60 calls per minute per workspace. Cached 1 minute. Example: {}

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": "analytics_list_youtube_channels"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
metaYes
rowsNo
errorNo
hintsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing cost (0 credits), a shared rate limit (60 calls/min per workspace), a 1-minute cache, and the NotConnected error branch with its connect_url remedy. It also warns that subscribers may be null when hidden, which prevents downstream misinterpretation of the data. None of this is inferable from readOnlyHint/idempotentHint/openWorldHint.

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

Conciseness4/5

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

Front-loaded summary followed by scannable Use when / Not for / Returns / Cost / Example sections, and nearly every line carries decision-relevant information. The only waste is the full 'Returns' field list, which duplicates the output schema that already exists and could be trimmed.

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?

Complete for a no-arg read tool: it covers what the list contains, when to call it versus alternatives, credit cost, rate limits, caching, and the empty-state error path. Given that the output schema already covers return shapes, nothing material is missing.

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?

The tool takes zero parameters, so there is nothing the description must disambiguate and the empty schema is self-explanatory; the example '{}' reinforces that. A 4 baseline is appropriate for a parameterless tool, with no syntax detail to add.

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?

States a specific verb and resource with scope: 'The YouTube channels the user connected to this workspace,' plus the fields returned per channel. It is clearly distinguishable from analytics_get_youtube_report and youtube_get_channel, both of which are named explicitly.

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

Usage Guidelines5/5

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

Explicit 'Use when' conditions include concrete user phrasings ('which of my channels are connected'), and a 'Not for' section routes to the correct alternative for unowned channels (youtube_get_channel) and GA properties (analytics_list_properties). It also states the skip condition: with one channel connected, analytics_get_youtube_report needs no channel_id.

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.

Resources