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

YouTube Model Context Protocol (MCP) Server

by nilhn9660

youtube_get_live_chat_messages

Fetch live chat messages, authors, and timestamps from an active YouTube live stream to monitor viewer conversations; requires OAuth2.

Instructions

Fetch live chat stream messages, authors, and timestamps for an active live stream. Requires OAuth2.

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": {
      "live_chat_id": "<live_chat_id>"
    },
    "name": "youtube_get_live_chat_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_resultsNo
live_chat_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden; it does add two real facts (OAuth2 required, stream must be active). However, it is silent on the traits that matter most for a live-chat reader: whether repeated calls are needed to poll, ordering of returned messages, quota/rate-limit cost, and behavior when the broadcast ends. The existence of an output schema covers the return shape, keeping this from scoring lower.

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 short sentences, front-loaded with the action and output content, with the auth requirement trailing. No filler, though the brevity comes partly at the cost of the missing parameter and polling details.

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

Completeness3/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 described, and the tool is simple with only two parameters. Still, zero schema coverage on live_chat_id plus no polling or quota guidance leaves meaningful gaps for an agent that must call this correctly on a live stream.

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?

Schema description coverage is 0% for both parameters, so the description must compensate and does not. It never explains where live_chat_id comes from (it is not the video ID) nor bounds or meaning for max_results beyond the schema default of 100. An agent could easily pass a video ID and get an error.

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?

States a specific verb and resource ("Fetch live chat stream messages, authors, and timestamps") and scopes it to an active live stream, which cleanly separates it from the write-oriented siblings like youtube_send_live_chat_message and youtube_delete_live_chat_message. It does not name a sibling alternative explicitly, so it stops short of a 5.

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 phrase "for an active live stream" implies the condition under which the tool applies, and "Requires OAuth2" flags a prerequisite. There is no explicit guidance on when to use this versus related read tools (e.g. youtube_list_super_chat_events) and no statement about what to do when the chat is inactive or ended.

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