Skip to main content
Glama

Algizian

Delete organization

delete_org
DestructiveIdempotent

Requires sign-in (scope orgs:admin). Delete the organization with its members, service accounts and tokens. Refused while it still has tenants: delete them first. This cannot be undone. Destructive: needs the owner, the orgs:admin scope and an emailed confirmation. The initial request answers confirmation_required with a confirmation_id and mails a 6-digit code to the owner; the person reads the code from their mailbox (this connection cannot) and the request is repeated with the same arguments plus confirmation_id and code.

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": "<org>"
    },
    "name": "delete_org"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgYesorganization slug
codeNothe 6-digit code the person received by email (ask them; you cannot read it)
resendNotrue (without code) asks for a new code
confirmation_idNofrom the confirmation_required answer

Output Schema

NameRequiredDescriptionDefault
resultYesThe result of the call: the same JSON the REST API returns for this operation (docs/api, the OpenAPI document), or null when there is nothing to return.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructiveHint and idempotentHint, yet the description adds substantial context: irreversibility, exactly which child resources are destroyed, the owner/scope requirement, and the full two-step email-confirmation handshake including the confirmation_required response and the inability of this connection to read the code.

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?

Front-loads the authorization and blast radius, then the refusal condition, then the confirmation mechanics in causal order. Dense but every sentence carries distinct operational information; nothing is restated from the name or schema.

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

Completeness5/5

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

For a destructive four-parameter tool, the description covers authorization, prerequisites, irreversibility, and the complete multi-step confirmation protocol. An output schema exists, so return-value detail is not required here.

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

Parameters4/5

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

Schema coverage is 100%, so the schema already defines each field. The description still adds operational meaning by explaining how confirmation_id and code are obtained, that the request must be repeated with the same arguments, and that resend exists — context the schema alone does not convey.

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 plus the exact blast radius: "Delete the organization with its members, service accounts and tokens." It also distinguishes itself from tenant deletion by declaring that it is "Refused while it still has tenants: delete them first," which lets an agent separate this from delete_tenant without opening either schema.

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 concrete preconditions (owner role, orgs:admin scope) and an explicit blocking condition that redirects to tenant deletion first. It does not enumerate other sibling alternatives, but the prerequisite chain it describes is unambiguous for a delete tool.

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