Skip to main content
Glama

woo_update_product

Update WooCommerce product fields such as price, stock, status, categories, tags, and metadata using the site and product ID.

Instructions

Update a WooCommerce product

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesProduct ID
skuNo
nameNo
siteYesSite id (see list_sites)
tagsNo
statusNo
meta_dataNo
categoriesNo
sale_priceNo
descriptionNo
manage_stockNo
stock_statusNo
regular_priceNo
stock_quantityNo
short_descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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"
      -]New value: +[
      +  "site",
      +  "id"
      +]
  2. First observedv2.0.0

TDQS

C2.1/5.0
Behavior1/5

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

With no annotations, the description carries the full behavioral burden, and it discloses nothing. It doesn't explain partial-update semantics (whether omitted fields are preserved or cleared), permission requirements, validation failures, or side effects on stock and pricing — critical for a 15-parameter 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.

Conciseness2/5

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

Four words is well under the space needed rather than genuinely concise. It is front-loaded but the omission of any qualifying detail is under-specification, not efficiency.

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

Completeness1/5

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

A 15-parameter mutation tool with no annotations, no output schema, and 13% parameter coverage needs substantial description to be safely callable. The one-line description leaves the agent without update semantics, return behavior, or field guidance — completely inadequate for this complexity.

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

Parameters1/5

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

Schema description coverage is only 13% (just 'id' and 'site'), so 13 of 15 parameters are undocumented anywhere. The description adds no meaning for fields like sale_price, manage_stock, meta_data, or categories, leaving the agent to guess at formats and expected types.

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 ('Update') and resource ('WooCommerce product'), which is clear enough for an agent to grasp the operation. However, it offers no differentiation from closely related siblings such as woo_update_variation, woo_update_product_meta, or woo_bulk_update_stock, 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 when-to-use guidance at all: it doesn't say when to prefer this over woo_update_product_meta or woo_update_variation, nor does it note that it requires an existing product id. The agent must infer usage entirely from the name.

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