Skip to main content
Glama

logistics_freight_class

Read-only

LTL freight class from density — LTL freight class from shipment density on the NMFC 13-sub density scale (effective July 19, 2025). Give dims (L x W x H per piece in inches, e.g. 48x40x48; or length, width, height) and weight (total lb); optional pieces, unit=cm for cm and kg. Returns cubic feet, density (lb per cubic foot), freight class and sub, how much weight to add or how far to cut height to reach the next lower (cheaper) class, and the full density-to-class table. Offline, instant. Price: $0.003 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": {
      "dims": "<dims>",
      "weight": "<weight>"
    },
    "name": "logistics_freight_class"
  }
}

Input Schema

NameRequiredDescriptionDefault
dimsYese.g. 48x40x48
weightYese.g. 500

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=true, destructiveHint=false), the description discloses the returned quantities — cubic feet, density, class and sub, weight-to-add/height-to-cut for the next cheaper class, and the full density-to-class table — plus a concrete cost and payment rail ($0.003 USDC on Base via x402), which is effectively an auth/billing requirement an agent must know about. The only unexplained tension is the 'OpenWorld' annotation flagged true while the description calls the tool offline, and the x402 payment flow (wallet setup) is not spelled out.

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

Conciseness5/5

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

Despite being a single dense paragraph, the order is well front-loaded: what it computes, what to supply, what comes back, then cost/availability. Every clause carries information (units, scale effective date, return contents, price) with no filler or restatement of the title.

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?

For a two-parameter deterministic calculator with no output schema, the description covers inputs, units, return values, and billing, which is nearly everything an agent needs. It omits error/validation behavior for malformed dims strings and does not reconcile the described optional parameters with the narrower schema.

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

Parameters4/5

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

Schema coverage is 100%, but the schema descriptions are bare examples ('e.g. 48x40x48', 'e.g. 500'); the description supplies the units (inches per piece, total pounds), the accepted dims syntax, and the optional pieces/unit=cm-kg behavior, which is real added meaning. However, 'pieces' and 'unit' are described here yet absent from the input schema, so an agent may try to pass parameters the schema does not declare.

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

Purpose4/5

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

The description opens with a specific verb+resource pair, 'LTL freight class from density', and names the NMFC 13-sub density scale, so an agent knows exactly what computation is performed and can distinguish it from neighboring tools like logistics_dim_weight. It stops short of naming any sibling explicitly as the alternative, which keeps it from a 5.

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

Usage Guidelines4/5

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

It tells the agent what to supply ('Give dims ... and weight (total lb)'), notes optional pieces and the unit=cm/cm-kg switch, and confirms the tool is offline and instant, which is the relevant usage context. There is no explicit when-not-to-use clause or pointer to a different tool for, say, air freight or dim-weight pricing.

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