Skip to main content
Glama

mcp_update_term

Update a term in any WordPress taxonomy—such as category or tag—by changing only the fields you specify and leaving other term data unchanged.

Instructions

Update a term in any taxonomy. Only the given fields change.

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>",
      "taxonomy": "<taxonomy>",
      "id": "<id>"
    },
    "name": "mcp_update_term"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesTerm ID
nameNoTerm name
siteYesSite id (see list_sites)
slugNoURL slug
parentNoParent term ID (0 = none)
taxonomyYesTaxonomy name (e.g. category, post_tag, product_cat)
descriptionNoTerm description, plain text

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv3.14.0
    • changedInput schema / properties / description / description
      Previous value: -"Term description"New value: +"Term description, plain text"
    • changedInput schema / properties / id / type
      Previous value: -"number"New value: +"integer"
    • changedInput schema / properties / parent / description
      Previous value: -"Parent term ID"New value: +"Parent term ID (0 = none)"
    • addedInput schema / properties / parent / minimum
      Added value: +0
    • changedInput schema / properties / parent / type
      Previous value: -"number"New value: +"integer"
    • changedInput schema / properties / taxonomy / description
      Previous value: -"Taxonomy name"New value: +"Taxonomy name (e.g. category, post_tag, product_cat)"
    • addedInput schema / properties / taxonomy / pattern
      Added value: +"^[a-zA-Z0-9_-]+$"
  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: -[
      -  "taxonomy",
      -  "id"
      -]New value: +[
      +  "site",
      +  "taxonomy",
      +  "id"
      +]
  3. First observedv2.0.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. "Only the given fields change" is a genuinely useful partial-update semantic that clarifies omitted fields are preserved, but there is no mention of permissions, side effects (e.g. slug regeneration when name changes), or irreversibility for a mutation tool.

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?

Two short sentences with the scope up front and the update semantic second; no filler. Efficient, though it is terse to the point of leaving the mutation's side effects unstated.

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

Completeness2/5

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

A seven-parameter mutation tool with no annotations and no output schema needs more: no mention of what a partial update returns, whether a term can be moved between taxonomies, or how invalid ids behave. The definition is not wrong, just materially under-specified for this complexity.

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 explains all seven parameters including the site/taxonomy/id required set. The description adds nothing parameter-specific, which is the baseline-3 case rather than a gap.

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?

States a specific verb and resource ("Update a term") plus scope ("in any taxonomy"), which separates it from mcp_create_term and mcp_delete_term. It does not explicitly name those siblings, so it falls short of a 5.

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

Usage Guidelines2/5

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

No guidance on when to choose this over mcp_create_term or the seo_update_term_seo sibling, and no prerequisites stated. "In any taxonomy" implies it works across taxonomies, but nothing tells the agent when this is the right call.

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