Skip to main content
Glama
woocommerce-mcp

woocommerce-mcp

by mubasher1111

Find products

list_products
Read-onlyIdempotent

Retrieve WooCommerce products with price, stock, and sales data; search by name or SKU, filter by stock status, and sort by best-selling to support catalog and inventory queries.

Instructions

Lists products with price, stock and total sales. Search by name or SKU, filter by stock status, or sort by best-selling (orderby "popularity").

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_products"
  }
}

Input Schema

NameRequiredDescriptionDefault
skuNoExact SKU
pageNo
limitNoDefault 20
orderNo
searchNoWords in the product name
orderbyNoDefault: date
stock_statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered by structured data. The description adds that results carry price, stock and total sales, which is useful context beyond annotations. However, it says nothing about pagination behavior, result caps, or what an empty result looks like — gaps that matter for a 7-param listing 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 tight sentences with no filler; the return payload is front-loaded ahead of the filtering and sorting options, which is the right priority for a listing tool. The only awkwardness is the parenthetical orderby citation, which reads slightly like leaked schema text.

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

Completeness4/5

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

With no output schema, the description compensates by naming the three returned fields, and it explains the main filtering and sorting axes for a 7-param tool with no required parameters. Remaining gaps — pagination totals, behavior when both `search` and `sku` are supplied — are modest rather than blocking.

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

Parameters4/5

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

Schema coverage is 57%, so the description has to carry some weight, and it does: it clarifies that `search` matches product names, that `sku` is an exact lookup path, that `stock_status` filters, and that orderby "popularity" means best-selling — meaning the enum value alone does not convey. It leaves `page`, `limit` and `order` unaddressed, but those carry their own schema descriptions.

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 gives a specific verb and resource ("Lists products") and names the payload fields (price, stock, total sales), so the agent knows what comes back without opening a schema. It does not differentiate itself from the sibling `low_stock`, which plausibly overlaps on stock-status filtering, 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 Guidelines3/5

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

It enumerates the ways to use the tool (search by name or SKU, filter by stock status, sort by best-selling), which implies when each parameter is appropriate. But it never states when to prefer this over `low_stock` or `sales_report`, and gives no exclusions or prerequisites, leaving routing to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.