Skip to main content
Glama

delete_user

Permanently delete a user account as an admin, removing group memberships while preserving dataset and project ACLs; self-deletion, non-admin, unknown, and last-admin cases are blocked.

Instructions

Benutzer hart löschen (nur Admins).

Entfernt Gruppenmitgliedschaften; Dataset- und Projekt-ACLs bleiben bewusst erhalten (acl_entries_kept). Fehler: 400 bei Selbstlöschung, 403 ohne Admin-Rechte, 404 bei unbekanntem Nutzer, 409 beim letzten Admin.

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": {
      "username": "<username>"
    },
    "name": "delete_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
usernameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full disclosure burden and does so well: it names the side effect (group memberships removed), the deliberately preserved state (dataset/project ACLs, ``acl_entries_kept``), and the exact failure surface (400 self-deletion, 403 no admin, 404 unknown user, 409 last admin). What it omits is confirmation that hard deletion is irreversible and what a successful response returns.

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-loaded with the action and the permission constraint in the first line, then side effects, then a compact error taxonomy. Every clause carries information; only the bare error-code enumeration could be tightened.

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?

A destructive one-parameter tool with no annotations and no output schema needs side effects, permissions, and failure modes spelled out, and all three are present, including the notable ACL-preservation behavior. The remaining gap is the absence of any statement about irreversibility or the success response.

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?

There is only one parameter at 0% schema description coverage, so the description must supply its meaning. "bei unbekanntem Nutzer" implies ``username`` is the identity key and that unknown values yield 404, but it never says whether this is a login, an API user name, or an ID, leaving ambiguity given the delete_api_user sibling.

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 ("Benutzer hart löschen") plus an explicit hard-delete semantic and an admin-only scope. It is clearly distinguishable from generic user operations, though it never names the close sibling delete_api_user, so the agent must infer which deletion variant applies.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The admin prerequisite is stated directly ("nur Admins"), which is real usage guidance, and the 409-on-last-admin note implicitly warns about a boundary case. However, there is no explicit when-to-use-this-vs-delete_api_user routing and no stated preconditions such as removing group memberships first.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools