Skip to main content
Glama

Shipping carton mix and pre-label quote check

compare_dispatch_quotes

Read-only

Compare up to 100 already-priced shipment plans for equivalent service, one currency and a delivery deadline. Supply a baseline quote ID and decision time. Requires all-in quotes for the whole shipment. Expired quotes, closed booking windows and late projected arrivals are excluded. No carrier rates are retrieved. Use before buying shipping labels, after rating the shipment and confirming the delivery deadline. Skip this check when the plan is committed or your shipping system already optimized the same stock, costs and deadline. Price USD 0.00 per call. No authentication. Planning only. Expected sample result: https://dispatch-preflight.yhu9625.chatgpt.site/v1/example/compare/result

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": {
      "asOf": "<asOf>",
      "deadline": "<deadline>",
      "currency": "<currency>",
      "sameServiceRequirementsConfirmed": "<sameServiceRequirementsConfirmed>",
      "allInCostsConfirmed": "<allInCostsConfirmed>",
      "baselineId": "<baselineId>",
      "options": "<options>"
    },
    "name": "compare_dispatch_quotes"
  }
}

Input Schema

NameRequiredDescriptionDefault
asOfYes
optionsYes
currencyYes
deadlineYes
baselineIdYes
allInCostsConfirmedYes
sameServiceRequirementsConfirmedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare a read-only, non-destructive operation, and the description is consistent with that while adding real context: expired quotes, closed booking windows and late projected arrivals are dropped, no rates are fetched, no auth is needed, and the price is USD 0.00 per call. The 'planning only' framing and a sample result URL further set expectations about what comes back.

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?

Front-loaded with the operation and its constraints, then usage, then cost/auth facts. Dense and largely waste-free, though the tail (price, no auth, planning only, example URL) reads as a list of loose ends rather than tightly integrated guidance.

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 7-required-parameter comparison tool with no output schema and no annotation detail on returns, the definition covers exclusions, preconditions and cost/auth. The return shape is only gestured at via an external example URL rather than described inline, which leaves a small gap for an agent that cannot fetch it.

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?

With 0% schema description coverage the description must carry the burden, and it does map most inputs: baselineId ('supply a baseline quote ID'), asOf ('decision time'), currency, deadline, the 100-option cap, and the two confirmations via 'equivalent service' and 'all-in quotes for the whole shipment'. The nested option fields (transitMinutes, totalCostMinor, quoteExpiresAt, bookingCutoffAt) are only implied through the exclusion rules, not defined.

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 (compare already-priced shipment plans) plus hard scope limits: up to 100 options, one currency, one delivery deadline, baseline-relative. The explicit 'No carrier rates are retrieved' clause separates it from rating tools, and 'already-priced' separates it from any quoting/optimization step.

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?

Gives an explicit when-to-use sequence (before buying shipping labels, after rating the shipment and confirming the deadline) and an explicit when-to-skip condition (plan is committed, or your system already optimized the same stock, costs and deadline). Preconditions like 'requires all-in quotes for the whole shipment' are stated outright.

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