wc_get_coupon tool reference for StifLi Flex MCP
Read-onlygets one WooCommerce coupon by ID.
Description
gets one WooCommerce coupon by ID.
What it is for
- Inspecting one coupon before updating or deleting it.
- Validating discount type, amount, expiry, and status.
Example use case
coupon inspection.
Sample prompt
Get coupon ID 73 and show its code, discount type, amount, expiry date, and status.
Sample response
{
"tool": "wc_get_coupon",
"status": "ok",
"items": []
}
What does wc_get_coupon do?
gets one WooCommerce coupon by ID.
Does wc_get_coupon modify store data?
No. It is a read-only operation and does not modify commerce data or settings.
Which capability is commonly required?
It usually runs under controls compatible with manage_woocommerce and the active MCP profile.
How should wc_get_coupon be used safely?
Limit scope with filters and pagination to reduce overexposure of data.
