Skip to main content
Glama

Social media studio

Leave Tenant

leave_tenant
Destructive

Leave a workspace/tenant the user is a member of

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "leave_tenant"
  }
}

Input Schema

NameRequiredDescriptionDefault
tenantIdNoWorkspace UUID (defaults to current workspace)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so safety framing is partly covered. The description still omits the consequences an agent needs: does leaving revoke access immediately, does it affect other members or retained content, and can the user rejoin? For a destructive membership mutation that is a meaningful gap.

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?

A single front-loaded sentence with no filler. It is efficient, though its brevity contributes to the missing behavioral detail rather than being a model of completeness.

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 destructive, zero-required-parameter mutation with no output schema, the description does the bare minimum. It says nothing about the outcome of the call, reversibility, or how it differs from delete_tenant, leaving the agent to guess at the effects.

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% and the schema already documents tenantId including the 'defaults to current workspace' behavior. The description adds no extra meaning about the identifier, 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?

States a specific verb and resource ('Leave a workspace/tenant') plus the precondition that the user is a member, which is enough to distinguish it from generic CRUD. It does not, however, contrast with the sibling delete_tenant, which could easily be confused with this membership-level action.

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 explicit when-to-use or when-not-to-use guidance and no named alternative, even though delete_tenant sits in the same family and performs a very different (tenant-wide) action. The only steer is the implicit membership precondition in the wording.

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