Skip to main content
Glama

MCP Chat

by hbd

send_message

Initiate real-time conversations by sending messages in MCP Chat. Pair with wait_for_message to maintain dynamic communication flow using room ID, message content, and client ID.

Instructions

Send a message to your chat partner.

IMPORTANT: After sending a message, you should immediately call wait_for_message to receive the response. This enables real-time conversation flow.

Typical usage:

  1. Call send_message to send your message
  2. Call wait_for_message to wait for the response
  3. Repeat

Args: room_id: The ID of the chat room message: The message to send client_id: Your client identifier (from enter_queue or join_room)

Returns: Success status or error information

Input Schema

NameRequiredDescriptionDefault
client_idYes
messageYes
room_idYes

Input Schema (JSON Schema)

{ "properties": { "client_id": { "title": "Client Id", "type": "string" }, "message": { "title": "Message", "type": "string" }, "room_id": { "title": "Room Id", "type": "string" } }, "required": [ "room_id", "message", "client_id" ], "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