Tools Catalog / WordPress tools / wp_update_user_meta

wp_update_user_meta tool reference for StifLi Flex MCP

Write
Group UsersCapability edit_users

updates a user meta value by `user_id`, `meta_key`, and `meta_value`.

Description

updates a user meta value by `user_id`, `meta_key`, and `meta_value`.

What it is for

  • Adjusting user preferences or custom fields.

Example use case

updating an internal profile flag.

Sample prompt

Set user meta preferred_language to en_US for user ID 14.

Sample response

{
  "tool": "wp_update_user_meta",
  "status": "ok",
  "updated": true
}

What does wp_update_user_meta do?

updates a user meta value by `user_id`, `meta_key`, and `meta_value`.

Does wp_update_user_meta modify site data?

Yes. It is a write operation and can create, update, or delete data depending on arguments.

Which capability is commonly required?

It usually runs under controls compatible with edit_users and the active MCP profile.

How should wp_update_user_meta be used safely?

Enable write confirmations, test in staging first, and keep changelog/rollback enabled.