Skip to main content
Glama

WordPress: Update product seo

wordpress_update_product_seo
Destructive

Update SEO metadata for a WooCommerce product, including SEO title, meta description, focus keywords, canonical URL, and Open Graph/Twitter fields.

Instructions

[UNIFIED] Update SEO metadata for a WooCommerce product. Same as update_post_seo but specifically for products. Requires SEO API Bridge plugin.

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>",
      "product_id": "<product_id>"
    },
    "name": "wordpress_update_product_seo"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYes
og_imageNo
og_titleNo
seo_titleNo
product_idYes
canonical_urlNo
focus_keywordNo
twitter_imageNo
twitter_titleNo
og_descriptionNo
meta_descriptionNo
additional_keywordsNo
twitter_descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.13.1
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observedv3.4.0

TDQS

B3.1/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false, destructiveHint=true and idempotentHint=false, so the risk profile is known. The description adds a real prerequisite ("Requires SEO API Bridge plugin"), which is valuable context the schema cannot convey. It omits the critical destructive semantics: whether passing null/omitting an optional field clears existing SEO metadata or leaves it untouched — a key question given destructiveHint=true.

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?

Three short sentences, front-loaded with the purpose and ending with the hard prerequisite. Nothing is padded. The bracketed "[UNIFIED]" token is the only element that does not earn its place.

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?

For a 13-parameter destructive mutation with no output schema and only two required fields, the description is too thin. It never explains what happens to fields left null, what the response confirms, or how the SEO title interacts with the product's existing content — all things the schema and annotations cannot tell the agent.

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

Parameters2/5

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

Schema description coverage is 0% across 13 parameters, so the description must carry the burden and it says nothing about any of them. An agent gets no explanation of the distinctions between seo_title, og_title and twitter_title, the format of additional_keywords or canonical_url, or the partial-update semantics of the many nullable fields. The parameter names are somewhat self-descriptive, which is the only reason this is not a 1.

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 states a specific verb and resource: update SEO metadata for a WooCommerce product. It also distinguishes itself from the post equivalent ("Same as update_post_seo but specifically for products"), so an agent can route between the two. The unexplained "[UNIFIED]" prefix adds noise but does not obscure the purpose.

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?

There is implicit routing guidance — use this for products rather than posts — which is useful. However, it never contrasts with wordpress_get_product_seo, woocommerce_update_product, or wordpress_bulk_update_meta, and it gives no guidance on when this is preferable to updating the product record itself.

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