PackValue Tools
Six deterministic value tools for shopping and procurement agents.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"packvalue-tools": {
"url": "https://lsi-packvalue-mcp-r1.umagestaointeligente.workers.dev/mcp"
}
}
}远程端点
https://lsi-packvalue-mcp-r1.umagestaointeligente.workers.dev/mcpstreamable-http它能做什么
工具清单
工具(6)
⚪normalize_pack_value(label, text, price, currency, shipping, ...)
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",
"properties": {
"label": {
"type": "string",
"maxLength": 160
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"price": {
"type": "number",
"minimum": 0
},
"currency": {
"default": "USD",
"type": "string",
"maxLength": 12
},
"shipping": {
"default": 0,
"type": "number",
"minimum": 0
},
"tax": {
"default": 0,
"type": "number",
"minimum": 0
},
"discount": {
"default": 0,
"type": "number",
"minimum": 0
},
"yield_pct": {
"default": 100,
"type": "number",
"exclusiveMinimum": 0,
"maximum": 100
},
"dilution": {
"default": 1,
"type": "number",
"exclusiveMinimum": 0
}
},
"required": [
"text",
"price"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪compare_pack_values(offers)
Compare 2 to 25 shopping or procurement offers with compatible dimensions and currency, including shipping, tax, discount, yield and dilution adjustments.
输入模式
{
"type": "object",
"properties": {
"offers": {
"minItems": 2,
"maxItems": 25,
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"maxLength": 160
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"price": {
"type": "number",
"minimum": 0
},
"currency": {
"default": "USD",
"type": "string",
"maxLength": 12
},
"shipping": {
"default": 0,
"type": "number",
"minimum": 0
},
"tax": {
"default": 0,
"type": "number",
"minimum": 0
},
"discount": {
"default": 0,
"type": "number",
"minimum": 0
},
"yield_pct": {
"default": 100,
"type": "number",
"exclusiveMinimum": 0,
"maximum": 100
},
"dilution": {
"default": 1,
"type": "number",
"exclusiveMinimum": 0
}
},
"required": [
"text",
"price"
]
}
}
},
"required": [
"offers"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢calculate_real_discount(original_price, final_price, currency)
Calculate absolute savings and effective discount percentage from original and final prices.
输入模式
{
"type": "object",
"properties": {
"original_price": {
"type": "number",
"exclusiveMinimum": 0
},
"final_price": {
"type": "number",
"minimum": 0
},
"currency": {
"default": "USD",
"type": "string",
"maxLength": 12
}
},
"required": [
"original_price",
"final_price"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢calculate_delivered_unit_cost(item_price, quantity, shipping, tax, discount, ...)
Calculate delivered cost per unit including shipping, tax and explicit discount.
输入模式
{
"type": "object",
"properties": {
"item_price": {
"type": "number",
"minimum": 0
},
"quantity": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 1000000
},
"shipping": {
"default": 0,
"type": "number",
"minimum": 0
},
"tax": {
"default": 0,
"type": "number",
"minimum": 0
},
"discount": {
"default": 0,
"type": "number",
"minimum": 0
},
"currency": {
"default": "USD",
"type": "string",
"maxLength": 12
}
},
"required": [
"item_price",
"quantity"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢calculate_dilution_value(concentrate_volume_l, concentrate_price, added_parts_per_concentrate_part, currency)
Calculate prepared yield and effective cost after diluting a concentrate with added parts of water or another zero-cost diluent.
输入模式
{
"type": "object",
"properties": {
"concentrate_volume_l": {
"type": "number",
"exclusiveMinimum": 0
},
"concentrate_price": {
"type": "number",
"minimum": 0
},
"added_parts_per_concentrate_part": {
"type": "number",
"minimum": 0,
"maximum": 1000
},
"currency": {
"default": "USD",
"type": "string",
"maxLength": 12
}
},
"required": [
"concentrate_volume_l",
"concentrate_price",
"added_parts_per_concentrate_part"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢calculate_buy_x_pay_y(take_units, pay_units, regular_unit_price, currency)
Calculate total paid, effective unit price and discount for buy-X-pay-Y or take-X-pay-Y promotions.
输入模式
{
"type": "object",
"properties": {
"take_units": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 1000000
},
"pay_units": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"regular_unit_price": {
"type": "number",
"minimum": 0
},
"currency": {
"default": "USD",
"type": "string",
"maxLength": 12
}
},
"required": [
"take_units",
"pay_units",
"regular_unit_price"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}社区
证据