Skip to main content
Glama

wp_create_user

Creates a new WordPress user for a specified site by supplying username, email, password, and optional profile and role details.

Instructions

Create a new WordPress 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": {
      "site": "<site>",
      "username": "<username>",
      "email": "<email>",
      "password": "<password>"
    },
    "name": "wp_create_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoWebsite URL
metaNoRegistered user meta fields (show_in_rest) as key/value
nameNoDisplay name
siteYesSite id (see list_sites)
slugNoURL slug (user_nicename)
emailYesEmail address
rolesNoRoles, e.g. ['editor'] (replaces the current roles)
localeNoLocale, e.g. de_DE ('' = site default); must be an installed language
nicknameNoNickname
passwordYesPassword (write-only, never returned)
usernameYesUsername (login name, cannot be changed later)
last_nameNoLast name
first_nameNoFirst name
descriptionNoBiographical info

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changedv3.14.0
    • addedInput schema / properties / description
      Added value: +{
      +  "description": "Biographical info",
      +  "type": "string"
      +}
    • addedInput schema / properties / first_name
      Added value: +{
      +  "description": "First name",
      +  "type": "string"
      +}
    • addedInput schema / properties / last_name
      Added value: +{
      +  "description": "Last name",
      +  "type": "string"
      +}
    • addedInput schema / properties / locale
      Added value: +{
      +  "description": "Locale, e.g. de_DE ('' = site default); must be an installed language",
      +  "type": "string"
      +}
    • addedInput schema / properties / meta
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Registered user meta fields (show_in_rest) as key/value",
      +  "type": "object"
      +}
    • addedInput schema / properties / nickname
      Added value: +{
      +  "description": "Nickname",
      +  "type": "string"
      +}
    • changedInput schema / properties / password / description
      Previous value: -"Password"New value: +"Password (write-only, never returned)"
    • changedInput schema / properties / roles / description
      Previous value: -"Roles (e.g., ['editor'])"New value: +"Roles, e.g. ['editor'] (replaces the current roles)"
    • addedInput schema / properties / slug
      Added value: +{
      +  "description": "URL slug (user_nicename)",
      +  "type": "string"
      +}
    • addedInput schema / properties / url
      Added value: +{
      +  "description": "Website URL",
      +  "type": "string"
      +}
    • changedInput schema / properties / username / description
      Previous value: -"Username (login name)"New value: +"Username (login name, cannot be changed later)"
  2. Changed2 schema fields changedv3.4.0
    • addedInput schema / properties / site
      Added value: +{
      +  "description": "Site id (see list_sites)",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "username",
      -  "email",
      -  "password"
      -]New value: +[
      +  "site",
      +  "username",
      +  "email",
      +  "password"
      +]
  3. First observedv2.0.0

TDQS

C2.8/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 burden, and it only implies a mutation via "Create." It says nothing about required capabilities, whether a welcome/notification email is sent, what happens on duplicate username or email collisions, or whether the operation is reversible.

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 front-loaded and contains zero waste, but for a 14-parameter creation tool it is undersized rather than truly concise. Nothing is padded, yet nothing is structured either.

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?

With 14 parameters, a nested meta object, no annotations, and no output schema, the description leaves the agent without side-effect, permission, or failure-mode context. The rich schema covers inputs, but the behavioral picture needed to call a user-creation mutation safely 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?

Schema description coverage is 100% and the schema documents all 14 properties including the nested meta object and the write-only password note. The description adds no parameter meaning beyond that, so the baseline 3 applies.

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 gives a specific verb and resource ("Create a new WordPress user"), which cleanly separates it from the delete/get/update user siblings. It does not differentiate itself from the similarly named mcp_create_user, but sibling names alone cannot establish that tool's behavior, so this remains a clear purpose statement.

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 when-to-use guidance, no prerequisites (e.g. required capability level), and no mention of alternatives such as wp_update_user or mcp_create_user. The agent must infer all routing decisions from the name alone.

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

Deploy Server

Other Tools