List Order Notes


Lists the notes attached to an order — private (staff-only) and/or customer-visible.

Also known as: order notes, order history notes.

Property Value
Ability slug mosmcp/list-order-notes
Wire tool name mosmcp__list-order-notes
Category WooCommerce (mosmcp-woocommerce)
Plan Free

 

Required access

Requirement Value
Capability manage_woocommerce
Minimum default role Shop manager
Requires WooCommerce
Annotations readOnly: true · destructive: false · idempotent: true · openWorld: false

 

Input schema

Field Type Required Default Description
id integer Yes — The order ID (required).
type string (one of any, customer, internal) any Limit to customer or internal notes. Defaults to any.

 

Output schema

Field Type Required
success boolean
message string
data object
data.notes object[]
meta object
meta.ability string
meta.timestamp string
meta.execution_time string \| null

 

Example

Sample prompt
Show me all the notes on order 1057.

Example request (json)

{
  "jsonrpc": "2.0",
  "id": 375,
  "method": "tools/call",
  "params": {
    "name": "mosmcp__list-order-notes",
    "arguments": {
      "input": {
        "id": 1057
      }
    }
  }
}

Example response (json)

{
  "jsonrpc": "2.0",
  "id": 375,
  "result": {
    "isError": false,
    "structuredContent": {
      "success": true,
      "message": "2 note(s) retrieved.",
      "data": {
        "notes": [
          {
            "id": 9021,
            "author": "Jane Admin",
            "date_created": "2026-09-28T09:12:00+00:00",
            "note": "Your parcel has been dispatched.",
            "customer_note": true,
            "added_by_user": true
          },
          {
            "id": 9015,
            "author": "WooCommerce",
            "date_created": "2026-09-27T16:46:02+00:00",
            "note": "Order status changed from Pending payment to Processing.",
            "customer_note": false,
            "added_by_user": false
          }
        ]
      },
      "meta": {
        "ability": "mosmcp/list-order-notes",
        "timestamp": "2026-09-29T10:15:00+00:00",
        "execution_time": "18.4ms"
      }
    }
  }
}

 

Edge cases / errors

  • type "customer" returns only customer-visible notes, "internal" only private ones; any other value → wcab_invalid_enum.
  • System-generated notes show author "WooCommerce" and added_by_user false.
  • Unknown order → wcab_order_not_found.

 


<< Previous Next >>
List Customers List Order Refunds

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.