Orders Report
Gets order counts broken down by status. Defaults to all-time totals, matching the official WooCommerce Orders Totals report; optionally scope to a date range.
Also known as: order counts, orders by status.
| Property | Value |
|---|---|
| Ability slug | mosmcp/report-orders |
| Wire tool name | mosmcp__report-orders |
| Category | WooCommerce (mosmcp-woocommerce) |
| Plan | Free |
Required access
| Requirement | Value |
|---|---|
| Capability | view_woocommerce_reports |
| Minimum default role | Shop manager |
| Requires | WooCommerce |
| Annotations | readOnly: true · destructive: false · idempotent: true · openWorld: false |
Input schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| date_min | string | — | Start date, inclusive (YYYY-MM-DD). Omit for all-time totals. | |
| date_max | string | — | End date, inclusive (YYYY-MM-DD). Omit for all-time totals. |
Output schema
| Field | Type | Required |
|---|---|---|
| success | boolean | |
| message | string | |
| data | object | |
| data.totals | object[] | |
| meta | object | |
| meta.ability | string | |
| meta.timestamp | string | |
| meta.execution_time | string \| null |
Example
Sample prompt
How many orders do I have in each status?
Example request (json)
{
"jsonrpc": "2.0",
"id": 382,
"method": "tools/call",
"params": {
"name": "mosmcp__report-orders",
"arguments": {
"input": {}
}
}
}Example response (json)
{
"jsonrpc": "2.0",
"id": 382,
"result": {
"isError": false,
"structuredContent": {
"success": true,
"message": "Order report generated.",
"data": {
"totals": [
{
"slug": "pending",
"name": "Pending payment",
"total": 3
},
{
"slug": "processing",
"name": "Processing",
"total": 12
},
{
"slug": "completed",
"name": "Completed",
"total": 845
}
]
},
"meta": {
"ability": "mosmcp/report-orders",
"timestamp": "2026-09-29T10:15:00+00:00",
"execution_time": "18.4ms"
}
}
}
}
Edge cases / errors
- No dates → all-time counts per status.
- Only one of date_min/date_max → an open-ended range (on/after or on/before); invalid format → wcab_invalid_date.
- Includes every registered order status, custom ones too, with zero counts where empty.
| << Previous | Next >> |
|---|---|
| List Products | Products Report |
For more information about the Secure MCP Server for WordPress plugin, explore the following resources:
Product Overview | Pricing | Try for Free | Documentation
If you have any questions regarding plugin configuration, pricing plans or licensing, please contact us or mail us at aisupport@xecurify.com.