Skip to main content
Glama

Leave a channel

leave_channel

Leave a channel by id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
channelIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only says 'Leave a channel by id,' omitting whether leaving is reversible, requires membership, affects existing messages, or returns a response. This is a meaningful gap for a mutating operation.

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 description is a single short sentence with no filler, which is appropriate for a simple tool. However, 'by id' is somewhat redundant with the channelId property name, and no additional structuring or context is provided.

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

Completeness2/5

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

For a one-parameter tool the core action is conveyed, but with no annotations and no output schema, the agent is left guessing about side effects, prerequisites, and return value. Additional context about what happens after leaving a channel would be needed for full confidence.

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?

The schema has 0% description coverage and a single channelId parameter. The description's 'by id' loosely associates channelId with the action but adds no real detail beyond the schema's uuid format and property name. Still, the meaning is self-evident for this one parameter.

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?

States a specific verb ('leave') and resource ('a channel'), and points to the identifying parameter ('by id'). It is distinct from siblings like join_channel, though it does not explicitly contrast itself.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit when-to-use or alternatives are given. Usage is only implied by the tool name and sibling context; it does not say when to choose leave_channel over channel deletion or other membership operations.

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