Skip to main content
Glama

delete_user

Deletes a user by ID once disabled; only Owner or FullAdministrator roles can perform it, and changes stay staged until apply_change.

Instructions

Delete a user by ID. The user must be Disabled first. Only Owner or FullAdministrator roles can delete users. Returns a change_id; nothing changes until apply_change.

Args: user_id: UUID of the user to delete.

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

Input Schema

NameRequiredDescriptionDefault
user_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the required prior state (Disabled), the authorization constraint (Owner/FullAdministrator), and the deferred-effect model (returns change_id, nothing changes until apply_change). It stops short of saying whether deletion is reversible or what happens to the user's associated data.

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, then constraints, then return behavior, then args. Slight redundancy between 'Delete a user by ID' and 'user_id: UUID of the user to delete,' but nothing is wasted at length.

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 destructive tool with an output schema, the description covers prerequisites, permissions, and the change/apply workflow. The gaps are around reversibility and side effects on related records, not around how to invoke it.

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 description coverage is 0%, so the description must compensate, and it does by specifying that user_id is the UUID of the user to delete. It omits format details such as whether the UUID must be in canonical form or where to obtain it, but the meaning is clear.

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?

Opens with a specific verb and resource: 'Delete a user by ID.' That is unambiguous and immediately separable from siblings like get_user and upsert_user, and the ID-based targeting is stated up front.

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 (user must be Disabled first; caller must be Owner or FullAdministrator) and points to the follow-up tool apply_change. It does not explicitly contrast with alternative deletion paths, but the gating conditions effectively define when this tool may be used.

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