Skip to main content
Glama

YouTube performance report

youtube_performance_report
Read-only

YouTube Analytics for the channel over a date range, optionally split by ONE dimension: day, month, video, country, deviceType, subscribedStatus, or creatorContentType (Shorts vs long-form vs live). Metrics: views, estimatedMinutesWatched, averageViewDuration (seconds), averageViewPercentage, subscribersGained/Lost, likes, comments, shares. Metrics a dimension doesn't support are dropped and listed. Filter to one video or country. To see whether YouTube viewers reach the website, pair with GA4 run_report (sessionSource contains 'youtube').

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

Input Schema

NameRequiredDescriptionDefault
limitNoRows for dimension=video or country. Default 25.
videoNoLimit to one video: id, URL, or title.
channelNoChannel name or id. Only needed when more than one YouTube channel is connected.
countryNoLimit to one country, ISO code e.g. 'IE'.
endDateNoYYYY-MM-DD. Default: 3 days ago (YouTube Analytics lags 2-3 days).
metricsNoDefault: views, estimatedMinutesWatched, averageViewDuration, subscribersGained.
currencyNoCurrency for revenue, ISO code like 'EUR'. Default USD (YouTube's reporting currency).
dimensionNo
startDateNoYYYY-MM-DD. Default: 28 days before endDate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, openWorld, and non-destructive, so the safety profile is covered. The description adds genuinely useful behavior: metrics a dimension doesn't support are silently dropped and reported back, which affects how an agent should interpret results. It does not cover row limits, permission/authorization needs, or result ordering beyond what the schema states.

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?

Four dense sentences, front-loaded with scope, then dimensions, then metrics, then cross-tool guidance — every sentence carries information. The metric list is long but functional; nothing is padding, though the prose is compressed enough to be slightly hard to scan.

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

Completeness4/5

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

For a 9-parameter, no-output-schema reporting tool, the description covers dimensions, metrics, filtering, and dropped-metric behavior, which is what an agent needs to construct a valid call. Defaults (metric set, limit, date window) live in the schema, so their absence from the description is acceptable; pagination and result shape remain undeclared but are minor here.

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 89% schema coverage the schema does most of the work, but the description adds meaning the schema lacks: it glosses dimension values (creatorContentType = Shorts vs long-form vs live), explains averageViewDuration is in seconds, and states the one-dimension restriction and one-video/one-country filtering. That is real semantic value on top of the enum and property descriptions.

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 a specific resource and scope ('YouTube Analytics for the channel over a date range') and enumerates the allowed dimensions and metrics, so an agent can tell it produces a channel-level performance report rather than, say, retention or revenue data alone. It does not explicitly contrast itself with close siblings like youtube_revenue or youtube_audience, so it stops short of full differentiation.

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

Usage Guidelines3/5

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

It gives one concrete routing rule — pair with GA4 run_report when you need to know whether YouTube viewers reach the website — and states the structural constraint that only ONE dimension may be split. It offers no guidance on when to prefer this over sibling YouTube report tools (audience, revenue, top_videos), leaving that inference to the agent.

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