Skip to main content
Glama
mohamdben-yahia

YouTube MCP Server

analyze_optimal_upload_time

Find the best day and hour to upload by analyzing competitor publishing schedules. Identifies low-competition sweet spots from recent uploads to improve visibility.

Instructions

Analyze competitor publishing schedules to find the optimal day and hour to upload.

Inspects publishing timestamps of top videos in a niche or channel, builds a day-of-week and hour-of-day distribution, and identifies low-competition "Sweet Spot" windows.

Args: niche_or_channel: Niche topic keyword (e.g. 'coding tutorials', 'finance') or creator handle. sample_size: Number of recent competitor uploads to sample (10 to 50, default 25). timezone_offset_hours: Timezone offset from UTC in hours (e.g. -5 for EST, +1 for CET, default 0).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sample_sizeNo
niche_or_channelYes
timezone_offset_hoursNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.1.0

TDQS

A4.3/5.0
Behavior4/5

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

No annotations were provided, so the description carries the full behavioral burden. It discloses the actual process—inspecting timestamps, building day/hour distributions, identifying low-competition 'sweet spot' windows—which is meaningful transparency for an analysis tool. It does not explicitly confirm read-only behavior, but nothing suggests mutation or side effects.

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 summary line is front-loaded and specific, followed by a compact method sentence and a clean Args list. Every sentence adds necessary information without fluff or redundancy.

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

Completeness4/5

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

For a three-parameter analysis tool with an output schema and no annotations, the description covers the algorithm, all inputs, and the promised result well. It lacks a clear 'use this instead of X' statement and edge-case handling, but the core invocation path is complete.

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?

Schema description coverage is 0%, but the Args section fully compensates. It explains niche_or_channel with examples, gives sample_size range and default, and clarifies timezone_offset_hours with concrete UTC offsets. This is precisely what an agent needs beyond the raw JSON 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 opening sentence states a specific action ('Analyze competitor publishing schedules'), a concrete resource (publishing timestamps), and a clear goal (optimal day/hour). This distinguishes it from sibling analysis tools and gives an agent a precise mental model before looking at the 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?

The use case is implied: pick this tool when trying to decide when to upload by studying competitor schedules. However, it never names alternatives or states when not to use it, leaving the agent to infer routing from the sibling list.

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

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/mohamdben-yahia/youtube-mcp'

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