Skip to main content
Glama

mcp-easy-ai__wp_get_user_meta

Read-only

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

NameRequiredDescriptionDefault
keyNoOptional single meta key. Omit to fetch all readable meta.
singleNoOnly 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_idNoSite to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com)
user_idYesThe ID of the user to read meta for.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint/destructiveHint annotations: it discloses the exact return shapes, the `withheld_keys` guarantee that omissions are never silent, the permission model, the specific blocked key families (session_tokens, capabilities, user_level), the manage_options gate on `_`-prefixed keys, and the escape-hatch filter name. This is the kind of policy context annotations cannot carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads required/optional parameters and return shapes before the policy detail, which is the right ordering. The auth/policy sentence is long and dense, but each clause conveys a distinct restriction an agent needs, so little is wasted.

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

Completeness5/5

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

There is no output schema, and the description compensates fully by specifying both return object shapes and the meaning of `withheld_keys`. Combined with the permission and key-blocking rules, an agent has everything needed to call this correctly and interpret the result.

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 already documents `user_id`, `key`, `single`, and `site_id`. The description restates the same `key`/`single` semantics rather than adding new detail (e.g., expected key format or prefix behavior), so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Reads user meta for a given user") and immediately scopes it by the two modes (single key vs. all meta), which distinguishes it from siblings like wp_get_post_meta, wp_get_term_meta, and wp_get_user. An agent can select it without opening the schema.

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?

Gives concrete selection guidance: omit `key` to fetch all meta, `single` only matters when `key` is supplied, and users can read their own meta without `edit_users`. It does not explicitly name a sibling alternative (e.g., wp_get_user for profile fields), so it stops short of full when/when-not routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources