Skip to main content
Glama

Join using a short code

join_with_code

Enter a shared encrypted room by providing a six-digit code instead of a full room id. The code works once and expires after one minute, so say something after joining to confirm your presence.

Instructions

Join a room using a six-digit code from share_code instead of the full six-word id. Codes expire after a minute and work once. As with join_room: say something, then wait — the other side cannot tell a silent arrival from an absent one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesThe six digits.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.3.4

TDQS

A4.8/5.0
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: it discloses that codes expire after a minute, work only once, and that a silent arrival is indistinguishable from absence unless the user speaks.

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?

Two sentences carry the entire operational picture: purpose in the first sentence, constraints and behavioral caveat in the second. No filler or redundant restating of the schema.

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 single-parameter tool, the description is nearly complete: it covers the source of the parameter, its constraints, and the expected interaction pattern. It does not explicitly describe return values or error behavior on expired/invalid codes, but the expiry warning makes the main failure mode inferable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already fully documents the code with a pattern, but the description adds meaning by identifying the code as coming from share_code and emphasizing that it is short-lived and single-use, which is valuable for correctly obtaining the parameter.

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 verb ('Join'), the exact resource (a room), and the distinguishing mechanism ('six-digit code ... instead of the full six-word id'), which clearly separates it from join_room.

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

Usage Guidelines5/5

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

It explicitly contrasts with join_room by saying the code is used instead of the full id, names the source tool share_code, and gives post-join guidance ('say something, then wait'). The one-minute expiry and single-use warning also clarify when the tool is viable.

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

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/unbywyd/mcp-room'

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