Skip to main content
Glama

Delete users

users_delete
Destructive

Deletes a user or a user group; group members are moved to the target group.

Input Schema

NameRequiredDescriptionDefault
idNoGroup id.
gidNoGroup id. On group actions it is a synonym for id.
nidNoGroup that receives the members of a deleted group.
nickNoUser login (nick), 2-25 characters. Synonym: user.
userNoSynonym for nick.
actionYesOperation to run. Each oneOf entry describes one action and lists its parameters.
confirmYesPass true only after the user approves this change. Required by: delete, group_delete.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / required
      Previous value: -[
      -  "action"
      -]New value: +[
      +  "action",
      +  "confirm"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / action / oneOf
      Previous value: -[
      -  {
      -    "const": "delete",
      -    "description": "Deletes a user (login in nick or user). Required: confirm. Optional: nick, user."
      -  },
      -  {
      -    "const": "group_delete",
      -    "description": "Deletes a user group (group id in id or gid) and moves its members to the group nid. Required: confirm. Optional: id, gid, nid."
      -  }
      -]New value: +[
      +  {
      +    "const": "delete",
      +    "description": "Deletes a user (login in nick or user). Required: nick or user, confirm."
      +  },
      +  {
      +    "const": "group_delete",
      +    "description": "Deletes a user group (group id in id or gid) and moves its members to the group nid. Required: id or gid, confirm. Optional: nid."
      +  }
      +]
  3. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description adds meaningful behavior beyond annotations — that group members are moved to the target group rather than deleted — which is genuinely useful context. It stops short of noting that deletion is irreversible or that confirm must be true.

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?

A single compact sentence with zero waste, front-loading the core action and then the notable side effect on group members.

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 destructive tool with full schema coverage and annotations carrying the safety profile, the description supplies the key non-obvious behavior (member relocation). It doesn't restate the two-action enum logic or confirm requirement, but those are well covered by the schema.

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?

Schema description coverage is 100%, so parameters are fully documented in the schema, warranting the baseline of 3. The description's reference to 'the target group' loosely maps to nid but adds no syntax or format detail beyond what the schema provides.

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 ('Deletes') and resources ('a user or a user group'), making the dual scope clear. It does not explicitly differentiate from the sibling users_write, but the delete verb sufficiently separates it from users_read/users_write.

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

Usage Guidelines2/5

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

No guidance on when to choose users_delete versus users_write (which might also handle removal/updating), and no mention of prerequisites such as the confirm flag or approval flow beyond what the schema says. Usage is only implied by the verb.

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.