Skip to main content
Glama

Leave a Room

leave_room
Destructive

Leave a topical room on this person's behalf. Removes their handle and blurb from that room's directory immediately: nobody there sees them again unless they rejoin. Call this whenever they want out — no friction, no persuasion, no talking them out of it.

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

Input Schema

NameRequiredDescriptionDefault
room_idYesA room id from list_rooms.
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description adds genuinely new behavior: the removal is immediate, it deletes both handle and blurb from the directory, and it is reversible only by rejoining. It still says nothing about required permissions, what happens to any quests or history tied to the room, or what a successful call returns.

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?

Three short sentences, effect stated first, trigger second, agent-conduct guard last. The "no friction, no persuasion, no talking them out of it" triple is mildly redundant, but it earns its place as an explicit instruction against over-persuasion on a destructive action.

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 a two-parameter destructive tool with strong annotations and no output schema, the description covers what matters: what is removed, how fast, and that it is reversible only by rejoining. It would be complete at 5 with a note on permissions or on collateral effects to related room data.

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 description coverage is 100%, so room_id and conversation_id are already fully documented, including the odd analytics note. The description only weakly reinforces room_id via "that room's directory"; it adds no format, provenance, or edge-case meaning beyond the schema, which is the expected baseline.

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?

States a specific verb and resource ("Leave a topical room") plus the concrete effect ("Removes their handle and blurb from that room's directory"). It is unmistakably distinct from join_room/join_room_quest, and the "on this person's behalf" clause pins down whose membership is affected.

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?

"Call this whenever they want out" gives an explicit trigger condition, and "unless they rejoin" implies the reverse path. It lacks any when-not guidance (e.g., what to do if they only want to mute a room) or a named alternative, so it stops short of full routing 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.