Skip to main content
Glama
YouTube Model Context Protocol (MCP) Server

YouTube Model Context Protocol (MCP) Server

by nilhn9660

youtube_get_revenue_report

Query YouTube Analytics for estimated revenue, ad revenue, gross revenue, and CPM over a date range to track channel earnings.

Instructions

Query YouTube Analytics API v2 for estimated revenue, ad revenue, gross revenue, and CPM.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "youtube_get_revenue_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateYes
start_dateYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden; 'Query' implies a read-only operation but nothing states auth requirements, quota/rate limits, or whether results are scoped to the authenticated channel. It does at least identify the underlying API (Analytics API v2), which hints at its conventions.

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?

A single tightly written sentence with no filler, and the metric list is front-loaded so the agent sees the returned data immediately. Nothing is wasted, though the brevity comes at the cost of the missing guidelines noted elsewhere.

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?

An output schema exists, so return values need not be explained, but the definition leaves out date-parameter semantics, channel scoping, and any differentiation from the general analytics tool. For a two-required-parameter reporting tool with zero annotation coverage, that is too thin.

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

Parameters2/5

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

Both parameters (start_date, end_date) have 0% schema description coverage and the description adds nothing about their format, timezone, allowed ranges, or maximum span. Two undocumented required date parameters on an analytics query is a real gap the description should have closed.

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 states a specific verb (Query) plus resource (YouTube Analytics API v2) and enumerates the exact metrics returned: estimated revenue, ad revenue, gross revenue, and CPM. That is enough to separate it from the generic sibling youtube_get_analytics_report, though the description never names or contrasts that sibling explicitly.

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?

There is no explicit when-to-use or when-not guidance; the agent must infer from the metric list that this is the revenue-specific report. Given the clearly overlapping sibling youtube_get_analytics_report, a sentence routing between the two would have been high value and is absent.

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

Deploy Server

Other Tools