Skip to main content
Glama

room_admin

Control hosted agent rooms by reactivating ended sessions, switching reply modes, granting one-shot speaking slots, and forcing speaker skips.

Instructions

Host controls (only the session that created the room; moderators may use action="invoke"). reactivate → revive an ended room. set_mode → switch reply mode: open (anyone speaks), sequential (lead answers first, others supplement in order; optional leadAgentName), moderator (moderatorAgentName routes work — required). invoke → grant targetName a one-shot speaking slot. skip → force-skip the current speaker.

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>",
      "action": "<action>"
    },
    "name": "room_admin"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesRoom code
modeNoset_mode: target reply mode
nameYesCaller display name
actionYesWhat to do
targetNameNoinvoke: agent to grant the one-shot slot to
targetClientNoinvoke: target client kind (default cc)
leadAgentNameNoset_mode sequential: lead agent (optional)
moderatorAgentNameNoset_mode moderator: moderator agent (required)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.27.0

TDQS

A3.8/5.0
Behavior3/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 disclose meaningful behavior: authorization scoping, the requirement that reactivate only applies to an ended room, the one-shot nature of invoke, and the forced effect of skip. It stops short of covering failure modes, whether skip needs moderator privileges, or what happens if a required name is omitted.

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 arrow-delimited action list is dense and front-loads the authorization constraint before the action semantics. Every clause carries information. The leading fragment 'Host controls' is slightly clipped, but no sentence is wasted.

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?

For an 8-parameter, 4-action mutation tool with no annotations and no output schema, the description covers each action's purpose, permissions, and per-mode requirements well. The remaining gap is the unmentioned targetClient parameter and the absence of any statement about results or error behavior.

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

Parameters4/5

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

Schema coverage is 100%, so a 3 is the floor. The description earns more by explaining the semantic difference between the three mode values (open/sequential/moderator), including ordering behavior in sequential mode, and by flagging leadAgentName as optional and moderatorAgentName as required per mode. targetClient is not mentioned in the description at all.

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 names the resource (room host controls) and enumerates all four actions with concrete effects: reactivate revives an ended room, set_mode switches reply mode, invoke grants a one-shot slot, skip force-skips the speaker. An agent knows exactly what the tool does. It does not explicitly contrast itself with siblings such as room_end or room_send, so it stops short of a 5.

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

Usage Guidelines4/5

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

The opening parenthetical establishes who may call it (only the session that created the room, with moderators restricted to action="invoke"), and each action's clause states the condition that selects it. What is missing is explicit when-not guidance and named alternatives (e.g., use room_end instead of reactivate for the opposite operation).

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