Skip to main content
Glama
Logto MCP Server

Logto MCP Server

by kdunin

delete_user

Delete a Logto user by ID to remove an account from your identity system. Use it to clean up unused or obsolete user records in Logto.

Instructions

Delete a Logto user by ID.

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

Input Schema

NameRequiredDescriptionDefault
userIdYesUser ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.1.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv1.0.3

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden, yet it says nothing about irreversibility, required permissions/scopes, or what happens to the user's roles, organization memberships, and sessions after deletion. "Delete" implies a destructive mutation, but the blast radius and recovery options are entirely undisclosed.

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?

One short sentence with the action and selector front-loaded and zero filler. There is no redundancy with the title or schema to trim.

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

Completeness2/5

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

For a destructive, irreversible mutation with no annotations and no output schema, the definition is under-specified: it omits confirmation/error behavior, permission requirements, and downstream effects on related resources. The parameter layer is fully documented, but the operational context an agent needs before firing a delete is missing.

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?

The single userId parameter has full schema description coverage, so the schema already establishes it. The phrase "by ID" adds only marginal confirmation that the identifier is the sole target selector, which matches the baseline for high-coverage schemas.

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?

The description names a specific verb and resource ("Delete a Logto user") and adds the lookup key ("by ID"), which is enough to separate it from create_user, update_user, and get_user. It stops short of explicitly contrasting itself with any sibling, so it lands just under the top band.

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?

There is no guidance on when to use this versus alternatives such as update_user or deactivating via other means, and no prerequisites or conditions are stated. The agent must infer everything about appropriate invocation context from the tool name alone.

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