cbm
Calculate shipment volume (CBM/CFT), weight, and how cargo fits standard shipping containers.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"cbm": {
"url": "https://mcp.containermath.com"
}
}
}远程端点
https://mcp.containermath.comstreamable-http它能做什么
工具清单
工具(1)
🟢calculate_cbm(unitSystem, items)
Calculate total shipment volume (CBM / cubic metres and CFT / cubic feet), total weight, and how that cargo fits into standard shipping containers (20ft Standard, 40ft Standard, 40ft High Cube). Use this whenever someone asks how much space a shipment takes, how many cubic metres or CBM their boxes / pallets / cartons add up to, whether cargo will fit in a container, what container size they need, or how full a container will be. Accepts a list of items with length, width, height, weight and quantity in metric (cm, kg) or imperial (in, lb) units; returns total CBM, CFT, total weight, and per-container fill percentage with an overload flag.
输入模式
{
"type": "object",
"properties": {
"unitSystem": {
"type": "string",
"enum": [
"metric",
"imperial"
],
"default": "metric",
"description": "Units for the item dimensions and weight. 'metric' = centimetres and kilograms; 'imperial' = inches and pounds."
},
"items": {
"type": "array",
"minItems": 1,
"maxItems": 50,
"description": "The cargo line items to total up.",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 100,
"description": "Optional label for the item."
},
"length": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 100000
},
"width": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 100000
},
"height": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 100000
},
"weight": {
"type": "number",
"minimum": 0,
"maximum": 1000000,
"default": 0,
"description": "Per-unit weight. Optional (defaults to 0)."
},
"quantity": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 1000000
}
},
"required": [
"length",
"width",
"height",
"quantity"
],
"additionalProperties": false
}
}
},
"required": [
"items"
],
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"totalCbm": {
"type": "number"
},
"totalCft": {
"type": "number"
},
"totalWeightKg": {
"type": "number"
},
"totalWeightLbs": {
"type": "number"
},
"containers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"volumePct": {
"type": "number"
},
"weightPct": {
"type": "number"
},
"overloaded": {
"type": "boolean"
}
},
"required": [
"name",
"volumePct",
"weightPct",
"overloaded"
],
"additionalProperties": false
}
},
"calculatorUrl": {
"type": "string"
}
},
"required": [
"totalCbm",
"totalCft",
"totalWeightKg",
"totalWeightLbs",
"containers",
"calculatorUrl"
],
"additionalProperties": false
}社区
证据