Skip to main content
Glama
Private YouTube Analytics MCP

Private YouTube Analytics MCP

by blurboy1985

traffic_sources

Read-only

Retrieve aggregated YouTube traffic source types for a specified date range to see where views originate, without exposing viewer identities or search-query text.

Instructions

Official aggregate traffic source types; no viewer identities or search-query text.

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

Input Schema

NameRequiredDescriptionDefault
end_dateNo
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 establish read-only, non-destructive behavior, and the description adds useful privacy context by excluding viewer identities and search-query text. It does not explain what “official” means operationally, the result granularity, or how an omitted date range affects the retrieved data.

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

Conciseness5/5

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

The compact statement front-loads the resource and scope, then uses its second clause for meaningful exclusions. There is no redundant wording; missing operational detail is better assessed under completeness than as a conciseness problem.

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

Completeness2/5

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

The core subject is covered, but the undocumented date parameters and absence of an output schema leave important invocation and result questions unresolved. The definition does not establish the default period, supported date format, returned metrics or categories, or aggregation granularity.

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

Parameters1/5

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

With 0% schema description coverage, neither start_date nor end_date is explained, and the description never mentions them. Date syntax, range inclusivity, timezone, and the behavior of null or omitted values remain unspecified, so the description adds no parameter meaning beyond the property names.

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

Purpose3/5

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

The description identifies the resource and its official, aggregate scope, while the exclusions help distinguish it from sibling analytics tools. However, it has no retrieval verb, and “traffic source types” leaves unclear whether the result is a list of source categories or performance metrics grouped by source.

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?

The aggregate-only scope and explicit exclusions tell an agent to choose it for traffic-source reporting rather than viewer-level analysis or retrieval of search-query text. It does not name an alternative for those excluded needs or provide guidance about selecting a date range.

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