Skip to main content
Glama
Private YouTube Analytics MCP

Private YouTube Analytics MCP

by blurboy1985

video_performance

Read-only

Retrieve daily views, watch minutes, and average view duration for a channel-owned video over a chosen date range to assess performance trends.

Instructions

Daily views, watch minutes and average view duration for a video verified to belong to the connected channel.

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": {
      "video_id": "<video_id>"
    },
    "name": "video_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateNo
video_idYes
start_dateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds meaningful context beyond them: the video is 'verified to belong to the connected channel,' which tells the agent this only works for owned videos and will presumably fail otherwise. It does not disclose what happens on a non-owned id, date-range limits, or rate limits.

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?

One compact sentence that front-loads the returned metrics before the ownership constraint. No wasted wording, though it is arguably too terse for a tool with zero schema documentation.

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?

There is no output schema, so the description usefully names what comes back (views, watch minutes, average duration), which is the right thing to surface. However, for a 3-parameter analytics call with entirely undocumented parameters, date-range semantics and the ownership precondition's failure behavior are missing.

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

Parameters2/5

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

Schema description coverage is 0% and all three parameters (video_id, start_date, end_date) are undocumented in the schema. The description only hints at date scoping via 'Daily' and never explains date format, defaults, maximum range, or what video_id must refer to. With a full coverage gap, the description should compensate and does not.

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?

States a specific resource (a video) and enumerates the returned metrics: daily views, watch minutes, average view duration. It is clearly a per-video analytics read, which implicitly distinguishes it from channel-level and listing siblings, though no sibling is named.

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?

The phrase 'daily' implies time-series granularity, but there is no explicit when-to-use guidance or contrast with alternatives such as daily_performance, channel_overview, or audience_retention. An agent must infer which tool to pick from the name alone.

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