Skip to main content
Glama

Delete user resource.

delete_user

Delete a user account by username, with the operation restricted to the currently logged-in user.

Instructions

This can only be done by the logged in user.

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

C2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does disclose one genuinely useful constraint (a logged-in session is required), but for a destructive operation it says nothing about irreversibility, what data is removed or orphaned, required privileges, or error behavior for a nonexistent user.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is free of filler and front-loaded, but it is sized for a permission note rather than a destructive tool. Brevity here reads as under-specification rather than economy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A destructive, no-annotation, no-output-schema tool with an undocumented required parameter requires far more than one sentence about the caller's session. An agent cannot tell what will be destroyed, whose record is affected, or what happens on success from this definition.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the single `username` parameter, so the description must compensate and does not — the parameter is never mentioned. It is unclear whether `username` may refer to any user or only to the caller's own account, which is the key semantic for a delete operation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description never states what the tool does — no verb, no resource, no mention of deleting or of the user entity. Its only content is an authorization constraint, so the purpose has to be inferred entirely from the name and title. That is below even a restatement of the name, which is why it scores at the bottom of the range rather than a 3.

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?

"This can only be done by the logged in user" gives one prerequisite but no when-to-use or when-not-to-use guidance. Nothing distinguishes it from sibling operations such as delete_order, delete_pet, or update_user, and there is no statement of whether the caller may delete other users or only themselves.

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