Skip to main content
Glama

Book Multi-stop FTL

multistop_book
Destructive

Book a multi-stop FTL route quoted by multistop_quote. Send one shipments[] leg per pickup→delivery pair riding the truck (minimum 2 legs), each leg referencing the quoted stop sequence by stop_index with full address + arrival window. No card charge fires from this call — multi-stop pricing settles via your Warp account. Auth required.

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": {
      "quote_id": "<quote_id>",
      "shipments": "<shipments>"
    },
    "name": "multistop_book"
  }
}

Input Schema

NameRequiredDescriptionDefault
quote_idYesQuote ID from multistop_quote (PRICING_MULTI_…). Use the id from your MOST RECENT quote — ids expire and rotate.
shipmentsYesOne leg per pickup→delivery pair (the gateway requires at least 2)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed25 schema fields changed
    • removedInput schema / properties / shipments / items / properties / delivery_info / properties / address / $ref
      Removed value: -"#/properties/shipments/items/properties/pickup_info/properties/address"
    • addedInput schema / properties / shipments / items / properties / delivery_info / properties / address / additionalProperties
      Added value: +false
    • addedInput schema / properties / shipments / items / properties / delivery_info / properties / address / description
      Added value: +"Full address of this stop"
    • addedInput schema / properties / shipments / items / properties / delivery_info / properties / address / properties
      Added value: +{
      +  "city": {
      +    "description": "City name",
      +    "type": "string"
      +  },
      +  "state": {
      +    "description": "2-letter state code",
      +    "type": "string"
      +  },
      +  "street": {
      +    "description": "Street address",
      +    "type": "string"
      +  },
      +  "zipcode": {
      +    "description": "5-digit ZIP — must match the quoted stop's ZIP",
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / shipments / items / properties / delivery_info / properties / address / required
      Added value: +[
      +  "street",
      +  "city",
      +  "state",
      +  "zipcode"
      +]
    • addedInput schema / properties / shipments / items / properties / delivery_info / properties / address / type
      Added value: +"object"
    • removedInput schema / properties / shipments / items / properties / delivery_info / properties / contact_email / $ref
      Removed value: -"#/properties/shipments/items/properties/pickup_info/properties/contact_email"
    • addedInput schema / properties / shipments / items / properties / delivery_info / properties / contact_email / description
      Added value: +"Contact email"
    • addedInput schema / properties / shipments / items / properties / delivery_info / properties / contact_email / type
      Added value: +"string"
    • removedInput schema / properties / shipments / items / properties / delivery_info / properties / contact_name / $ref
      Removed value: -"#/properties/shipments/items/properties/pickup_info/properties/contact_name"
    • addedInput schema / properties / shipments / items / properties / delivery_info / properties / contact_name / description
      Added value: +"Contact full name"
    • addedInput schema / properties / shipments / items / properties / delivery_info / properties / contact_name / type
      Added value: +"string"
    • removedInput schema / properties / shipments / items / properties / delivery_info / properties / contact_phone / $ref
      Removed value: -"#/properties/shipments/items/properties/pickup_info/properties/contact_phone"
    • addedInput schema / properties / shipments / items / properties / delivery_info / properties / contact_phone / description
      Added value: +"Contact phone"
    • addedInput schema / properties / shipments / items / properties / delivery_info / properties / contact_phone / type
      Added value: +"string"
    • removedInput schema / properties / shipments / items / properties / delivery_info / properties / stop_index / $ref
      Removed value: -"#/properties/shipments/items/properties/pickup_info/properties/stop_index"
    • addedInput schema / properties / shipments / items / properties / delivery_info / properties / stop_index / description
      Added value: +"Index into the quoted stop sequence: 0 = first pickup, then intermediate stops in order, last = final delivery. multistop_quote echoes the sequence as stop_sequence."
    • addedInput schema / properties / shipments / items / properties / delivery_info / properties / stop_index / minimum
      Added value: +0
    • addedInput schema / properties / shipments / items / properties / delivery_info / properties / stop_index / type
      Added value: +"integer"
    • removedInput schema / properties / shipments / items / properties / delivery_info / properties / window_time / $ref
      Removed value: -"#/properties/shipments/items/properties/pickup_info/properties/window_time"
    • addedInput schema / properties / shipments / items / properties / delivery_info / properties / window_time / additionalProperties
      Added value: +false
    • addedInput schema / properties / shipments / items / properties / delivery_info / properties / window_time / description
      Added value: +"Arrival window for this stop"
    • addedInput schema / properties / shipments / items / properties / delivery_info / properties / window_time / properties
      Added value: +{
      +  "from": {
      +    "description": "Window open, ISO date-time, e.g. 2026-06-22T08:00:00.000Z",
      +    "type": "string"
      +  },
      +  "to": {
      +    "description": "Window close, ISO date-time, e.g. 2026-06-22T23:59:59.000Z",
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / shipments / items / properties / delivery_info / properties / window_time / required
      Added value: +[
      +  "from",
      +  "to"
      +]
    • addedInput schema / properties / shipments / items / properties / delivery_info / properties / window_time / type
      Added value: +"object"
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and readOnlyHint=false, so the write nature is already covered. The description adds real value beyond them: no card charge fires at call time, settlement goes through the Warp account, and auth is required. It stops short of describing what happens on partial failure or whether a booking is reversible.

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 action and its quoting prerequisite, then the structural rule, then billing and auth. Four dense sentences with little waste, though "Auth required." and "minimum 2 legs" duplicate schema constraints.

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?

Covers the essentials an agent needs: quote provenance, leg construction, stop-index semantics, billing behavior, and auth. Missing only outcome/failure behavior and whether the call returns confirmation details, which matters somewhat since no output schema exists.

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 description coverage is 100%, so quote_id, stop_index, address, and window_time are already fully documented in the schema. The description restates the stop_index/address/window mapping and the 2-leg minimum, adding reinforcement but no new syntax or format detail. Baseline 3 applies.

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+resource ("Book a multi-stop FTL route") with an explicit dependency on the originating sibling (multistop_quote). This clearly separates it from book, batch_book, and ftl_quote for an agent scanning the catalog.

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?

States the precondition (must be quoted by multistop_quote), the leg construction rule (one shipments[] entry per pickup→delivery pair, minimum 2 legs), and the stop_index linkage. It does not explicitly exclude sibling booking tools like batch_book or book, so routing is clear but not fully disambiguated.

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.