Skip to main content
Glama

wp_delete_user

Deletes a WordPress user and optionally reassigns their content to another user.

Instructions

Deletes a user.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe ID of the user to delete.
siteNoThe ID of the WordPress site to target (from mcp-wordpress.config.json). Required if multiple sites are configured.
reassignNoThe ID of a user to reassign the deleted user's content to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.9.2

TDQS

C2.9/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 full burden. 'Deletes a user' implies a destructive, irreversible mutation, but it doesn't disclose critical behavioral traits: whether deletion is permanent, what happens to user content (hinted by 'reassign' parameter but not explained), authentication requirements, error conditions, or rate limits. This is inadequate for a destructive tool with zero annotation coverage.

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?

The description is extremely concise—just three words—and front-loaded with the core action. There's zero wasted text, making it easy to parse quickly, though this conciseness comes at the cost of completeness in other dimensions.

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?

Given this is a destructive mutation tool with no annotations and no output schema, the description is incomplete. It doesn't explain the impact of deletion, what 'reassign' does in practice, potential side effects, or what the tool returns (e.g., success/failure). For such a high-stakes operation, more context is needed to use it safely and effectively.

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 the schema fully documents all three parameters (site, id, reassign) with clear descriptions. The description adds no parameter information beyond what's in the schema, which is acceptable given the high coverage—baseline 3 is appropriate when the schema does the heavy lifting.

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 clearly states the verb ('Deletes') and resource ('a user'), making the purpose immediately understandable. However, it doesn't differentiate from sibling deletion tools like wp_delete_category, wp_delete_comment, etc., which all follow the same 'Deletes a [resource]' pattern, so it lacks sibling distinction.

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?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., user must exist), exclusions (e.g., cannot delete current user), or related tools like wp_get_user for verification or wp_update_user for modification instead of deletion.

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