Commerce
setQuantityTaxRule
Set Quantity Tax Rule
Change which products are in a shop's "Tax only when fewer than N are bought" set (the Massachusetts bakery rule: six or more baked goods in one order, counted together, are untaxed).
Ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "Key Lime should be in the six-or-more set", and it calls setQuantityTaxRule.
Example call
The MCP tools/call params, with the required arguments only.
{
"arguments": {},
"name": "setQuantityTaxRule"
}Arguments
addstring[]optionalProduct ids or exact names to put in the set.confirmbooleanoptionalApply the change. Omit to preview first.minQuantityintegeroptionalHow many covered items, counted together, make the order untaxed. 6 for the Massachusetts bakery rule.removestring[]optionalProduct ids or exact names to take out of the set.spacestringoptionalSpace id or slug (see listPageSpaces) for a Space-owned shop. Omit for your personal shop.spaceIdstringoptionalSame as `space`: the Space id (see listPageSpaces) of a Space-owned shop. Pass either one. Omit both for your personal shop.turnOffbooleanoptionalSwitch the rule off. Pass nothing else with it.
Returns
The registry does not declare a return shape.
Declared limits
add: minimum items 1add: maximum items 200minQuantity: minimum 2minQuantity: maximum 1000remove: minimum items 1remove: maximum items 200
Ask for it
The Cloud routes these requests to this verb.
- Key Lime should be in the six-or-more set
- add the lemon bars to the bakery tax rule
- take coffee out of the half-dozen rule
- make it tax free at a dozen instead
- turn off the six-or-more rule
Pair it with
The verbs that finish the job.
Questions
What does setQuantityTaxRule do?
Change which products are in a shop's "Tax only when fewer than N are bought" set (the Massachusetts bakery rule: six or more baked goods in one order, counted together, are untaxed). It is one of the tools The Cloud MCP server gives every connected AI.
How do I use setQuantityTaxRule from Claude or ChatGPT?
Connect your AI to The Cloud at https://mcp.thecloud.so/mcp and sign in once. Then ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "Key Lime should be in the six-or-more set", and it calls setQuantityTaxRule.
Is setQuantityTaxRule safe to let an AI call?
setQuantityTaxRule widens who can see or receive something, so the owner approves every call explicitly. An AI cannot approve it for itself.
Connect
One endpoint gives your AI this tool and every other one: connect Claude, ChatGPT, Cursor or Gemini, read what The Cloud is, or see pricing.