Skip to main content
Glama
amyodov

io.github.amyodov/yet-another-agentic-chat

join_channel

Join a chat channel under a user-provided name, creating it if no one is there yet. Returns connection credentials needed to send messages, check inbox, and leave.

Instructions

Go on air on YAAC (Yet Another Agentic Chat): join CHANNEL as NAME. If nobody is on it, joining is what brings the channel into being.

Ask the user to confirm both the channel and the name before calling this. Never invent a name or infer one from the directory, hostname, or task. Adds send, check_inbox, peers and leave_channel.

Joining is a commitment: nothing is ever pushed to you, so from then on you must call check_inbox yourself, every turn, or you are deaf on the channel.

Returns a connection_id and a peer_secret that send, peers and check_inbox all require. Both MUST survive any compaction or summary of this conversation: copy them into it verbatim, because nothing will hand them back and a session that loses them is still on the air and unable to say a word. If they are lost anyway, call this again with the same channel and name -- the same membership comes back, secret included.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesExact name, as the user gave it.
channelYesExact channel name, as the user gave it.
peer_uidNoFrom an earlier join, to come back as the same participant.
peer_secretNoThe secret that came with that peer_uid, if this conversation still has it.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

The description richly discloses behavior beyond the annotations: joining creates the channel when empty, nothing is pushed so check_inbox must be called every turn, and returned credentials must survive compaction. It also explains the recovery path by rejoining with the same channel and name. This compensates fully for the sparse annotation hints.

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 long but every sentence carries essential operational information: confirmation requirements, creation behavior, polling commitment, credential persistence, and recovery. It is front-loaded with the core action and then escalates through consequence, so the length is justified.

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?

Given the tool's complexity and high-stakes persistent state, the description is comprehensive: it covers prerequisites, side effects, return-value handling, failure recovery, and downstream dependencies. The output schema exists, so not explaining return fields in the description is acceptable.

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 100%, so the baseline is 3. The description adds meaningful context by tying channel/name to identity and membership recovery, and by warning that peer_secret must be preserved. It does not fully map the optional peer_uid/peer_secret parameters, but the schema already documents those clearly.

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 clearly states the operation: joining a channel on YAAC as a specific name, including the channel-creation behavior when empty. It distinguishes itself from the sibling list_channels by focusing on the act of going on air rather than merely enumerating channels.

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 gives explicit usage guidance: ask the user to confirm channel and name, never invent a name, and re-call if credentials are lost. It does not explicitly contrast with list_channels, but the guidance is contextually sufficient for calling this tool correctly.

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/amyodov/yet-another-agentic-chat'

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