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

YouTube Model Context Protocol (MCP) Server

by nilhn9660

youtube_ban_live_chat_user

Ban a disruptive user from a YouTube live chat by specifying chat and channel IDs, with an optional timeout duration for temporary or permanent removal.

Instructions

Ban a disruptive user from live chat (temporary timeout or permanent ban). 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>",
      "user_channel_id": "<user_channel_id>"
    },
    "name": "youtube_ban_live_chat_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
live_chat_idYes
user_channel_idYes
ban_duration_secondsNo

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?

With no annotations, the description carries the full behavioral burden; it does add real value by flagging that OAuth2 is required and that the operation may be temporary or permanent. However, it omits the privilege level needed (moderator vs owner), whether a ban can be reversed, and what happens to the user's existing chat messages. Meaningful but incomplete for a destructive moderation action.

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 with the core action and auth requirement front-loaded; nothing is wasted. It is arguably too terse rather than bloated, but the structure itself is clean.

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 no explanation, and the description covers purpose, auth, and mode. For a destructive moderation tool with zero annotation coverage and 0% parameter documentation, though, it should also state permission requirements and reversibility to be callable with confidence.

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%, so the description must compensate for three undocumented parameters, and it largely does not. It hints that the ban may be time-limited or permanent, which loosely maps to ban_duration_seconds, but it never explains that null/default means permanent, nor what live_chat_id or user_channel_id must contain (formats, where to obtain them).

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 ('Ban a disruptive user from live chat') plus the two operating modes (temporary timeout or permanent ban), which separates it from sibling tools like youtube_delete_live_chat_message or youtube_remove_live_chat_moderator. It never explicitly names those alternatives, so it stops short of full sibling differentiation.

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 'disruptive user' implies the situation for use, and the timeout-vs-ban mention implies escalation choices, but there is no explicit when-to-use/when-not guidance and no routing away from message deletion or moderator removal. Usage is inferable rather than stated.

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