Skip to main content
Glama
tuitamogamer-gpt

youtube-mcp-server

Geography Analytics

youtube_geography
Read-onlyIdempotent

Analyze your YouTube channel's audience by country, showing views, watch time, and average view duration per location.

Instructions

Break down views, watch time, and average view duration by country for the authenticated channel.

Args:

  • startDate (optional): Inclusive start date in YYYY-MM-DD format. Defaults to 28 days ago.

  • endDate (optional): Inclusive end date in YYYY-MM-DD format. Defaults to today.

  • maxResults (optional): Number of countries to return (1–50, default 25).

  • response_format (optional): "markdown" (default) or "json".

Returns (JSON shape):

{
  "columns": ["country", "views", "estimatedMinutesWatched", "averageViewDuration"],
  "rows": [["US", 10000, 45000, 270], ["IN", 8000, 30000, 225], ...]
}

Examples:

  • "Where are my viewers located?" → call with no arguments.

  • "Top 10 countries by views this month" → maxResults: 10 with appropriate dates.

Errors:

  • 403: insufficient scope — re-run npm run auth.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
startDateNoInclusive start date in YYYY-MM-DD format. Defaults to 28 days ago.
endDateNoInclusive end date in YYYY-MM-DD format. Defaults to today.
maxResultsNoNumber of countries to return (1–50). Defaults to 25.
response_formatNoOutput format: "markdown" (default) for a human-readable table, "json" for the structured payload.markdown
Behavior4/5

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

Annotations already indicate readOnlyHint=true and destructiveHint=false. The description adds behavioral context beyond annotations: mentions a possible 403 error (insufficient scope) and provides default date ranges, enhancing transparency without contradiction.

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 well-structured with a concise intro, bullet-pointed arguments, a formal return shape, and example usage. Every sentence adds value, no fluff.

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?

For a read-only analytics tool with no output schema, the description provides complete context: purpose, parameters with defaults, return format, examples, and error handling. It is self-contained and sufficient for an agent to use correctly.

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

Parameters5/5

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

Although schema coverage is 100%, the description adds significant meaning beyond schema by including the default value for startDate (28 days ago), the return shape with columns and rows, and a clear example. This fully compensates for the lack of an output schema.

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 clearly states it breaks down views, watch time, and average view duration by country. The verb "break down" and resource "by country" are specific and distinguish it from sibling tools like youtube_top_videos (top videos) or youtube_traffic_sources (traffic sources).

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 description provides clear context for when to use the tool (geographic analytics for the channel) and includes examples like "Where are my viewers located?" but does not explicitly mention when not to use it or directly compare to alternatives.

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/tuitamogamer-gpt/youtube-mcp-server'

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