Skip to main content
Glama

mcp_update_user

Update an existing WordPress user by modifying only supplied fields such as name, email, password, or bio. Change roles with the dedicated role tool.

Instructions

Update an existing user. Only the given fields change. Use mcp_change_user_role for the role.

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>",
      "id": "<id>"
    },
    "name": "mcp_update_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesUser ID
urlNoWebsite URL
siteYesSite id (see list_sites)
emailNoEmail address (must not belong to another user)
passwordNoWrite-only new password, never echoed
last_nameNoLast name
first_nameNoFirst name
descriptionNoBiographical info, plain text
display_nameNoPublic display name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv3.14.0
    • addedInput schema / properties / description
      Added value: +{
      +  "description": "Biographical info, plain text",
      +  "type": "string"
      +}
    • addedInput schema / properties / display_name
      Added value: +{
      +  "description": "Public display name",
      +  "type": "string"
      +}
    • changedInput schema / properties / email / description
      Previous value: -"Email address"New value: +"Email address (must not belong to another user)"
    • addedInput schema / properties / email / format
      Added value: +"email"
    • changedInput schema / properties / id / type
      Previous value: -"number"New value: +"integer"
    • changedInput schema / properties / password / description
      Previous value: -"New password"New value: +"Write-only new password, never echoed"
    • addedInput schema / properties / url
      Added value: +{
      +  "description": "Website URL",
      +  "type": "string"
      +}
  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: -[
      -  "id"
      -]New value: +[
      +  "site",
      +  "id"
      +]
  3. First observedv2.0.0

TDQS

A3.5/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It discloses partial-update semantics ('Only the given fields change') and role separation, but says nothing about permissions, reversibility, failure modes such as duplicate email, or side effects of updating user data.

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?

Three short sentences, front-loaded with the core action and followed by the partial-update constraint and sibling routing. There is no unnecessary wording.

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

Completeness3/5

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

The schema fully documents parameters, but this is a mutation tool with no annotations and no output schema. The description covers partial-update behavior and role separation, yet leaves out permission requirements and other operational constraints an agent would benefit from knowing.

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 all nine parameters are already documented in the schema. The description adds no parameter-specific meaning beyond the schema baseline, which is appropriate at a 3.

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 states a clear verb and resource: 'Update an existing user.' It also distinguishes the role-related case by pointing to mcp_change_user_role, though it does not differentiate from other user-update siblings such as mcp_update_user_meta.

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

Usage Guidelines4/5

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

It gives an explicit routing rule for roles: use mcp_change_user_role instead. It does not provide broader when-to-use guidance versus other user-related update tools, but it does establish a clear exclusion and the partial-update behavior.

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