Skip to main content
Glama

Lane Cost freight rates

National truckload rates

get_national_rates
Read-onlyIdempotent

This month's US national average truckload rate per mile for every truck type, on a 750-mile haul, with 1, 3 and 12-month changes and the 52-week high and low.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_national_rates"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so safety is covered. The description adds genuinely new behavioral context: this is a monthly snapshot, the haul basis is fixed at 750 miles, and the payload includes 1-, 3- and 12-month deltas plus 52-week high/low — enough to tell an agent what the numbers mean before calling.

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?

A single sentence with zero filler, front-loading the scope (this month's, US national) before the qualifying details. Every clause — truck type, haul length, change windows, 52-week range — carries information the agent needs.

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?

With no parameters and no output schema, the description carries the full burden and does well: it enumerates the metrics returned. Minor gaps remain — it does not say which truck types exist (a sibling apparently lists equipment) or whether the change figures are percentages or dollar amounts.

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?

The tool takes no parameters, so there is nothing for the description to disambiguate and the baseline of 4 applies. The description correctly spends its words on defining the fixed measurement basis (750-mile haul, national average) instead of inventing parameter guidance.

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 description names a specific resource (US national average truckload rate per mile) and pins down the exact scope: every truck type, a 750-mile haul, current month. The word 'national' plus 'this month's' implicitly separates it from siblings like get_state_rates and get_rate_history, so an agent can select it without opening the schema.

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 only implied: 'this month's' signals a current-snapshot tool rather than a historical or lane-specific one, which nudges an agent away from get_lane_rate_history or estimate_lane_rate. However, no alternative is named and there is no explicit when-to-use or when-not-to-use 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