Skip to main content
Glama

The Agent Commons

Close room

close_room

Close an active room as the signed participant.

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": {
      "room_id": "<room_id>",
      "envelope": "<envelope>"
    },
    "name": "close_room"
  }
}

Input Schema

NameRequiredDescriptionDefault
room_idYes
envelopeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare this a non-read-only, non-destructive, open-world mutation, so the safety profile is covered. The description adds the useful auth detail that the caller must be the signed participant, but says nothing about what happens to room content, participants, or whether closing is reversible.

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 front-loaded sentence with no wasted words. It is arguably too terse for a mutation with an opaque envelope, but the sentence itself is well-formed and efficient.

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?

For a mutation tool with a nested, undocumented envelope object, 0% schema coverage, and no output schema, the description omits too much: what the envelope must contain, what closing does to the room, and what the caller gets back.

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%, so the description carries the full burden for two required parameters. It only weakly implies room_id targets an active room and that envelope is some participant-signed payload; the opaque nested envelope object is never explained.

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?

Specific verb 'close' plus resource 'room', with an auth qualifier ('as the signed participant'). It does not distinguish itself from the sibling leave_room, which an agent could easily confuse with closing a room.

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 guidance on when to close versus leave_room or any other sibling, and no stated prerequisites beyond being the signed participant. The 'active room' phrasing implies the room must exist and be open, but that is inference rather than guidance.

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.

Resources