Skip to main content
Glama

Create Product

woo_create_product

Create a new WooCommerce product. Supports simple, variable, grouped, and external product types. Products default to draft status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
skuNoProduct SKU
nameYesProduct name
tagsNoProduct tags
typeNoProduct type (default: simple)
imagesNoProduct images [{src: "url"}] (max 20)
statusNoStatus (defaults to draft)
weightNoProduct weight
site_idNoSite ID to target (optional if you have only one connected site)
virtualNoIs virtual product
categoriesNoProduct categories [{id: 1}, {id: 2}]
sale_priceNoSale price
descriptionNoProduct full description (HTML supported)
downloadableNoIs downloadable product
manage_stockNoEnable stock management
regular_priceNoRegular price
stock_quantityNoStock quantity
short_descriptionNoProduct short description

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare the write/safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true), so the bar is lower. The description adds one genuinely useful behavioral fact beyond annotations: products default to draft status, plus the supported type set. It omits whether the call is reversible, permission requirements, or what happens on duplicate SKU.

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?

Three short, front-loaded sentences with no filler. The most decision-relevant fact (what it creates) leads, followed by supported types and the default status.

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 17-parameter mutation tool with no output schema, the description covers creation, supported types, and default status, but is silent on the required 'name' field, the site_id targeting parameter, and what the response returns (e.g., new product ID). Annotations carry the safety profile, so this is adequate but with clear gaps.

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% across all 17 parameters, so the schema fully documents names, enums, and formats. The description adds only the draft-default and type-set context, which duplicates the enum descriptions rather than extending them; the baseline 3 is appropriate.

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 ('Create a new WooCommerce product') and enumerates the supported product types, which is concrete. It does not explicitly differentiate from siblings like woo_update_product or woo_create_product_category, but the verb+resource make the intent unambiguous.

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?

The description gives no when-to-use guidance, no prerequisites, and does not name alternatives such as woo_update_product for existing products. Only the default draft status hints at usage, so the agent must infer when this tool applies.

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