Skip to main content
Glama

mcp_update_user_meta

Set or update custom meta data for a WordPress user by key, merging new values into existing per-key data.

Instructions

Set meta data for a user (merged per key; keys are run through sanitize_key, so lowercase a-z0-9_-)

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>",
      "meta": "<meta>"
    },
    "name": "mcp_update_user_meta"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesUser ID
metaYesMeta key-value pairs to set
siteYesSite id (see list_sites)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.14.0
    • changedInput schema / properties / id / type
      Previous value: -"number"New value: +"integer"
  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",
      -  "meta"
      -]New value: +[
      +  "site",
      +  "id",
      +  "meta"
      +]
  3. First observedv2.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden and usefully discloses merge-per-key semantics and key sanitization. However, it does not mention permissions, failure behavior, or whether omitted keys are preserved or removed beyond the merge hint.

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?

The description is a single front-loaded sentence with no wasted wording. The parenthetical adds important key behavior without disrupting readability.

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?

For a three-parameter mutation tool with no annotations or output schema, the definition covers key merge and sanitization behavior well. It still omits auth requirements and return/error expectations, leaving notable gaps for an agent invoking the tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already explains site, id, and meta. The description adds meaningful semantics beyond the schema by explaining that meta keys are merged per key and normalized through sanitize_key to lowercase a-z0-9_-.

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 clear verb and resource: setting meta data for a user. It is distinguishable from siblings like mcp_update_user and mcp_get_user_meta by scope, but it does not explicitly name alternatives or boundaries.

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

Usage Guidelines3/5

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

Usage is implied: use this tool to set user metadata. There is no explicit guidance on when to choose this over mcp_update_user, mcp_get_user_meta, or other update tools, and no exclusions are stated.

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