Skip to main content
Glama

leave_org

Leave a workspace you belong to, releasing the seat and revoking your board grants in it. No admin action required (§4.8: leaving is self-service). 409 if you are the sole remaining owner; transfer ownership first. Mirrors DELETE /v1/orgs/{id}/members/me.

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": {
      "org_id": "<org_id>"
    },
    "name": "leave_org"
  }
}

Input Schema

NameRequiredDescriptionDefault
org_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so well: it discloses side effects (seat released, board grants revoked), the permission model (self-service, no admin), and the exact failure mode (409 when sole owner). It also anchors behavior to a known REST endpoint, so an agent familiar with the API knows precisely what happens.

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?

Four short sentences, front-loaded with the action and its effects, followed by the precondition, then the failure case. The §4.8 citation and endpoint mirroring are compact and useful rather than padding; only the rule-reference adds slight density without behavioral value.

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

Completeness4/5

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

For a single-parameter mutation with an output schema and no annotations, the description covers effects, prerequisites, and error behavior — everything an agent needs to invoke it safely. It does not say whether the action is reversible (e.g., can you rejoin or is an invitation needed), which is the one notable gap.

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 one required org_id with 0% description coverage, but the format is uuid and the description implies it is the workspace you belong to. That adds modest meaning — the caller must be a member — but does not explain identifier sourcing (e.g., where to get org_id) beyond what the schema field name already suggests.

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?

States a specific verb and resource ('Leave a workspace') plus its concrete effects (seat released, board grants revoked), which is far more precise than the bare name leave_org would convey. An agent can immediately tell this apart from org-management siblings like create_org, add_member, or grant_org_comp.

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?

Gives clear conditions: use when you want out of a workspace, no admin action is needed, and it must not be used if you are the sole remaining owner — transfer ownership first. It stops short of naming an alternative tool or pointing at where to transfer ownership, so the routing guidance is implied rather than explicit.

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