Skip to main content
Glama

Join a team

join_team

Use this when the user has an invite code or link for a 2hives team and wants to join it. Not for medical questions, emergencies or a crisis. Not for general chat about meditation.

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": {
      "code": "<code>"
    },
    "name": "join_team"
  }
}

Input Schema

NameRequiredDescriptionDefault
tapNoThe token from keep_progress for this conversation; leave empty if there is none.
codeYesThe invite code, or the whole invite link.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior2/5

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

Annotations already disclose this is a non-read-only, non-destructive, closed-world mutation, and the description adds essentially nothing on top: no mention of whether joining is reversible via leave_team, what membership grants, what happens with an expired or invalid code, or whether authentication is required. The two trailing sentences about medical/emergency topics are irrelevant to invoking the tool correctly.

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

Conciseness3/5

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

The trigger sentence is front-loaded and useful, but two of the three sentences are domain guardrails ('Not for medical questions, emergencies or a crisis. Not for general chat about meditation') that do no work for a tool that only joins a team via an invite code. Removing them would not make an agent any less likely to call this correctly.

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 simple two-parameter mutation with no output schema and thin annotations, the description covers the entry condition adequately but leaves the outcome and failure modes unexplained. An agent knows when to call it but not what to tell the user afterward or how to handle a bad code, and the purpose of the optional 'tap' token is not addressed at all.

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%, and the schema already documents both fields including that the whole invite link is acceptable (with an example URL). The description merely restates 'invite code or link' without adding format, validation, or fallback guidance, 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 specific verb and resource ('join' a '2hives team') and ties it to the input it needs ('invite code or link'), which is enough to distinguish it from create_team or leave_team. It stops short of explicitly naming any sibling to contrast with, so it sits at clear-but-undifferentiated.

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?

There is an explicit trigger condition ('when the user has an invite code or link ... and wants to join it'), plus negative guidance. The exclusions, however, are about unrelated subject matter (medical questions, emergencies, meditation chat) rather than about competing tools like join_challenge or join_live_group, which is the ambiguity an agent actually faces.

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.

Resources