Skip to main content
Glama

join_channel

Join a channel to receive its messages from your join time onward, so agents can follow live conversations without receiving historical traffic.

Instructions

Subscribe to a channel so you receive its messages from your join time forward.

When to use: any agent that wants to follow a channel's traffic, joining is open to any authenticated caller (no invite gate; channels are intentionally low-friction). Pair with post_to_channel for posting and get_channel_messages for reading.

Behavior: inserts the membership row with joined_at = now. get_channel_messages and the channel.message_posted webhook event scope to messages with created_at >= joined_at for this member, so historical traffic is NOT replayed (a deliberate design choice, channels are streams, not archives). Idempotent: rejoining is a no-op. Auth: any agent token.

Returns: { success: true, channel_name, agent_name, joined: boolean, note }. joined=false indicates the agent was already a member (idempotent no-op).

Errors: AUTH_FAILED, NOT_FOUND (unknown channel_name), RATE_LIMITED.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_nameYesAgent joining
agent_tokenNoYour agent token (from register_agent response). Optional here — also resolvable from RELAY_AGENT_TOKEN env or X-Agent-Token header.
channel_nameYesChannel to join
Behavior5/5

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

With no annotations provided, the description carries full behavioral disclosure burden and delivers richly: it explains the joined_at = now semantics, the non-replay of historical traffic ('streams, not archives'), idempotency ('rejoining is a no-op'), auth requirements (any agent token), return shape including joined=false case, and full error catalog (AUTH_FAILED, NOT_FOUND, RATE_LIMITED). This is exemplary transparency.

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?

The description is well-structured with clear sections (When to use, Behavior, Returns, Errors) and fronts the core purpose immediately. It's longer than minimal, but every sentence earns its place given the behavioral nuances it explains; no filler or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 3-param tool with no output schema and no annotations, the description is remarkably complete: it covers auth, idempotency, event semantics, return format including edge cases, error codes, and temporal behavior. Nothing material is left unstated for an agent to invoke this correctly.

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 100% so the baseline is 3. The description adds semantics around agent_name (who is joining) and channel_name (which channel to subscribe to) but the schema already documents each parameter adequately. The description adds the 'joined' return semantics for interpreting the join result but doesn't add much per-parameter meaning beyond the schema.

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 ('Subscribe to a channel so you receive its messages from your join time forward'), clearly distinguishing it from siblings like post_to_channel and get_channel_messages. It explicitly positions itself against related channel tools, making the purpose unmistakable.

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?

The description explicitly states 'When to use' (follow a channel's traffic), provides alternatives ('Pair with post_to_channel... and get_channel_messages'), and explains that joining is open to any authenticated caller with no invite gate. This is model-tier usage guidance.

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/Maxlumiere/bot-relay-mcp'

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