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

YouTube Model Context Protocol (MCP) Server

by nilhn9660

youtube_send_live_chat_message

Send messages to an active YouTube live chat as the authenticated channel, enabling real-time audience engagement during live streams. Requires OAuth2 authorization.

Instructions

Send a message to an active live chat stream as the authenticated channel. 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>",
      "message_text": "<message_text>"
    },
    "name": "youtube_send_live_chat_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
live_chat_idYes
message_textYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden; it does disclose the OAuth2 requirement and that the message is attributed to the authenticated channel, plus the active-chat precondition. It omits quota/rate-limit behavior, failure modes for inactive or closed chats, and moderation constraints — meaningful gaps for a write tool with zero annotation coverage.

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?

Two short sentences, front-loaded with the action and followed by the hard prerequisite. No filler or redundancy.

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?

The tool is simple (2 required string params) and an output schema exists, so return values need no explanation. However, for a write action the definition leaves out how to source the live_chat_id and any message-length or quota limits, which an agent needs to call it correctly.

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% and neither parameter has a description, so the description must compensate. It only loosely maps 'live chat stream' to live_chat_id and 'message' to message_text; it does not explain how to obtain a live_chat_id (e.g., from the broadcast resource) or any constraints on message text length/format.

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 ('Send a message to an active live chat stream') and adds the acting identity ('as the authenticated channel'). The verb 'send' plus the live-chat resource distinguishes it from siblings like youtube_delete_live_chat_message and youtube_get_live_chat_messages without naming them.

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?

'Active live chat stream' implies a prerequisite state, and 'Requires OAuth2' signals auth setup, but there is no explicit when-to-use vs when-not guidance and no named alternative. Usage is inferable rather than spelled out.

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