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.

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>",
      "delivery": "<delivery>"
    },
    "name": "book"
  }
}

Input 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
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and openWorldHint=false, so the agent knows this is a real mutating booking. The description adds material context beyond that: authentication is required and the account's saved default shipper governs whether pickup is mandatory. It still does not say that booking commits money, is hard to reverse, or what confirmation 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?

Four tightly packed sentences with the purpose front-loaded followed by prerequisites, the pickup exception and the data-collection directive. Some delivery-field enumeration duplicates the schema, but nothing is filler.

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 eight-parameter, nested-object, destructive booking tool with no output schema, the description covers the critical prerequisites, auth, and the must-ask-user rule. Gaps remain around what the call produces (confirmation/booking id) and the financial commitment being made.

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%, so the baseline is 3. The description restates requirements already present in the schema (full delivery address with contact name, phone, email) and adds only marginal extra meaning, such as the pickup default-shipper condition; the critical 'use the id from your MOST RECENT quote' warning lives in the schema, not here.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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 ('Book a quoted shipment') and pins the input origin ('using any quote_id or option id returned from a quote tool (Warp or market carrier)'). That is far more precise than the title alone, though it never distinguishes itself from booking siblings such as batch_book or international_book.

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?

Clear preconditions are given: quote_id and a complete delivery contact are required 'every time', pickup is optional 'only when a default shipper is saved', and the agent is told to 'Collect any missing delivery details from the user BEFORE calling'. It stops short of explicit when-not-to-use or alternative-routing guidance.

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.