URSY.DEVPART OF THE URSY NETWORKSign inBuild with URSY

Every contract sourcedEvery check datedGaps shown, never filledBuild with URSY

Capabilities

Dimensional Weight Calculator

Compare actual parcel weight with dimensional weight using your own divisor.

How this capability is exposed

Stable ID
ursy.io:dimensional-weight-calculator
Owning service
URSY.io
Runtime
@ursy/runtime · 1.0.0
Execution modes
browser, node, mcp-local, remote_transient
Remote execution
Available at the owning service
Remote endpoint
https://api.ursy.io/v1/run
Input schemaOutput schemaOpen the owning interface ↗

Capability declarations describe what the service exposes. They are not a guarantee of availability or permission to execute an operation.

Accepted contract

REGISTRY JSON
{
    "schema": "ursy.io/capability/v1",
    "id": "ursy.io:dimensional-weight-calculator",
    "slug": "dimensional-weight-calculator",
    "name": "Dimensional Weight Calculator",
    "version": "1.0.0",
    "summary": "Compare actual parcel weight with dimensional weight using your own divisor.",
    "intents": [
        "dimensional weight calculator"
    ],
    "aliases": [],
    "keywords": [],
    "category": "business-tools",
    "deterministic": true,
    "side_effects": false,
    "network_required": false,
    "execution": {
        "preferred": "local",
        "supported": [
            "browser",
            "node",
            "mcp-local",
            "remote_transient"
        ],
        "local_executable": true,
        "remote_safe": true,
        "remote_enabled": true,
        "remote_endpoint": "https://api.ursy.io/v1/run"
    },
    "privacy": {
        "input_leaves_device_by_default": false,
        "payload_logged": false
    },
    "input_schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
            "system": {
                "type": "string",
                "enum": [
                    "metric",
                    "imperial"
                ],
                "default": "metric"
            },
            "length": {
                "type": "number",
                "minimum": 1.0e-6,
                "maximum": 1000000000000000,
                "description": "cm for metric; inches for imperial."
            },
            "width": {
                "type": "number",
                "minimum": 1.0e-6,
                "maximum": 1000000000000000,
                "description": "Same length unit."
            },
            "height": {
                "type": "number",
                "minimum": 1.0e-6,
                "maximum": 1000000000000000,
                "description": "Same length unit."
            },
            "actual": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000000,
                "description": "kg for metric; lb for imperial."
            },
            "divisor": {
                "type": "number",
                "minimum": 1.0e-6,
                "maximum": 1000000000000000,
                "description": "Carrier dimensional divisor matching the selected system."
            },
            "locale": {
                "type": "string",
                "minLength": 2,
                "maxLength": 35,
                "pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$",
                "default": "en-US",
                "description": "Locale for display text; numerical result fields are locale independent."
            }
        },
        "required": [
            "length",
            "width",
            "height",
            "actual",
            "divisor"
        ],
        "additionalProperties": false
    },
    "output_schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
            "text": {
                "type": "string",
                "maxLength": 26214400
            },
            "metrics": {
                "type": "array",
                "items": {
                    "type": "object",
                    "required": [
                        "label",
                        "value"
                    ],
                    "properties": {
                        "label": {
                            "type": "string",
                            "maxLength": 100
                        },
                        "value": {
                            "type": [
                                "string",
                                "number"
                            ],
                            "maxLength": 1000
                        }
                    },
                    "additionalProperties": false
                },
                "maxItems": 10
            },
            "volume": {
                "type": "number",
                "minimum": 0,
                "maximum": 1.0e+300,
                "description": "cm\u00b3 for metric; cubic inches for imperial."
            },
            "dimensional_weight": {
                "type": "number",
                "minimum": 0,
                "maximum": 1.0e+300,
                "description": "kg for metric; lb for imperial."
            },
            "comparison_weight": {
                "type": "number",
                "minimum": 0,
                "maximum": 1.0e+300,
                "description": "kg for metric; lb for imperial."
            }
        },
        "required": [
            "text",
            "metrics",
            "volume",
            "dimensional_weight",
            "comparison_weight"
        ],
        "additionalProperties": false
    },
    "examples": [
        {
            "input": {
                "length": 40,
                "width": 30,
                "height": 25,
                "actual": 4,
                "divisor": 5000
            },
            "output": {
                "text": "Volume = length \u00d7 width \u00d7 height = 30,000\nDimensional weight = volume / entered divisor = 6\nComparison weight = max(actual, dimensional) = 6\nUnits are centimetres/kilograms only if your carrier\u2019s divisor uses those units.",
                "metrics": [
                    {
                        "label": "Volume",
                        "value": "30,000"
                    },
                    {
                        "label": "Dimensional",
                        "value": "6"
                    },
                    {
                        "label": "Comparison",
                        "value": "6"
                    }
                ],
                "volume": 30000,
                "dimensional_weight": 6,
                "comparison_weight": 6
            }
        }
    ],
    "limits": {
        "max_input_bytes": 5308416,
        "max_output_bytes": 26214400,
        "max_json_depth": 100,
        "max_csv_cells": 1000000
    },
    "canonical_url": "https://ursy.io/business-tools/dimensional-weight-calculator/",
    "descriptor_url": "https://ursy.io/wp-json/ursy-tools/v2/capabilities/dimensional-weight-calculator",
    "runtime": {
        "package": "@ursy/runtime",
        "version": "1.0.0",
        "module": "@ursy/runtime",
        "entry": "run",
        "slug": "dimensional-weight-calculator"
    },
    "health": {
        "status": "ok",
        "last_tested": "2026-09-11T17:24:33.220Z",
        "runtime_version": "1.0.0",
        "golden_fixtures": 1,
        "node_contract_tests": 2,
        "browser_verified": true,
        "tests_passed": 5,
        "tests_total": 5,
        "test_suite": "tests/runtime-canary.test.mjs",
        "browser_suite": "tests/runtime-browser.py"
    },
    "audit": {
        "classification": "A",
        "engine": "calculator",
        "mode": "dimensional-weight",
        "headless_possible": true,
        "notes": "Deterministic calculation/text core can be separated from the existing DOM workbench; schemas and regression fixtures remain required."
    },
    "assumptions": [],
    "formulae": [],
    "input_schema_id": "ursy.io:dimensional-weight-calculator:input_schema",
    "output_schema_id": "ursy.io:dimensional-weight-calculator:output_schema",
    "service_id": "ursy-io",
    "parent_id": "",
    "source_url": "https://ursy.io/wp-json/ursy-tools/v2/catalog",
    "source_type": "capability_manifest",
    "verified_at": "2026-10-14 06:01:59",
    "revision": "2bf7479fbb03f6601f537d2a622d6d0480262a4653114537d7669c423ca058b9",
    "type": "capabilities",
    "source": {
        "url": "https://ursy.io/wp-json/ursy-tools/v2/catalog",
        "type": "capability_manifest"
    },
    "last_verified_at": "2026-10-14 06:01:59",
    "stale": false
}