Skip to main content
Glama

Analyze a channel's performance

analyze_channel
Read-onlyIdempotent

Score a channel's recent videos against its own median views to identify which genuinely outperformed, returning a multiple per video and flagging Shorts.

Instructions

Score a channel's recent videos against its OWN median views, so you can see which ones genuinely outperformed rather than which are simply oldest. Returns a multiple per video, so 3.2x means it did three times that channel's normal numbers. Use this before modelling anyone's content. Shorts are flagged because their views are not comparable to long-form on the same channel.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoHow many recent videos to score. Default 30.
accountNoWhich connected channel's quota to spend. Only matters when several are connected.
channelYes@handle, channel id, or URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower; the description still adds real value by explaining the return value (a per-video multiple, with a worked 3.2x example) and the Shorts-flagging behavior. It omits quota/cost implications hinted at by the 'account' parameter.

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 sentences, front-loaded with the core mechanism and differentiator. Each sentence earns its place, though the '3.2x means three times' phrasing is mildly redundant with 'multiple per video'.

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

Completeness5/5

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

With no output schema, the description correctly explains the return format and its meaning, plus the Shorts comparability caveat. Annotations cover the safety profile, so nothing an agent needs to call this correctly is missing.

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 100%, so the schema already documents channel, limit, and account. The description adds no parameter-level detail (e.g. accepted channel formats), so it sits at the baseline.

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?

States a precise mechanism (scoring recent videos against the channel's OWN median views) rather than a generic verb. The 'rather than which are simply oldest' clause and the 'multiple per video' detail make the tool's purpose self-distinguishing from raw analytics siblings even without naming them.

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?

Gives a clear workflow cue ('Use this before modelling anyone's content') and a caveat about Shorts. However, it never names an alternative tool (e.g. get_channel_analytics) or states when NOT to use it, so an agent must infer the boundary.

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