Skip to main content
Glama

team_join

Idempotent

Attach an existing AGY conversation to a team roster, send the welcome handshake, and open its receive/reply channel for coordinated messaging.

Instructions

Attach an existing live AGY session (by conversation_id) into a Team roster AND immediately open its receive/reply channel (sends structured Team Welcome handshake with exact team_send reply route and zero-token agp.listen command; optional auto_wake=true for detached CLI wakeup).

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": {
      "team": "<team>",
      "name": "<name>"
    },
    "name": "team_join"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNo
nameYesShort peer handle in this team.
roleNoteammate
teamYes
surfaceNocli
auto_wakeNoSet true to allow detached `agy --conversation` auto-wakeup when this member is idle.
welcome_noteNoOptional context note included in the welcome handshake.
notify_memberNoSend a structured Team Handshake welcome message so the joined agent immediately learns its team & reply route.
conversation_idNoExisting AGY conversation UUID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and idempotentHint=true, and the description goes well beyond that by disclosing the side effect: a structured Team Welcome handshake is sent with the exact team_send reply route and a zero-token agp.listen command, plus the optional detached wakeup. It does not say what happens if conversation_id is invalid or how re-joining an already-rostered member behaves, which the idempotent hint only partly covers.

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 core action is front-loaded, but the single run-on sentence with nested parentheticals packs handshake mechanics and a flag default into one breath, making it harder to scan than a two- or three-sentence structure would be.

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 9-parameter mutating tool with no output schema, the description covers the headline effect and one flag but omits the roster fields (team/name/role/surface), failure modes, and what the caller receives back after the handshake.

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 56% across 9 parameters. The description adds meaning for conversation_id (existing session UUID), auto_wake (detached CLI wakeup), and implicitly notify_member (the welcome handshake), but team, name, role, surface, and cwd are left entirely to the schema.

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 gives a specific verb+resource pair — attach an existing live AGY session, identified by conversation_id, into a Team roster — and additionally states it opens the receive/reply channel. The word 'existing' implicitly separates it from spawn/create siblings, though no sibling is named explicitly.

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 rather than stated: it is for joining an already-live session, and `auto_wake=true` is called out as the detached CLI case. There is no explicit 'use team_spawn instead for new agents' routing or stated preconditions (e.g., the conversation must exist and be idle).

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