Skip to main content
Glama
Rubika MCP
by NabuxAi

Rubika (own account): join

rubika_web_join_chat

Joins a Rubika group or channel by invite link or @username, requiring explicit confirmation before changing the signed-in account.

Instructions

Join one group or channel by invite link or @username. Changes the user's account: needs confirm: true after the user approves, NABU_WEB_ALLOW_ACCOUNT_CHANGES=1 and (for an existing chat) the chat in RUBIKA_WEB_ALLOWED_CHATS.

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": {
      "link": "<link>",
      "confirm": "<confirm>"
    },
    "name": "rubika_web_join_chat"
  }
}

Input Schema

NameRequiredDescriptionDefault
linkYes
confirmYesMust be true, and only after the user has explicitly approved this exact action.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the description's job is to add context. It does: it says the call changes the user's account, requires explicit approval before confirm: true, and is gated by environment configuration. It does not address idempotency (what happens if the user is already a member), which is the one notable gap.

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: the action comes first, then the mutation and gating conditions. Every clause carries operational information (approval, confirmation flag, env gates). The env-var names make it dense but they are necessary preconditions, not padding.

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?

There is no output schema, so return values need not be described, and the description covers the critical prerequisites for a state-changing, open-world call. What is missing is only secondary: failure modes (invalid link, not permitted chat) and post-join result, which an agent might reasonably want.

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?

Schema coverage is only 50% — the link parameter is just a 2-200 char string with no description. The definition compensates by explaining that link accepts either an invite link or an @username, which is real meaning the schema lacks, and it reinforces that confirm must be true only after user approval.

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?

States a specific verb and resource: 'Join one group or channel by invite link or @username.' An agent can immediately tell this is the membership-entry action, in contrast to leave_chat or create_chat. It stops short of naming an alternative explicitly, so it lands at a clear-but-not-differentiating 4.

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?

Usage is implied through the required prerequisites: user approval, then confirm: true, plus the NABU_WEB_ALLOW_ACCOUNT_CHANGES=1 flag and the allowed-chats list. That tells the agent the conditions under which the call will succeed, but there is no statement of when to prefer this over another route (e.g. invite link vs. @username) or when not to use it.

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