Skip to main content
Glama
woocommerce-mcp

woocommerce-mcp

by mubasher1111

Find orders

list_orders
Read-onlyIdempotent

Retrieve a store's orders newest first, filtered by status, date range, or search by order number, customer name, email, or phone, returning a short summary of each order.

Instructions

Lists orders, newest first, filtered by status, date range, or a search term (order number, customer name, email or phone). Returns a short summary of each order.

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

Input Schema

NameRequiredDescriptionDefault
toNoPlaced on or before YYYY-MM-DD
fromNoPlaced on or after YYYY-MM-DD
pageNo
limitNoDefault 20
searchNoOrder number, customer name, email or phone
statusNo

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, open-world behavior, so the safety profile is covered. The description adds genuinely new context: results are ordered newest-first and each row is a 'short summary' rather than a full order, which hints that detail requires a different call. It does not disclose pagination behavior beyond the schema default or how 'search' matches (exact vs. substring), which keeps it from a 5.

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 compact sentences, front-loaded with the verb and sort order, followed by the filter axes and return shape. Every clause carries information relevant to invoking the tool correctly.

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 six-parameter, all-optional read tool with no output schema, the description covers purpose, default ordering, filter dimensions, and a rough picture of returned values. The remaining gap is match semantics for 'search' and pagination expectations, which are minor against an otherwise adequate definition.

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?

With 67% schema description coverage, most parameters are already documented in the schema, and the description mostly restates them (status, date range, search fields). It adds no meaning for 'page' or 'limit' and does not clarify match semantics for 'search', so it sits at the baseline for a well-described schema.

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 ('Lists orders'), plus the default sort ('newest first'), the filter axes (status, date range, search term), and the return shape ('short summary of each order'). It does not explicitly distinguish itself from the sibling 'get_order' for single-record retrieval, so it stops short of the sibling-differentiation bar for a 5.

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 rather than stated: an agent can infer this is the browsing/filtering entry point and that 'get_order' likely serves single-record lookups, but the description never says when to use this instead of that sibling. It also gives no guidance on combining filters or on when to page versus narrow the search.

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