Skip to main content
Glama

Turn Zero Cloud for Backend & Hosting

Delete app user

tzcloud_delete_end_user
Destructive

Delete one of an application's end users: their identities, sessions, and passkeys with the user record. The realm's event log keeps its entries. Destructive: needs a credential with the destructive class (a signed-in session, or a token minted with destructive). The call creates a pending action, and the deletion runs only after a person approves it in the browser. An optional environment (development or production) chooses the realm you address. Without it, the call selects production. The development realm exists only once tzcloud_create_environment has turned development on.

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": {
      "application": "<application>",
      "end_user": "<end_user>"
    },
    "name": "tzcloud_delete_end_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_userYesThe end user's opaque id, from `tzcloud_list_end_users`.
request_idNoAny string you choose. A repeat from the same account while that pending action is live returns it again, creating no second one. Omitted, every call creates a new one.
applicationYesYour account's application `id` from `tzcloud_list_applications`, not its name or label.
environmentNoOptional. The environment whose realm the call addresses, `development` or `production`; absent, `production`.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, so the bar is lower, yet the description adds substantial information beyond them: exactly which data is destroyed, that event log entries are retained, the required credential class, and that the call is asynchronous pending a browser approval by a person. The environment-defaulting and prerequisite behavior is also disclosed.

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?

The destructive action and its data scope are front-loaded, then auth, then approval flow, then environment semantics — a sensible order. Some sentences are dense and could be split (the environment paragraph in particular), but every sentence carries operational information.

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, asynchronous, approval-gated mutation with no output schema, the description covers what an agent needs: blast radius, retained data, credential class, that the call does not complete synchronously, idempotency expectations via `request_id`, and environment resolution. Nothing material is left to inference.

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 itself documents `end_user`, `application`, `request_id`, and `environment`; the baseline would be 3. The description goes further on `environment`, explaining the production default and the create_environment prerequisite, which 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?

The first sentence names a specific verb and resource ('Delete one of an application's end users') and immediately bounds the scope with what is removed (identities, sessions, passkeys) and what survives (realm event log entries). An agent can distinguish this from tzcloud_delete_application or tzcloud_set_end_user_standing without opening any 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?

It states the credential requirement for calling it (destructive class: signed-in session or `destructive`-scoped token) and the prerequisite that the development realm only exists after `tzcloud_create_environment`, plus a default of production when `environment` is omitted. What's missing is any explicit contrast with sibling mutation tools such as tzcloud_set_end_user_standing, so the agent gets context but no named alternative.

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