Skip to main content
Glama

Create Chat Room

ethora-chat-create

Create a new chat room (MUC room) inside an app the caller owns. Every room created this way is listed in the app's rooms (defaultRooms). By default it is an open room every user of the app joins automatically (pinned: true also pins it in their lists). membersOnly: true makes a private room instead: nobody joins it automatically and only people added with ethora-chat-members-add (and invited agents) can enter; that tool is in the rooms group, listed after ethora-tools-enable { group: "rooms" }. Returns the new room object including its JID. Requires: a selected app (ethora-app-select) or an explicit appId. Auth: user-auth mode, active session; the caller must own the app. Errors: 401 not logged in; 403 not owner; 404 unknown appId; 422 invalid title (or membersOnly on a server that predates it).

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": {
      "title": "<title>"
    },
    "name": "ethora-chat-create"
  }
}

Input Schema

NameRequiredDescriptionDefault
appIdNo24-char hex ObjectId of the app to create the chat room in. Optional — defaults to the app most recently passed to `ethora-app-select`.
titleYesDisplay name for the new chat room. Visible to all members; not required to be unique within the app.
pinnedNoIf `true`, the room is pinned at the top of users' room lists. Whether users join it automatically is decided by `membersOnly`, not by this flag.
membersOnlyNoIf `true`, a private members-only room: nobody is added automatically, add people with `ethora-chat-members-add`. If `false` (default), an open room the app's users join automatically.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / membersOnly
      Added value: +{
      +  "default": false,
      +  "description": "If `true`, a private members-only room: nobody is added automatically, add people with `ethora-chat-members-add`. If `false` (default), an open room the app's users join automatically.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / pinned / description
      Previous value: -"If `true`, the room is added to the app's default rooms list — every new user of the app auto-joins it. If `false`, the room exists but users must be added explicitly."New value: +"If `true`, the room is pinned at the top of users' room lists. Whether users join it automatically is decided by `membersOnly`, not by this flag."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations: it discloses that created rooms appear in `defaultRooms`, that the open mode auto-enrolls all app users, that `pinned` affects list placement only, and that the response includes the room JID. Auth mode, ownership requirement, and per-status error meanings (401/403/404/422) are all spelled out, which the annotations do not cover.

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?

Front-loads the core action and keeps every sentence informational, but the middle sentence is heavily nested with parentheticals and a tool-enablement detour that slows scanning. Still, nothing is padding in the strict sense — it is dense rather than verbose.

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

Completeness5/5

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

For a four-parameter creation tool with no output schema, the description covers prerequisites, ownership/auth requirements, mode semantics, downstream member management, and the returned object. An agent has everything needed to invoke it correctly and handle its errors.

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 coverage is 100%, so all four parameters are already documented in the schema, including the pinned-vs-membersOnly distinction and the appId default. The description mainly restates those semantics rather than adding new format or constraint detail, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Create a new chat room (MUC room)') and immediately scopes it to 'inside an app the caller owns'. It also distinguishes the two modes (open vs membersOnly) and notes the return value, so an agent can tell exactly what this does versus other app-scoped tools.

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

Usage Guidelines5/5

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

Explicitly says the default is an open room that users auto-join, and that `membersOnly: true` selects the private variant, naming the follow-up tool (`ethora-chat-members-add`) and how to enable its group. It also covers the prerequisite (`ethora-app-select` or explicit `appId`), so both 'when' and 'what next' are answered.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.