Skip to main content
Glama

woocommerce_list_product_variations

Retrieve all variations of a WooCommerce variable product with pricing, stock levels, and attribute combinations for inventory management and display.

Instructions

[UNIFIED] List all variations of a variable product. Returns pricing, stock, and attribute combinations for each variation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteYes
product_idYes
per_pageNo
pageNo
Behavior3/5

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

With no annotations provided, description carries full burden. Adds value by disclosing return contents (pricing, stock, attribute combinations) since no output schema exists. However, omits pagination behavior (despite having per_page/page params), auth requirements, and whether results are cacheable.

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 sentences, front-loaded with purpose. Efficient length. Minor deduction for '[UNIFIED]' prefix which appears to be implementation metadata noise rather than descriptive content.

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?

Partially adequate for a 4-parameter list tool. Describes return value contents sufficiently given lack of output schema, but incomplete due to missing parameter documentation (critical given 0% schema coverage) and lack of pagination guidance.

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 0% and description fails to compensate. No explanation of 'site' (URL vs slug), 'product_id' (required parent product), or pagination logic for 'per_page'/'page' parameters. Agent must guess parameter semantics from names alone.

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?

Clear verb ('List') and resource ('variations of a variable product') with specific scope. Mentions return content (pricing, stock, attributes). Distinguishes implicitly from sibling tools like woocommerce_get_product by targeting variations specifically, though could explicitly contrast with woocommerce_list_products.

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?

Implies usage context (for variable products) but lacks explicit when-to-use guidance versus alternatives like woocommerce_get_product. No mention of prerequisites (e.g., needing a variable product_id first) or when not to use (e.g., for simple products).

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/airano-ir/mcphub'

If you have feedback or need assistance with the MCP directory API, please join our Discord server