Skip to main content
Glama

Get video traffic sources

youtube_get_video_traffic_sources
Read-onlyIdempotent

Retrieve traffic source types for a YouTube video, sorted by views, within a specified date range.

Instructions

Return YouTube traffic-source types for an owned video, sorted by views.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endDateYes
videoIdYes
startDateYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
dataNo
metaYes
errorNo
Behavior4/5

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

Annotations already indicate read-only, idempotent, non-destructive behavior. The description adds value by specifying that results are sorted by views and that the video must be owned. No contradictions with annotations.

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 description is a single, clear sentence of 9 words. It is front-loaded with the core action and resource, with no unnecessary information.

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?

Despite a good annotation set and output schema, the description is too minimal. It does not cover parameter details or provide enough context for a tool with three required parameters. The one-sentence description leaves gaps.

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?

Schema coverage is 0% with no parameter descriptions. The description does not explain the semantics of any parameter (e.g., date format, videoId scope). It only implies ownership for videoId, which is insufficient.

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?

The description specifies the verb 'Return', the resource 'traffic-source types', and additional details 'for an owned video, sorted by views'. This clearly distinguishes it from sibling tools like youtube_get_video_analytics or youtube_get_video_retention.

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 description lacks any guidance on when to use this tool versus alternatives. It does not mention prerequisites, context, or when not to use it. The purpose is implicit but no explicit usage guidelines are provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/FullStackCraft/youtube-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server