Skip to main content
Glama

MCP Art Supply Store

by wspotter

calculate_discount

Calculate discounted prices for art supplies using percentage, fixed amount, loyalty, or bulk order discounts based on product SKU and quantity.

Instructions

Calculate discounted price for promotions, bulk orders, or loyalty rewards.

Input Schema

NameRequiredDescriptionDefault
discountTypeYesType: percentage, fixed, loyalty, bulk
discountValueYesDiscount percentage or fixed amount
quantityNoQuantity for bulk pricing
skuYesProduct SKU

Input Schema (JSON Schema)

{ "properties": { "discountType": { "description": "Type: percentage, fixed, loyalty, bulk", "type": "string" }, "discountValue": { "description": "Discount percentage or fixed amount", "type": "number" }, "quantity": { "description": "Quantity for bulk pricing", "type": "number" }, "sku": { "description": "Product SKU", "type": "string" } }, "required": [ "sku", "discountType", "discountValue" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wspotter/mcpart'

If you have feedback or need assistance with the MCP directory API, please join our Discord server