Skip to main content
Glama
woocommerce-mcp

woocommerce-mcp

by mubasher1111

Low stock report

low_stock
Read-onlyIdempotent

Identifies products and variations that are out of stock or at/below a stock threshold so you know what to reorder, including variations of variable products.

Instructions

Finds products and variations that are out of stock or at/below a stock threshold, so the user knows what to reorder. Checks variations of variable products too (up to 50 variable products).

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

Input Schema

NameRequiredDescriptionDefault
thresholdNoReport items with this many or fewer in stock (default 5)

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 readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely useful behavior beyond that: it descends into variations of variable products and caps inspection at 50 variable products, which is a real limit an agent should know. It does not mention result ordering or output fields, but that is a minor gap given no output schema exists.

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?

A single sentence that front-loads the filter condition and ends with the purpose; the variation/50-cap caveat follows efficiently. No filler wording to trim.

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 one-optional-parameter read report with no output schema, the description covers what is found, the inclusion of variations, and the 50-variable-product ceiling. Only the shape/ordering of returned items is unstated, which is a small omission for a simple read tool.

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% and the only parameter (threshold) is fully documented in the schema, including the default of 5. The description reinforces the meaning of the threshold ('at/below a stock threshold') but adds no format or edge-case detail beyond the schema. Baseline 3 applies.

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?

Names a specific verb ('Finds') and resource ('products and variations') plus a precise filter condition (out of stock or at/below threshold) and a downstream purpose (reorder). It is clearly distinct from list_products or sales_report, though no sibling is named explicitly.

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 'so the user knows what to reorder' — this is a reorder-planning report rather than a catalog listing. There is no explicit when-to-use/when-not statement or reference to an alternative for full inventory browsing.

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