Skip to main content
Glama
YouTube Studio MCP
by moeinxyz

get_channel_analytics

Read-only

Retrieve YouTube channel analytics for a date range, including views, watch time, engagement, and subscriptions, with optional daily totals or video-specific filtering.

Instructions

Owner's period totals or daily views, watch time, engagement and subscriptions. Dates are YYYY-MM-DD. Daily requests cover up to 366 days each.

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": {
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "get_channel_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateYes
video_idNo
start_dateYes
granularityNototal

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds a concrete operational constraint beyond them: daily requests are capped at 366 days, which tells the agent a call can fail or be truncated on long ranges. It does not discuss pagination or quota behavior, keeping it below a 5.

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?

Three short sentences with no filler, and the metric scope is front-loaded ahead of the format and limit details. The opening fragment ('Owner's period totals or daily views...') is slightly awkward to parse, which keeps it from a 5.

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

Completeness3/5

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

An output schema exists, so return values need no explanation, and the safety profile comes from annotations. However, with 0% schema coverage the missing video_id semantics and absent routing guidance leave real gaps for a four-parameter analytics tool.

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

Parameters3/5

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

Schema description coverage is 0%, so the description must carry parameter meaning. It does supply the YYYY-MM-DD date format for start_date and end_date and implicitly maps the granularity enum ('period totals or daily'), but it never mentions the video_id parameter, leaving one of four parameters completely unexplained.

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

Purpose4/5

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

The description names the resource (channel analytics) and the metric families it returns — views, watch time, engagement, subscriptions — plus the total-vs-daily distinction. It is a telegraphic fragment rather than a verb+resource sentence, and it does not distinguish this tool from siblings like get_video_retention or get_traffic_sources, so it falls short of a 5.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance and no named alternative among the many sibling analytics tools. The only usage-adjacent information is the 366-day cap on daily requests, which constrains a call but does not tell the agent when to prefer this tool over get_top_videos or get_video_retention.

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