Skip to main content
Glama

Argo Hub Peso Volumétrico

Volumetric weight calculator for ecommerce parcels

calculate_volumetric_weight
Read-only

Calculate parcel volumetric weight and compare it with actual weight. Enter your contract divisor and rounding rule without assuming a shipping tariff. Carriers can apply their own dimension measurement, dimension rounding, multi-parcel and surcharge rules. Also verify size and product restrictions. This arithmetic does not verify a contract or calculate freight charges. A lower weight does not establish shipping savings without comparable service tariffs. Input fields: lengthCm: External measurement following your carrier's rule. widthCm: Include protrusions and packaging. heightCm: One parcel; calculate each box separately. actualKg: Weight of the packed box. divisor: 5000 is an example, not a universal rule. Check your contract. roundingKg: Optional. For example, 0.5 rounds up to half kilograms. Leave blank if unknown.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "lengthCm": "<lengthCm>",
      "widthCm": "<widthCm>",
      "heightCm": "<heightCm>",
      "actualKg": "<actualKg>",
      "divisor": "<divisor>"
    },
    "name": "calculate_volumetric_weight"
  }
}

Input Schema

NameRequiredDescriptionDefault
divisorYes
widthCmYes
actualKgYes
heightCmYes
lengthCmYes
roundingKgNo

Output Schema

NameRequiredDescriptionDefault
toolYes
methodYes
statusYes
metricsYes
sourcesYes
currencyNo
limitationsYes
vatIncludedNo
pendingFieldsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare this as a non-destructive, closed-world read; the description adds substantive behavioral context beyond them — that carrier-specific dimension, rounding, multi-parcel and surcharge rules are out of scope, and that the result is arithmetic only. These are meaningful expectations about output interpretation that annotations cannot convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded and the parameter section is dense and organized. There is mild redundancy among the three disclaimer sentences (no tariff assumption, no freight charge calculation, no savings claim), though each targets a distinct misreading, so the length is defensible rather than wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, return values need no explanation, and the remaining burden — scope limits, per-parcel semantics, divisor uncertainty, and optional rounding — is fully covered. An agent can invoke this correctly on first attempt without external knowledge.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning, and it does for all six: measurement basis for lengthCm, inclusion of protrusions/packaging for widthCm, per-box semantics for heightCm, packed weight for actualKg, divisor caution ('5000 is an example, not a universal rule'), and the optional nature plus an example of roundingKg.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence names a specific verb and resource ('Calculate parcel volumetric weight') and adds the comparison against actual weight as the scope. Follow-up sentences explicitly exclude adjacent intents ('does not verify a contract or calculate freight charges'), so the agent knows exactly what boundary the tool operates within.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is framed with clear conditions: supply your own contract divisor and rounding rule rather than assuming a tariff, and calculate each box separately. It also states when-not reasoning ('a lower weight does not establish shipping savings without comparable service tariffs') and points to complementary checks ('verify size and product restrictions').

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources