mcp-easy-ai__wp_get_user_meta
Reads user meta for a given user. Required: user_id. Optional: key (single key — omit to fetch all meta), single (boolean, default true — when true returns a single value; when false returns an array of values for the key). Returns { user_id, key, value } for one key, or { user_id, meta, withheld_keys } for all meta, where withheld_keys (sorted) names every key the policy left out of meta, so an omission is never silent. Users can read their own meta without edit_users. Auth-sensitive keys (session_tokens, _password_reset_key, _application_passwords, etc.) and the role keys ({prefix}capabilities, {prefix}user_level) are blocked for all callers including administrators; in the all-meta read, _-prefixed keys are also withheld from callers without manage_options unless the easy_mcp_ai_user_meta_readable_protected_keys filter lists them. Through Royally: its server marks it read-only, so it runs straight away.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Optional single meta key. Omit to fetch all readable meta. | |
| single | No | Only applies when `key` is provided. When true (default) returns a single value; when false returns an array of values for the key. Ignored when `key` is omitted (all meta is returned in that case). | |
| site_id | No | Site to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com) | |
| user_id | Yes | The ID of the user to read meta for. |