Skip to main content
Glama

Batch Quote Lanes

batch_quote
Read-only

Price up to 50 lanes in one call for a specified mode per row (defaults to LTL). This returns a Warp rate per row, NOT all-mode or all-carrier comparison. For Compare All use compare_modes per shipment; for LTL carrier alternatives use ltl_market_options. Never imply this tool compared every carrier. Returns a single batch-quote card with one row per lane (origin → dest · mode · pallets · price · transit). Each priced lane keeps its quote_id and can be booked individually with book ("book row 3").

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": {
      "lanes": "<lanes>"
    },
    "name": "batch_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
lanesYesArray of lane requests (1-50). Each row maps to one quote.

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 declare a safe read-only, non-destructive, closed-world operation, and the description adds substantive behavior beyond them: the result is a single batch-quote card with one row per lane (origin · dest · mode · pallets · price · transit), each row retains a quote_id, and rows can be booked individually via book. That output shape and follow-on workflow are not derivable from annotations.

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?

It is front-loaded with the core purpose, then the anti-confusion clauses, then the return shape, so scanning order matches decision order. The single caveat is repeated twice in different words ('NOT all-mode or all-carrier comparison' and 'Never imply this tool compared every carrier'), which is defensible emphasis but slightly redundant.

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?

There is no output schema, so describing the returned card layout, the per-row quote_id, and the booking handoff supplies exactly the missing half of the contract. Combined with a fully documented single parameter, an agent has everything needed to call and use the result.

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% and the nested lane object documents its own fields, so the schema does the heavy lifting. The description's additions ('mode per row, defaults to LTL', 'up to 50 lanes', 'one quote per row') largely restate what the schema already specifies via enum default text and maxItems.

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 opens with a specific verb and resource ('Price up to 50 lanes in one call'), states the per-row mode scope and default, and explicitly distinguishes itself from two named siblings (compare_modes, ltl_market_options). An agent can tell exactly what this tool does and does not do 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 Guidelines5/5

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

It gives explicit routing: use compare_modes for all-mode comparison per shipment, ltl_market_options for LTL carrier alternatives, and this tool for batch pricing. The exclusion ('Never imply this tool compared every carrier') closes the most likely misuse path, leaving nothing to inference.

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.