Skip to main content
Glama

update_room_config

Update room configuration in the lobby by providing any subset of settings. Resets both players' ready flags to ensure agreement on new config. Fails if game is already in progress.

Instructions

Host-only: tweak room config while still in the lobby.

Only fields passed (non-None) are updated. Any change resets both seats' ready flags — if readiness was previously agreed upon, the config shift might change the deal. Fails outside the pre-game states (COUNTING_DOWN, IN_GAME, FINISHED).

── Locking ── Input validation + scenario load happen OUTSIDE state_lock (pure I/O). The actual config mutation + readiness reset happen atomically under state_lock.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
connection_idYes
scenarioNo
team_assignmentNo
host_teamNo
fog_of_warNo
max_turnsNo
turn_time_limit_sNo
Behavior5/5

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

Discloses key behaviors: only non-None fields updated, ready flags reset on any change, atomic mutation under state_lock, and failure conditions outside pre-game states. No annotations, so description carries full burden and does well.

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?

Structured with clear sections and about 6 sentences. Could be slightly tighter, but overall well-organized and not overly verbose.

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

Completeness2/5

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

Despite good usage and transparency, missing parameter explanations and no output schema make it incomplete for an agent to correctly invoke the tool, especially with 7 parameters.

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

Parameters2/5

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

Schema has zero descriptions (0% coverage) and description does not explain individual parameters like scenario, team_assignment, etc. It only states that only passed (non-None) fields are updated, leaving parameter meaning unclear.

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?

Clearly states 'tweak room config while still in the lobby' with specific verb 'tweak' and resource 'room config', distinguishing it from siblings like create_room, join_room, preview_room, and set_ready.

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?

Specifies 'Host-only' and 'while still in the lobby', and notes it fails outside pre-game states (COUNTING_DOWN, IN_GAME, FINISHED). However, it does not explicitly state when not to use or suggest alternatives.

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

Install Server

Other Tools

Latest Blog Posts

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/haoyifan/Silicon-Pantheon'

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