Skip to main content
Glama

Read term meta

wp_get_term_meta
Read-onlyIdempotent

Read custom meta of one term: one key, or all public keys. Keys starting with "_", keys WordPress marks as protected and credential-like keys are not available; without a key, keys the account may not edit are left out too. Returns {term_id, key, value} (with several stored values, the first) or {term_id, meta: {key: value}} (a key with several values gives a list). Needs the right to assign terms of the term's taxonomy; one key needs the right to edit the term. An unknown term_id returns a not-found error. Read-only; the term's own fields come from wp_get_term. Forwarded by AlphaBridge Connect to the one site this connection reaches.

Input Schema

NameRequiredDescriptionDefault
keyNoOne meta key to read. When omitted, all public keys are read. A key the term does not have returns an empty value, or the default a plugin registered for it.
term_idYesTerm id, as wp_list_terms returns it; the taxonomy is not needed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / key / description
      Added value: +"One meta key to read. When omitted, all public keys are read. A key the term does not have returns an empty value, or the default a plugin registered for it."
    • addedInput schema / properties / term_id / description
      Added value: +"Term id, as wp_list_terms returns it; the taxonomy is not needed."
  2. 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 annotation: discloses that underscore-prefixed, protected, and credential-like keys are withheld, that keys the account cannot edit are excluded from the all-keys listing, the exact return shapes including multi-value behavior, the required capability (assign terms, or edit term for a single key), not-found behavior, and the AlphaBridge forwarding scope.

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?

Purpose and scope are front-loaded, then permissions, return shapes, and error behavior follow in a logical order. The sentences are long and packed with clauses, which makes it dense, but almost nothing is redundant filler.

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?

For a two-parameter read tool with no output schema, the description covers return shapes, permissions, error behavior, filtering rules, and alternative tooling. An agent has everything it needs to call this correctly.

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 coverage is 100%, so both parameters are already documented in the schema, which sets the baseline at 3. The description does add value by explaining what omitting the key returns and the permission difference between the all-keys and single-key modes, but it largely restates the schema's key semantics.

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?

Opens with a specific verb and resource ("Read custom meta of one term") and immediately scopes it to one key or all public keys. It is clearly separable from wp_get_term ("the term's own fields come from wp_get_term") and from wp_get_post_meta/wp_get_user_meta by naming the object type.

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?

Explicitly routes the agent to wp_get_term for the term's own fields, which is the main ambiguity an agent would face. It does not name the write counterpart (wp_update_term_meta) or state when not to call it, so it falls short of a 5.

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