Skip to main content
Glama

join_session

Join an active collaboration session to contribute as an agent, access shared context, and receive assignments. Provide session ID and model to begin participating.

Instructions

Join an existing collaboration session as an agent.

AUTOMATIC TRIGGERS - Call this when:

  • You've been assigned work in a session

  • You need to participate in an active collaboration

  • Starting work as a worker or specialist in a multi-agent setup

WORKFLOW POSITION: Call after session is created and you have the session_id.

PARAMETERS:

  • session_id: ID of the session to join

  • model: Your model identifier (e.g., 'gpt-codex', 'gemini-pro')

  • capabilities: Optional list of your capabilities (e.g., ['research', 'code_analysis'])

After joining, read the session_context above to understand current state, then use read_messages to check for new messages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYes
session_idYes
capabilitiesNo
Behavior3/5

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

No annotations are provided, so the description carries full behavioral burden. It does state the joining action and gives follow-up steps ('read the session_context above... then use read_messages'), but it does not disclose side effects such as whether joining mutates the session participant list, whether it is idempotent, or what happens with invalid session IDs.

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?

The description is well-structured with clear sections: purpose, automatic triggers, workflow position, parameters, and next steps. Every sentence adds operational value, and the core action is front-loaded. There is no redundant or filler text.

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 3-parameter tool with no output schema, the description gives a complete invocation recipe: when to call, why, what parameters to provide, and what to do after joining. It does not explicitly describe return values or side effects, but these are not covered by an output schema and the join action is reasonably self-explanatory.

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 description coverage is 0%, so the description must explain all parameters. It does so effectively: session_id is 'ID of the session to join', model is shown with examples, and capabilities is marked as optional with an example array. It does not explain the impact of capabilities on the session, which prevents a 5.

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 description opens with a specific verb+resource: 'Join an existing collaboration session as an agent.' This clearly distinguishes it from sibling tools like create_session, leave_session, list_sessions, and read_messages without requiring schema inspection.

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?

The description provides explicit AUTOMATIC TRIGGERS ('assigned work', 'need to participate', 'starting work as a worker or specialist') and a WORKFLOW POSITION ('after session is created and you have the session_id'). It gives clear context for when to call, though it does not explicitly state when not to call or name alternatives.

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

Install Server

Other Tools

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/Vedant9500/OpenLMlib'

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