Skip to main content
Glama

Lane Cost freight rates

Estimate a truckload lane

estimate_lane_rate
Read-onlyIdempotent

Estimate what it costs to ship one full truckload between two US places: total price, typical low and high, rate per mile, fuel share, road miles and transit days. Returns every truck type unless one is given. Figures are modeled estimates of the all-in price (linehaul plus fuel) for one full truckload of standard freight, in US dollars. They are not quotes. Each result has a url to cite and a quoteUrl for a firm quote.

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": {
      "origin": "<origin>",
      "destination": "<destination>"
    },
    "name": "estimate_lane_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
monthNoPrice the lane as of an earlier month, YYYY-MM, from 2003-12. Default: the latest month.
originYesThe pickup place: a city and state such as "Chicago, IL", or a 5-digit ZIP. Lower 48 states only. A city alone picks the largest of that name; the result says which place was used.
equipmentNoTruck type. Leave out for all types.
destinationYesThe delivery place: a city and state such as "Chicago, IL", or a 5-digit ZIP. Lower 48 states only. A city alone picks the largest of that name; the result says which place was used.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior, and the description adds substantive context beyond that: the numbers are modeled all-in (linehaul plus fuel) estimates in USD and explicitly 'not quotes', restricted to the lower 48, and city-only inputs resolve to the largest place of that name with the resolution reported back. Those are precisely the assumptions an agent needs to avoid presenting the output as a binding rate.

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?

Four tight sentences, front-loaded with the purpose and its outputs, then moving to scope caveats and the quote route. Dense but every clause carries information; the only soft spot is that the 'not quotes' caveat and the `quoteUrl` mention split the same point across two sentences.

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 no output schema, the description enumerates the returned fields and the two URL fields, and it states the units, currency, and modeling caveat. Combined with a fully documented parameter schema and complete annotations, nothing an agent needs to call this correctly or report its results honestly is missing.

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%, so the baseline is 3; the description still adds meaning by stating the equipment default ('Returns every truck type unless one is given') and framing origin/destination as the two US places the estimate runs between. The `month` parameter's backdating behavior is left entirely to the schema.

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?

Specific verb plus resource: 'Estimate what it costs to ship one full truckload between two US places', with the exact outputs enumerated (total price, low/high, rate per mile, fuel share, miles, transit days). It also implicitly separates itself from history/fuel siblings by stating the figures are 'modeled estimates... not quotes' and that each result carries a `quoteUrl` for a firm quote.

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?

Clear usage context: one full truckload, standard freight, US lower 48, from 2003-12 onward, and routing to `quoteUrl` for a firm quote vs. the modeled estimate returned here. It stops short of explicitly naming when to prefer `get_lane_rate_history` or `estimate_lane_fuel_cost` instead, so it is clear-but-not-exhaustive rather than a full when/when-not/alternatives statement.

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