PackValue Tools
Six deterministic value tools for shopping and procurement agents.
使うべきか
品質と安全性
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `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"
}コミュニティ
エビデンス