Skip to main content
Glama

Algizian

Delete tenant

delete_tenant
DestructiveIdempotent

Requires sign-in (scope orgs:admin). Delete a tenant of your organization with its clients, users, keys and tokens. 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": {
      "tenant": "<tenant>"
    },
    "name": "delete_tenant"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNothe 6-digit code the person received by email (ask them; you cannot read it)
resendNotrue (without code) asks for a new code
tenantYestenant slug
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.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, and the description goes well beyond them: irreversibility, owner-only authorization, the emailed 6-digit code the connection cannot read, and the confirmation_required/confirmation_id round trip. That is exactly the operational context an agent needs before a destructive call.

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?

Front-loads the auth requirement, then the effect, then the confirmation protocol; dense but each sentence carries information. Minor redundancy between 'This cannot be undone' and the annotation-declared 'Destructive' plus the repeated emphasis on needing the owner/scope.

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, confirmation-gated tool with an output schema and full annotation coverage, the description supplies everything else needed: authorization, irreversibility, and the full retry protocol. Nothing an agent needs in order to call it correctly is missing.

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 baseline is 3, but the description adds cross-parameter meaning: how confirmation_id and code relate across the two requests and that the code must be obtained from the human. The 'resend' parameter is left to the schema, which is acceptable.

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 ('Delete a tenant of your organization') and enumerates the blast radius (clients, users, keys, tokens), which separates it from delete_client, delete_user and delete_org. An agent can identify the operation and its scope without consulting the 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 (sign-in, orgs:admin scope, owner role) and describes the required two-step confirmation procedure, so the agent knows when and how to call it. It does not explicitly contrast with sibling destructive tools such as delete_org, leaving that comparison to inference.

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