Skip to main content
Glama

royal-mcp__wc_get_products

Read-onlyIdempotent

Get WooCommerce products. Without page: an array of up to per_page products (default 10, max 100). With page: {products, page, per_page, total, total_count, total_pages, ignored_args}; iterate page until page >= total_pages to list a whole catalog. Each row carries stock_quantity, stock_status and manage_stock. (site: demo.royalplugins.com) Through Royally: read-only, runs straight away.

Input Schema

NameRequiredDescriptionDefault
skuNoSKU to match (WooCommerce matches partial SKUs)
pageNoPage number, 1-indexed. When given, the reply includes total and total_pages.
typeNoProduct type (simple, variable, grouped, external)
searchNoSearch term
statusNoProduct status (publish, draft, etc)
excludeNoLeave out these product IDs
includeNoOnly these product IDs
site_idNoSite to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com)
categoryNoCategory slug to filter by
per_pageNoProducts per call (default 10, min 1, max 100)
attributeNoGlobal attribute taxonomy slug (e.g. pa_color from wc_get_product_attributes). Requires attribute_term.
stock_statusNoStock status
attribute_termNoTerm slug or term_id within the attribute (e.g. black-color from wc_get_attribute_terms). Requires attribute.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint, but the description goes beyond them by disclosing the differing return shapes (array vs. paginated object with total/total_pages/ignored_args) and which stock fields each row carries. The trailing '(site: demo.royalplugins.com) Through Royally: read-only, runs straight away' mostly restates annotations and site_id, adding little.

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?

Purpose and the no-page/with-page distinction are front-loaded, and the pagination recipe follows immediately. The only removable content is the site URL and the 'read-only, runs straight away' clause, which duplicate structured fields.

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 13 parameters and no output schema, the description carries the return-value burden and does so adequately by naming the envelope fields and the per-row stock attributes. An agent could call it correctly, though it would still need to discover other row fields empirically.

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 coverage is 100%, so the baseline is 3 and the schema already documents all 13 parameters including defaults and enums. The description adds only the page-to-response-shape relationship and reiterates per_page's default/max, which is marginal value over the schema text.

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 opens with a specific verb+resource ('Get WooCommerce products'), which is unambiguous about what the tool returns. It does not explicitly distinguish itself from the singular sibling wc_get_product or wc_get_store_stats, so an agent must infer the plural/listing distinction from the name alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Gives concrete operational guidance: without page you get a flat array, with page you get an envelope, and you should 'iterate page until page >= total_pages to list a whole catalog.' That is a clear when/how-to-use recipe with no exclusions against alternatives.

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