Skip to main content
Glama
humanwire-mcp

humanwire-mcp

Official

join_room

Join or create an end-to-end encrypted room using a room code, or auto-generate a high-entropy code and shareable invite to connect friends’ or colleagues’ AI clients across devices.

Instructions

凭房间码和朋友/同事的 AI 客户端一键跨端加密联机(支持传脱敏日志与去 EXIF 截图)。不传 room_code 时自动生成高熵暗号房间码并返回可复制给朋友的邀请口令。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "join_room"
  }
}

Input Schema

NameRequiredDescriptionDefault
nicknameNo展示给群成员的临时昵称匿名用户
max_peersNo群聊人数上限,默认 8 人
room_codeNo可选:至少 8 位的高熵房间码(如 proj-rust-8x9k);若不传则自动生成全新高熵暗号房间码并返回一键发给朋友/同事的邀请口令
transportNo可选:"relay"(默认,隐匿公网 IP)或 "p2p"(直连暴露公网 IP)
allow_ip_exposureNo仅当明确选择 transport="p2p" 且用户已知晓并同意暴露公网 IP 时设为 true

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It does disclose useful non-obvious traits: the channel is encrypted, content sent is privacy-filtered (logs desensitized, EXIF stripped), and the no-room_code path creates a room and returns an invitation token. It does not say what permissions or identity the caller needs, whether joining is persistent or session-scoped, what happens on an invalid or duplicate room code, or what max_peers enforcement does when the room is full.

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?

Two front-loaded sentences: the first states the core action and its distinctive capabilities, the second covers the important fallback branch. The parenthetical about desensitized logs and EXIF-stripped screenshots is genuinely informative rather than filler. Density is high enough that nothing feels wasted, though the phrasing is compact to the point of being slightly opaque for non-Chinese readers.

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?

For a five-parameter, all-optional tool with no annotations and no output schema, the description covers the creation branch and the invitation-token return, which is the main output an agent needs. However, it leaves the post-join state ambiguous (what a successful join yields, whether the caller must then poll_messages or use send_to_peer), and says nothing about failure modes or the allow_ip_exposure consent gate that the schema treats as safety-critical.

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%, so each of the five parameters (nickname, max_peers, room_code, transport, allow_ip_exposure) is already documented in structured form, including the relay/p2p IP-exposure tradeoff. The description only reinforces room_code's generate-if-absent behavior and implies the privacy posture of shared content; it adds no new constraints on enums or bounds beyond the schema, so the baseline of 3 applies.

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?

The description names a concrete verb (join) and resource (room) and specifies the mechanism: connecting by room code to friends'/colleagues' AI clients over an encrypted cross-device channel. It also states the notable data-handling scope (desensitized logs, EXIF-stripped screenshots). It stops short of distinguishing this from siblings like join_plaza or start_matching, so an agent cannot fully separate the room-code flow from the matching/plaza flows by this text alone.

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

Usage Guidelines3/5

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

The only conditional guidance is the branch 'when room_code is not passed, a new high-entropy code is generated and an invitation token is returned,' which tells the agent that supplying a code means joining an existing room and omitting it means creating one. There is no explicit guidance on when to prefer this over start_matching or join_plaza, nor any stated prerequisites (e.g., needing an existing code from a peer).

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