Skip to main content
Glama

logistics_dim_weight

Read-only

Dimensional weight and billable weight calculator — Billable shipping weight for a box across UPS, FedEx, DHL Express, Amazon FBA and USPS: rounds each side, applies the carrier divisor (139, USPS 166 over 1 cubic foot), compares with actual weight and says which one is billed. Adds length+girth, Additional Handling / Large Package / oversize flags, freight density and an estimated NMFC density class, and how much 1-2 inches less box height would save. Params: length=, width=, height= (inches, or unit=cm), weight= (lb, or weight_unit=kg), optional qty=. Price: $0.002 USDC (Base, via x402).

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": {
      "length": "<length>",
      "width": "<width>",
      "height": "<height>",
      "weight": "<weight>"
    },
    "name": "logistics_dim_weight"
  }
}

Input Schema

NameRequiredDescriptionDefault
widthYese.g. 18
heightYese.g. 12
lengthYese.g. 24
weightYese.g. 15

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only cover safety (readOnly=true, destructive=false, openWorld=true); the description adds real behavioral detail — rounding each side, carrier divisor 139 vs USPS 166 over 1 cubic foot, billed-weight comparison, additional handling/oversize flags, density class, and height-reduction savings. It also discloses pricing ($0.002 USDC via x402), which is genuinely useful before calling. Minor deduction for a rambling single-sentence structure that mutes some of this.

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 every clause carries content — divisor numbers, output list, price. It loses a point for being one long run-on sentence where the parameter and pricing details run together with the capability list.

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

Completeness4/5

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

No output schema exists, and the description does a good job enumerating what comes back (billable weight, girth, handling flags, density class, savings estimate). The gap is the phantom unit/qty parameters that the agent may try to pass but the schema rejects.

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

Parameters3/5

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

Schema coverage is 100%, so the four required string params are already documented, and the description usefully adds units (inches, lb) plus conversion options. However it advertises parameters that do not exist in the schema (unit=cm, weight_unit=kg, optional qty=), risking invalid calls, which offsets the added meaning.

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?

States a specific verb and resource ("Dimensional weight and billable weight calculator") and enumerates the carriers covered (UPS, FedEx, DHL Express, Amazon FBA, USPS), which no sibling offers. An agent can tell instantly this is not a routing or address tool.

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

Usage Guidelines3/5

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

Usage is implied by the domain (compute billable shipping weight for a box) and the carrier list scopes it, but there is no explicit when-to-use/when-not guidance or statement of alternatives among the logistics siblings. The cost line hints at invocation economics but is not a usage rule.

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