mhlb_unsubscribe_order
Stop a recurring lunch order subscription for a specified date and student. Confirm the cancellation to prevent future charges.
Instructions
Stop a recurring subscription for a specific lunch order. Asks the user to confirm first: a confirmation prompt where the client supports one; otherwise the first call returns a preview and a confirmToken, and only a repeat call with that token proceeds (see MCP_CONFIRM_MODE). NOTE: this write is UNVERIFIED — its request shape was derived from the web app’s compiled API client but has not been exercised against a live account. Inspect the confirmation preview before approving it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | Order id, from mhlb_get_calendar or mhlb_get_cart. | |
| eventDate | Yes | The lunch date of that order (YYYY-MM-DD). | |
| studentId | Yes | Student the order belongs to. | |
| isRepeated | No | true acts on the whole recurring series, not just this date. Defaults to false. | |
| confirmToken | No | ONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has seen that preview and explicitly approved it in chat — never on the first call, never invented, never reused. Call again with the same arguments. Ignored when the client supports elicitation. | |
| isSubscribed | No | Whether the order is a subscription. Defaults to false for mhlb_delete_order and true for mhlb_unsubscribe_order, matching what each is for. |