Skip to main content
Glama

leave_community

Leave a specific X/Twitter community by supplying its community ID, allowing an account to be removed from that community.

Instructions

Leave a community.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "community_id": "<community_id>"
    },
    "name": "leave_community"
  }
}

Input Schema

NameRequiredDescriptionDefault
community_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.0.6
    • removedInput schema / properties / community_id / description
      Removed value: -"The numeric community ID."
    • changedInput schema / properties / community_id / type
      Previous value: -"integer"New value: +"string"
  2. First observedv1.0.3

TDQS

D1.8/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure, and it discloses nothing. It does not say whether leaving is reversible, whether the agent's posts/notes are removed, whether an admin/owner role is required, or what happens on failure for a non-member.

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?

One short, front-loaded sentence with zero waste, but its brevity reflects under-specification rather than efficiency. For a destructive membership action there is room for a second sentence of essential context.

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

Completeness1/5

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

An output schema exists, so return values need not be explained, but for a no-annotation mutation tool with an undocumented required parameter the definition is far too thin. Nothing tells the agent the consequences of the call or the conditions under which it will fail.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single parameter community_id is undocumented in both schema and description. The description does not clarify the expected ID format (numeric vs. string handle) or where the agent would obtain a valid community_id.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Leave a community" is a direct restatement of the tool name leave_community; it names the resource but adds nothing about scope, effect, or how it differs from the inverse operation join_community, which is present among the siblings.

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 statement of prerequisites (e.g., must already be a member), and no mention of alternatives such as join_community. The agent is left to infer usage entirely from the name.

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