Skip to main content
Glama
mcp-woocommerce

mcp-woocommerce

by zeusmyto

low_stock

Identify WooCommerce products at or below a stock threshold, ordered lowest first, so you can prioritize restocking items that are running low.

Instructions

Products whose managed stock is at or below the threshold, lowest first.

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
thresholdNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose useful traits beyond structured data: the comparison is inclusive ("at or below") and results are ordered lowest-first, which matters for restocking workflows. It says nothing about scope (all products vs. a workspace), result volume, or pagination.

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?

One front-loaded sentence with the resource first and the ordering constraint last; nothing is wasted and no clause is filler.

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?

Output schema exists, so return values need not be described, and a one-parameter read tool does not demand much. What remains missing is scope and result-size behavior, which matters for an inventory listing but is minor at this complexity.

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 0% and the single threshold parameter has no schema description, so the description must compensate. It clarifies that the comparison is inclusive and what the threshold measures, but never states the default of 5 that the schema encodes or what units/basis the value uses.

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 the resource (products) and the exact filter condition (managed stock at or below the threshold) plus the sort order, which is specific enough to distinguish it from siblings like search_products or update_stock. It stops short of explicitly contrasting itself with a sibling, keeping it at a 4.

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

Usage Guidelines2/5

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

The description states what is returned but gives no when-to-use guidance, no mention of when not to use it, and no pointer to alternatives such as search_products for broader inventory queries. An agent must infer the restocking/reorder use case on its own.

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