Skip to main content
Glama

MCP Chat

by hbd

join_room

Join a specific chat room on MCP Chat by creating a session with a unique client_id. Enter the room_id and display name to participate, then choose to send messages or wait for replies to control the conversation flow.

Instructions

Join a specific chat room directly.

Creates a new session with a unique client_id and adds the user to the specified room. Useful for rejoining a room or creating private rooms.

IMPORTANT: After joining a room, prompt the user to choose whether they want to:

  • Wait for messages (call wait_for_message) - if they expect to receive first
  • Send a message (call send_message) - if they want to initiate conversation

This gives users control over the conversation flow rather than automatically blocking.

Args: room_id: The ID of the room to join display_name: Display name for the user (required)

Returns: Success status with client_id or error information

Input Schema

NameRequiredDescriptionDefault
display_nameYes
room_idYes

Input Schema (JSON Schema)

{ "properties": { "display_name": { "title": "Display Name", "type": "string" }, "room_id": { "title": "Room Id", "type": "string" } }, "required": [ "room_id", "display_name" ], "type": "object" }
Install Server

Other Tools from MCP Chat

Related Tools

    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/hbd/mcp-chat'

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