MCP 服务器

PackValue Tools

io.github.umagestaointeligente/packvalue-tools
商业与运营 电商与零售 公开且可连接 MCP 2025-11-25

此 MCP 可以做什么

Performs deterministic shopping and procurement calculations, including pack normalization, discounts, shipping, tax, dilution and promotion comparisons.

calculate_buy_x_pay_y
Calculate buy X pay Y promotion
Calculate total paid, effective unit price and discount for buy-X-pay-Y or take-X-pay-Y promotions.
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['take_units', 'pay_units', 'regular_unit_price'], 'properties': {'currency': {'type': 'string', 'default': 'USD', 'maxLength': 12}, 'pay_units': {'type': 'integer', 'maximum': 1000000, 'minimum': 0}, 'take_units': {'type': 'integer', 'maximum': 1000000, 'exclusiveMinimum': 0}, 'regular_unit_price': {'type': 'number', 'minimum': 0}}}
calculate_delivered_unit_cost
Calculate delivered unit cost
Calculate delivered cost per unit including shipping, tax and explicit discount.
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['item_price', 'quantity'], 'properties': {'tax': {'type': 'number', 'default': 0, 'minimum': 0}, 'currency': {'type': 'string', 'default': 'USD', 'maxLength': 12}, 'discount': {'type': 'number', 'default': 0, 'minimum': 0}, 'quantity': {'type': 'integer', 'maximum': 1000000, 'exclusiveMinimum': 0}, 'shipping': {'type': 'number', 'default': 0, 'minimum': 0}, 'item_price': {'type': 'number', 'minimum': 0}}}
calculate_dilution_value
Calculate dilution value
Calculate prepared yield and effective cost after diluting a concentrate with added parts of water or another zero-cost diluent.
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['concentrate_volume_l', 'concentrate_price', 'added_parts_per_concentrate_part'], 'properties': {'currency': {'type': 'string', 'default': 'USD', 'maxLength': 12}, 'concentrate_price': {'type': 'number', 'minimum': 0}, 'concentrate_volume_l': {'type': 'number', 'exclusiveMinimum': 0}, 'added_parts_per_concentrate_part': {'type': 'number', 'maximum': 1000, 'minimum': 0}}}
calculate_real_discount
Calculate real discount
Calculate absolute savings and effective discount percentage from original and final prices.
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['original_price', 'final_price'], 'properties': {'currency': {'type': 'string', 'default': 'USD', 'maxLength': 12}, 'final_price': {'type': 'number', 'minimum': 0}, 'original_price': {'type': 'number', 'exclusiveMinimum': 0}}}
compare_pack_values
Compare pack values
Compare 2 to 25 shopping or procurement offers with compatible dimensions and currency, including shipping, tax, discount, yield and dilution adjustments.
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['offers'], 'properties': {'offers': {'type': 'array', 'items': {'type': 'object', 'required': ['text', 'price'], 'properties': {'tax': {'type': 'number', 'default': 0, 'minimum': 0}, 'text': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'label': {'type': 'string', 'maxLength': 160}, 'price': {'type': 'number', 'minimum': 0}, 'currency': {'type': 'string', 'default': 'USD', 'maxLength': 12}, 'dilution': {'type': 'number', 'default': 1, 'exclusiveMinimum': 0}, 'discount': {'type': 'number', 'default': 0, 'minimum': 0}, 'shipping': {'type': 'number', 'default': 0, 'minimum': 0}, 'yield_pct': {'type': 'number', 'default': 100, 'maximum': 100, 'exclusiveMinimum': 0}}}, 'maxItems': 25, 'minItems': 2}}}
normalize_pack_value
Normalize pack value
Normalize a product pack such as 6x330 ml or 3x200 g into comparable quantity and effective unit price. Deterministic; no LLM is used for the calculation.
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['text', 'price'], 'properties': {'tax': {'type': 'number', 'default': 0, 'minimum': 0}, 'text': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'label': {'type': 'string', 'maxLength': 160}, 'price': {'type': 'number', 'minimum': 0}, 'currency': {'type': 'string', 'default': 'USD', 'maxLength': 12}, 'dilution': {'type': 'number', 'default': 1, 'exclusiveMinimum': 0}, 'discount': {'type': 'number', 'default': 0, 'minimum': 0}, 'shipping': {'type': 'number', 'default': 0, 'minimum': 0}, 'yield_pct': {'type': 'number', 'default': 100, 'maximum': 100, 'exclusiveMinimum': 0}}}
已添加
calculate_buy_x_pay_y
2026年9月17日 12:52
已添加
calculate_dilution_value
2026年9月17日 12:52
已添加
calculate_delivered_unit_cost
2026年9月17日 12:52
已添加
calculate_real_discount
2026年9月17日 12:52
已添加
compare_pack_values
2026年9月17日 12:52
已添加
normalize_pack_value
2026年9月17日 12:52