Skip to main content
Glama

ws_add_rooms

Add WebSocket room and channel management with presence tracking and broadcasting. Define room types, set max connections, and enable user presence.

Instructions

Pro: Add room/channel management with presence tracking and broadcasting

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNoAPI key for authentication
room_typesYesTypes of rooms to support (e.g. 'chat', 'game-lobby', 'dashboard')
max_per_roomNoMaximum connections per room
include_presenceNoWhether to track user presence in rooms
Behavior2/5

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

Annotations are absent, so the one-line description carries the full disclosure burden, but it only restates the feature set. It does not say whether the tool mutates an existing ws setup, generates code, requires a running WebSocket server, or what happens when api_key is missing. Side effects, defaults, and return behavior are entirely undisclosed for what is likely a mutation-type operation.

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?

The core sentence is concise and front-loaded with the verb 'Add', making the intent immediately scannable. However, the unexplained 'Pro:' prefix is noise that does not earn its place and could mislead an agent into treating this as a premium-tier variant of some other tool.

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

Completeness2/5

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

For a tool with 4 parameters, no annotations, no output schema, and likely mutating behavior, a single feature clause is insufficient. The agent cannot determine whether this assumes an existing WebSocket setup, what it returns, or how it differs from presence_add_channels and ws_generate_server. Moderate complexity with zero annotation coverage requires substantially more disclosure.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% — all four parameters (api_key, room_types, max_per_room, include_presence) have meaningful per-parameter descriptions, including an example for room_types. The description's mention of 'presence tracking and broadcasting' only loosely reinforces include_presence and adds no syntax or format detail beyond the schema, so the baseline 3 applies.

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?

The description states a specific verb and resource ('Add room/channel management') and names two distinguishing features ('presence tracking and broadcasting') that map onto the tool's parameters. It does not explicitly differentiate it from siblings like presence_add_channels or ws_generate_server, but the verb+resource pairing is concrete and actionable. The unexplained 'Pro:' prefix adds minor ambiguity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is given on when to choose this tool over the many adjacent siblings in the list (ws_generate_server, ws_generate_client, presence_add_channels, live_setup_system). No prerequisites are stated, such as whether an existing WebSocket server must already be set up, and no exclusions or alternatives are mentioned. An agent must infer usage solely from the tool name.

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

Install Server

Other Tools

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/barnburner121/claude-plugin-marketplace'

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