Skip to main content
Glama

Book Shipment

book
Destructive

Book a quoted shipment using any quote_id or option id returned from a quote tool (Warp or market carrier). Requires quote_id and the full delivery address with the delivery contact's name, phone and email, every time. Pickup can be omitted only when a default shipper is saved on the account. Collect any missing delivery details from the user BEFORE calling. Auth required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
notesNoSpecial instructions for the shipment
pickupNoPickup address. Required if no default shipper is saved on your account.
deliveryYesDelivery address and delivery contact. Required on every booking, with every field: street, city, state, ZIP, contact name, phone and email. Warp never fills delivery from past shipments. Ask the user for anything missing before calling book.
quote_idYesQuote ID from warp_quote_id (Warp) or id field of any market option returned by a quote tool. Use the id from your MOST RECENT quote — market-option ids rotate on every quote call and stale ids are rejected.
referenceNoYour internal reference number
accessorialsNoPickup/delivery accessorial services. Should match the accessorials used when quoting.
pickup_windowNoPickup time window, 24h HH:MM, e.g. { from: '08:00', to: '17:00' }. Defaults to a full business day if omitted.
delivery_windowNoDelivery time window, 24h HH:MM, e.g. { from: '09:00', to: '12:00' }. Defaults to a full business day if omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / delivery / description
      Previous value: -"Delivery address. Required if this lane has not been shipped before."New value: +"Delivery address and delivery contact. Required on every booking, with every field: street, city, state, ZIP, contact name, phone and email. Warp never fills delivery from past shipments. Ask the user for anything missing before calling book."
    • changedInput schema / properties / delivery / properties / email / description
      Previous value: -"Email address (optional — consignee email is often unknown)"New value: +"Delivery contact email. Required by Warp on every booking: ask the user for it if you don't have it."
    • changedInput schema / properties / delivery / required
      Previous value: -[
      -  "zipCode",
      -  "city",
      -  "state",
      -  "street",
      -  "contactName",
      -  "phone"
      -]New value: +[
      +  "zipCode",
      +  "city",
      +  "state",
      +  "street",
      +  "contactName",
      +  "phone",
      +  "email"
      +]
    • changedInput schema / required
      Previous value: -[
      -  "quote_id"
      -]New value: +[
      +  "quote_id",
      +  "delivery"
      +]
  2. Changed2 schema fields changed
    • addedInput schema / properties / delivery / properties / zipCode / pattern
      Added value: +"^\\d{5}$"
    • addedInput schema / properties / pickup / properties / zipCode / pattern
      Added value: +"^\\d{5}$"
  3. First observed

TDQS

A3.9/5.0
Behavior3/5

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

The annotation set is thin (only destructiveHint=true), so the description carries most of the burden. It usefully discloses auth requirements, the no-memory 'every time' rule for delivery data, and the conditional pickup rule. However it never says what committing a booking actually does commercially (cost incurred, reversibility, confirmation behavior), which matters for a destructive write operation.

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 what the tool does, then preconditions, then the conditional pickup rule and the pre-call instruction. Every sentence carries information, with only mild redundancy between 'requires ... every time' and the schema's own repetition.

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 an 8-parameter tool with nested objects and no output schema, the description covers the essential call-time requirements (auth, required inputs, conditional pickup, pre-call data gathering). The main remaining gap is the outcome/return behavior of a successful booking, which the description does not address.

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 the schema already documents all 8 parameters including nested objects and required fields, establishing a baseline of 3. The description reinforces that quote_id and full delivery are required and explains quote_id provenance, but adds little semantic detail beyond what the schema fields already state.

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 ('book') and resource ('quoted shipment') and explicitly ties it to output from quote tools (Warp or market carrier), which separates it from siblings like ftl_quote, ltl_quote, and batch_quote. An agent immediately understands this is the terminal booking step after quoting.

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?

Gives clear preconditions: quote_id must come from a quote tool, delivery details are mandatory 'every time', and pickup may be omitted only when a default shipper is saved. It also instructs collecting missing details before calling. It does not differentiate when to use book vs batch_book or multistop_book, so it stops short of a 5.

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.