Skip to main content
Glama

YouTube revenue

youtube_revenue
Read-only

Estimated YouTube earnings for a monetized channel over a period, against the period before: estimated revenue (what the creator gets), ad revenue, gross ad revenue, RPM (revenue per 1,000 views), CPM and monetized playbacks, plus the videos that earned most and their RPM. In USD unless currency is given. Channels outside the YouTube Partner Program have no revenue; the tool says so.

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_revenue"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoTop earning videos to list. Default 10.
channelNoChannel name or id. Only needed when more than one YouTube channel is connected.
endDateNoYYYY-MM-DD. Default: 3 days ago (YouTube Analytics lags 2-3 days).
currencyNoCurrency for revenue, ISO code like 'EUR'. Default USD (YouTube's reporting currency).
startDateNoYYYY-MM-DD. Default: 28 days before endDate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/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 real behavioral context beyond them: results are period-over-period comparisons (a trait not in the schema or annotations), amounts are in USD unless currency is supplied, and channels outside the YouTube Partner Program legitimately return no revenue — which prevents an agent from misreading an empty result as an error.

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?

Two sentences, front-loaded with the core promise and scope, then the metric list. The enumeration is long but justified because there is no output schema and it is the only statement of what comes back; the monetization caveat is placed last, which is appropriate.

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 carries responsibility for describing returns and does so thoroughly — metric list, top-video portion, currency, and comparative basis. Combined with a fully documented 5-parameter schema and read-only annotations, an agent has everything needed to call it correctly and interpret an empty result.

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 parameter baseline is 3 — the schema already documents dates, channel, currency and limit defaults. The description only echoes currency semantics (USD default) and alludes to the limit parameter via "videos that earned most"; it adds no syntax or interaction details the schema lacks.

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 specific resource and measure set — "Estimated YouTube earnings for a monetized channel over a period, against the period before" — followed by an explicit metric inventory (revenue, ad revenue, gross ad revenue, RPM, CPM, monetized playbacks) and the top-earning video breakdown. This is enough for an agent to separate it from youtube_audience, youtube_traffic_sources or youtube_performance_report without opening any schema.

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?

Usage context is implied by the metric vocabulary (revenue analysis against a prior period), but there is no explicit when-to-use/when-not-to-use statement and no alternative named. The closest thing to guidance is the monetization caveat, which tells the agent when results will be empty rather than when to pick this tool over a sibling.

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