Skip to main content
Glama
wybe-labs

Session Multiplayer

Official
by wybe-labs

Create room invite

create_invite

Create a named room and generate a short invite code valid for 5 minutes. Share the code so a friend can redeem it and join your encrypted peer-to-peer session.

Instructions

Create (or reuse) a named room and generate a short single-use invite code (like X7KQ-2MPF-3HV9) valid for 5 minutes. Codes are independent: several can be pending for the same room at once, and an expired code is replaced by just creating a new one. Share the code with a friend over any channel; when they redeem it with join_room, both sessions are peered directly over an end-to-end encrypted P2P connection. Rooms are scoped to this project directory. Keep this session open until they join.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
room_nameYesName for the room, e.g. "auth-refactor"
Behavior5/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 so well: TTL, single-use, independence of codes, room scoping, P2P/encryption, and the requirement to keep the session open are all disclosed. It also clarifies that expired codes are handled by creating a new one.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core action is front-loaded in sentence one, and the remaining sentences each add distinct operational detail: expiry/reuse, redemption, scoping, and session requirement. No filler or repetition.

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

Completeness5/5

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

For a one-parameter tool with no output schema and no annotations, this covers the lifecycle end-to-end: creation, code characteristics, delivery, redemption, encryption, scope, and session-lifetime requirement. Nothing needed for correct invocation is missing.

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 coverage is 100% and room_name is already described with an example. The description only refers to 'named room' without adding constraints or naming rules beyond the schema, so it meets the 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?

The first sentence states a specific action ('Create (or reuse) a named room') and the concrete deliverable ('short single-use invite code'), with an explicit code format example. This clearly separates it from the sibling join_room, which is the redemption step, and from messaging tools.

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?

It gives a concrete workflow: generate a code, share it, have the friend redeem it with join_room, and keep the session open until they join. It does not explicitly enumerate when-not-to-use alternatives, but the flow is unambiguous.

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/wybe-labs/session-multiplayer'

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