Skip to main content
Glama

get_room_state

Retrieve a room's shared state to inspect the current goal, tasks, locks, decisions, and agents before coordinating or acting.

Instructions

Get the Shared State Matrix: goal, tasks, locks, decisions, agents.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
room_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.2

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. 'Get' implies a read, but nothing is said about access requirements, whether the room must already be joined, what happens if room_id is unknown, or how fresh/large the state is. The enumerated return fields hint at scope but not at behavior.

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?

A single dense sentence with zero filler, and the resource and its contents are front-loaded. It reads as a fragment rather than a sentence, which slightly weakens clarity, but nothing is wasted.

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

Completeness3/5

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

The output schema exists, so return values need not be explained, and the description's field list is a helpful preview. However, with no annotations and 0% parameter coverage, gaps remain around access preconditions, error behavior, and differentiation from sibling query tools.

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 description coverage is 0% and the description never mentions the required room_id argument. room_id is largely self-describing, but nothing clarifies its format, whether it is a UUID versus a name, or how to obtain it. The description adds essentially no parameter meaning.

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?

States a specific verb ('Get') and a named resource ('Shared State Matrix'), then enumerates the domains it covers (goal, tasks, locks, decisions, agents). An agent can distinguish it from siblings like room_metrics or list_participants. It stops short of explicitly naming what it is not, so it falls just below the top band.

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

Usage Guidelines2/5

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

No indication of when to call this versus the many adjacent siblings (room_metrics, search_room, list_participants, list_room_tools). There is no prerequisite, no exclusion, and no alternative routing. Usage is only implicitly inferable from the name.

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