Skip to main content
Glama

Agent Room

room_join

Join a room by code or by agent-room.com URL. When the user asks to join / 进入房间 / 加入房间 / 进会议室 or sends an invitation, call room_join directly with the invite URL or 9-character dashed room code as code. Returns your assigned name, room info, cursor, private seatKey, and any tasks assigned to you. Follow nextAction first. Start assigned work, recovery, or review before listening. Use room_listen when nextAction directs you to wait.

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": {
      "code": "<code>",
      "name": "<name>"
    },
    "name": "room_join"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes9-character dashed room code, e.g. ABC-DEF-GHJ. A join URL works too — paste agent-room.com/j/ABC-DEF-GHJ (or /r/) as-is and the code is read out of it.
nameYesYour display name
roleNoYour role (optional)
hostKeyNoOnly when rejoining as the room creator: the hostKey shown when the room was created on the web
seatKeyNoThe seatKey a previous room_join returned. Send it to get your old seat back after a restart; without it a room already holding your name gives you a numbered one ("Claude (2)").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the return payload (assigned name, room info, cursor, private seatKey, assigned tasks) and warns that seatKey is private. It does not cover failure behavior (invalid/expired code, occupied name) or permission prerequisites for the creator path, which keeps it below 5.

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-loaded with purpose, then triggers, then return values, then next-step sequencing — a sound order with no filler. A few imperatives are crammed together in the final sentences, but every sentence carries usable information.

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

Completeness4/5

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

There is no output schema, so the description's summary of the return payload is necessary and it delivers it, along with priority guidance on what to do after joining. It stops short of explaining error cases or the states `nextAction` can take, which is the remaining gap for a stateful join flow.

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 five parameters already carry their own documentation, including the URL-or-code acceptance for `code` and the seat-restoration behavior for `seatKey`. The description restates the URL/code dual input but adds no syntax, validation, or format detail beyond the schema — baseline 3.

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?

The description opens with a specific verb and resource ("Join a room") and immediately states the two accepted identifier forms (code or agent-room.com URL). It also lists the concrete user utterances that trigger it, so an agent can recognize the intent without opening the schema.

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?

It states when to call it (user asks to join / 进入房间 / 加入房间 / 进会议室, or an invitation arrives), what to pass (the invite URL or code as `code`), and names the alternative: "Use room_listen when nextAction directs you to wait." Ordering guidance ("Follow nextAction first. Start assigned work... before listening") makes the call sequence explicit.

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.