Skip to main content
Glama
wp-woo-mcp

wp-woo-mcp

by Wtirliz

Search products

search_products
Read-only

Find WooCommerce products by text, SKU, or status and return compact rows with IDs, names, types, prices, and stock levels for quick catalog lookup.

Instructions

Search WooCommerce products by text, SKU (comma-separated for several) or status. Returns compact rows: id, name, sku, type, status, prices, stock.

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": "search_products"
  }
}

Input Schema

NameRequiredDescriptionDefault
skuNoExact SKU, or several separated by commas
pageNo
searchNoText to search in product names and content
statusNoany
on_saleNo
per_pageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuine value beyond them by enumerating the returned row fields (id, name, sku, type, status, prices, stock), which matters because there is no output schema; it does not, however, disclose pagination behavior or result caps.

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?

Two short sentences with no waste: the search capability is front-loaded and the return shape follows immediately. Every clause carries information an agent needs.

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?

For a read-only search tool with six optional parameters, the definition covers purpose, filterable fields, and the shape of results well enough to call it correctly. The main omissions are pagination semantics (per_page default 20, max 50) and the on_sale filter, which is the only parameter never hinted at.

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 only 33%, so the description carries meaningful weight, and it does clarify that SKU accepts a comma-separated list. But it says nothing about on_sale, page, or per_page, and the enum/default behavior for status is left entirely to the schema, so it does not fully compensate for the coverage 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?

The description gives a specific verb and resource ("Search WooCommerce products") plus the three filter dimensions (text, SKU, status), which clearly separates it from single-record siblings like get_product and get_order. It stops short of naming an alternative, but the intent is unambiguous.

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?

Usage is implied by the filter list: an agent can infer this is the lookup tool when it has a text fragment, SKU, or status rather than an ID. There is no explicit when-to-use/when-not guidance and no mention of how it relates to get_product or list_orders, 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.