MCP server for connecting Claude desktop with Twitch chat
This server demonstrates poor definition quality with significant gaps across naming, descriptions, parameter documentation, and schemas. While 6 of 12 tools have explicit schema definitions, 6 tools (tools 11-12 in toolRoutes.ts plus inferred tools) lack complete visibility. Descriptions range from adequate to severely inadequate (e.g., 'Stop real-time monitoring of a Twitch stream' is 51 chars, acceptable; but many lack actionable context). Most critically, many parameter descriptions are generic or missing, schemas lack proper typing constraints, and error handling guidance is sparse. The server mixes two registration systems (MCP SDK tools.ts and Express HTTP toolRoutes.ts), creating confusion about which tools are actually available. No tool annotations (readOnlyHint, destructiveHint, idempotentHint) are present despite clear destructive/write operations. The codebase shows awareness of tool patterns (verbose descriptions with emojis and examples in tools.ts) but execution is inconsistent and incomplete.
Create a persistent link for chat history with analytics
Create a persistent resource link for long-term stream access
📊 **SYSTEM STATUS** - Check active monitoring sessions. Use to debug or manage existing monitoring, NOT for stream info. Example: Input: get_monitoring_status() Output: {"activeSessions": 2, "totalCacheKeys": 15, "persistentLinks": 3} Use Case: When you need to see what background monitoring is running or troubleshoot system state.
Observe Twitch chat in a specific channel for a configurable duration
💬 **CHAT ANALYSIS** - Precondition: get_stream_info_persistent MUST confirm stream is live. Use to analyze live chat messages for specified duration. Do NOT use for stream status.
Send a message to a Twitch channel
Duplicate tools with different registration systems. 'observe_twitch_chat' and 'observe_twitch_chat_streaming' appear to perform similar functions but are registered in different places (toolRoutes.ts and tools.ts). Similarly, 'send_twitch_message' and 'send_twitch_message_with_confirmation' overlap. This creates ambiguity for LLMs about which tool to select and violates the single-responsibility principle.
Short, generic descriptions on critical tools. Tools like 'stop_stream_monitoring' (51 chars), 'create_stream_link' (49 chars), 'stop_chat_recording' (53 chars), and 'observe_twitch_chat' (49 chars) lack actionable context. These fail to guide LLM selection or explain prerequisites.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 55 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 37 | - | v1 |
📤 **SEND MESSAGE** - Requires explicit user confirmation before sending. SHOULD ONLY be used when directed to send a message. Do NOT use for other interactions. Example: Input: send_twitch_message_with_confirmation(channel="shroud", message="Hello chat!") Output: {"success": true, "message": "Message sent", "confirmed": true} Parameters: - message (string, REQUIRED): Max 500 characters. MUST NOT contain harmful content. - channel (string, REQUIRED): Target channel name. Errors: - "MessageTooLongError": Message exceeds 500 characters. - "ChatRestrictedError": User lacks permission to send messages.
Start processing chat analytics for a channel and timeframe
📹 BACKGROUND RECORDING: Start persistent chat recording for later analysis. Use for long-term data collection, not immediate viewing
🔄 **BACKGROUND MONITORING** - Use for continuous long-term tracking of stream status changes. MUST NOT be used for immediate status queries. Use get_stream_info_persistent instead. Example: Input: start_stream_monitoring(channelName="shroud", updateIntervalMs=30000) Output: {"sessionId": "monitor_123", "message": "Started monitoring"} Errors: - "MonitoringAlreadyActiveError": Monitoring already running for this channel. - "InvalidIntervalError": updateIntervalMs MUST be >= 5000 (5 seconds).
Stop recording chat messages for a channel
Stop real-time monitoring of a Twitch stream
Missing or incomplete parameter descriptions. Many parameters lack descriptions entirely (e.g., 'duration' in 'observe_twitch_chat_streaming' is described only as 'Duration to observe in milliseconds (default: 60000 = 1 minute)' but lacks context on units, precision, or constraints).
No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite clear semantic differences. Tools like 'start_chat_recording', 'stop_chat_recording', 'send_twitch_message', and 'create_stream_link' perform write/destructive operations but lack annotations. LLMs cannot determine safety or reversibility without these hints.
Incomplete error handling guidance. Only 'start_stream_monitoring' documents specific error types (MonitoringAlreadyActiveError, InvalidIntervalError). Most tools lack error classification (retryable vs user-fixable vs fatal) and recovery guidance. Per pattern:recovery-guide, agents need actionable error context to proceed.
Output schemas not documented. Tool descriptions do not specify what fields or structure the response will contain. For example, 'start_stream_monitoring' returns {'sessionId', 'message'} per the description, but 'stop_stream_monitoring', 'create_stream_link', and others do not document their outputs. Per pattern:tool, documentation of output schema is required.
Parameter constraints not enforced via schema. While 'start_stream_monitoring' documents 'updateIntervalMs MUST be >= 5000', no JSON Schema constraint (minimum: 5000) is visible. No enums are declared for string parameters (e.g., 'timeframe' in 'start_chat_analytics' could accept arbitrary values).
Mixed tool registration systems (MCP SDK vs Express HTTP). Some tools are defined in src/mcp/tools.ts (presumably registered via the MCP SDK) while others appear in src/claude/toolRoutes.ts (HTTP REST endpoints). It is unclear which system is authoritative or how they coexist. This creates maintenance confusion and potential duplicate/conflicting tool definitions.
Ambiguous parameter names and missing type suffixes. Parameters like 'channel' and 'channelName' are used inconsistently across tools (some tools accept 'channel', others 'channelName'). Recommend standardizing to 'channel_name' and 'channel_id' patterns.