Skip to main content
Glama

leave_thread

Make the bot exit a specified Discord thread by thread ID, ending its participation in that conversation.

Instructions

Have the bot leave a thread

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
threadIdYesThread Channel ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations provided, the description carries the full behavioral burden and falls short. It does not disclose whether leaving is reversible, whether the bot can rejoin, what happens to the thread afterward, or what permissions are required for a mutation-style operation.

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?

A single, front-loaded sentence with no filler or redundancy. Nothing is wasted and the action leads the sentence.

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 one-parameter tool with a fully described schema and no output schema, the description is close to sufficient. But it omits preconditions and post-conditions (bot membership requirement, effect on thread membership) that matter for a mutation tool with zero annotation coverage.

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 description coverage is 100%, and the single parameter (threadId) is documented in the schema as 'Thread Channel ID'. The description adds no format, type, or sourcing guidance beyond that, so the baseline of 3 applies.

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 states a specific verb+resource combination ('leave a thread') with an explicit actor ('the bot'), so the action is unambiguous. It does not, however, differentiate itself from adjacent siblings such as join_thread, modify_thread, or create_thread, leaving the agent to infer the distinction from names alone.

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?

There is no when-to-use guidance, no prerequisites (e.g. the bot must currently be a member of the thread), and no named alternatives. Usage is only implied by the tool name, which is the minimum possible context.

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

Deploy Server

Other Tools