Skip to main content
Glama

Book Parcel (FedEx)

parcel_book
Destructive

Book a FedEx parcel option from parcel_quote. Requires the quote_id the user chose and the full delivery address with contact name and phone; pickup can be omitted only when a default shipper is saved. ZIPs must match the quote. The packages are the ones quoted (not resent). Charges the account like book does (terms accounts are billed on terms; others pay from the Warp balance, with the saved card covering any shortfall). Only call after the user explicitly confirms this option and price. 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": "parcel_book"
  }
}

Input Schema

NameRequiredDescriptionDefault
pickupNoPickup address. Required if no default shipper is saved.
deliveryYesDelivery address and contact, every required field
quote_idYesquote_id of the option the user chose, from your MOST RECENT parcel_quote
referenceNoYour reference (PO, order number)
pickup_windowNoLocal pickup window, 24h HH:MM. Defaults to 08:00-20:00.
delivery_windowNoLocal delivery window, 24h HH:MM. Defaults to 08:00-20:00.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed34 schema fields changed
    • removedInput schema / properties / delivery / properties / city / $ref
      Removed value: -"#/properties/pickup/properties/city"
    • addedInput schema / properties / delivery / properties / city / description
      Added value: +"City"
    • addedInput schema / properties / delivery / properties / city / type
      Added value: +"string"
    • removedInput schema / properties / delivery / properties / company / $ref
      Removed value: -"#/properties/pickup/properties/company"
    • addedInput schema / properties / delivery / properties / company / description
      Added value: +"Company / location name"
    • addedInput schema / properties / delivery / properties / company / type
      Added value: +"string"
    • removedInput schema / properties / delivery / properties / contactName / $ref
      Removed value: -"#/properties/pickup/properties/contactName"
    • addedInput schema / properties / delivery / properties / contactName / description
      Added value: +"Contact full name"
    • addedInput schema / properties / delivery / properties / contactName / type
      Added value: +"string"
    • removedInput schema / properties / delivery / properties / email / $ref
      Removed value: -"#/properties/pickup/properties/email"
    • addedInput schema / properties / delivery / properties / email / description
      Added value: +"Contact email"
    • addedInput schema / properties / delivery / properties / email / type
      Added value: +"string"
    • removedInput schema / properties / delivery / properties / phone / $ref
      Removed value: -"#/properties/pickup/properties/phone"
    • addedInput schema / properties / delivery / properties / phone / description
      Added value: +"Contact phone. FedEx requires it on both stops: ask the user if you don't have it."
    • addedInput schema / properties / delivery / properties / phone / type
      Added value: +"string"
    • removedInput schema / properties / delivery / properties / refNum / $ref
      Removed value: -"#/properties/pickup/properties/refNum"
    • addedInput schema / properties / delivery / properties / refNum / description
      Added value: +"Reference for this stop (PO/SO)"
    • addedInput schema / properties / delivery / properties / refNum / type
      Added value: +"string"
    • removedInput schema / properties / delivery / properties / specialInstruction / $ref
      Removed value: -"#/properties/pickup/properties/specialInstruction"
    • addedInput schema / properties / delivery / properties / specialInstruction / description
      Added value: +"Instructions for this stop"
    • addedInput schema / properties / delivery / properties / specialInstruction / type
      Added value: +"string"
    • removedInput schema / properties / delivery / properties / state / $ref
      Removed value: -"#/properties/pickup/properties/state"
    • addedInput schema / properties / delivery / properties / state / description
      Added value: +"2-letter state code"
    • addedInput schema / properties / delivery / properties / state / type
      Added value: +"string"
    • removedInput schema / properties / delivery / properties / street / $ref
      Removed value: -"#/properties/pickup/properties/street"
    • addedInput schema / properties / delivery / properties / street / description
      Added value: +"Street address"
    • addedInput schema / properties / delivery / properties / street / type
      Added value: +"string"
    • removedInput schema / properties / delivery / properties / street2 / $ref
      Removed value: -"#/properties/pickup/properties/street2"
    • addedInput schema / properties / delivery / properties / street2 / description
      Added value: +"Suite / unit"
    • addedInput schema / properties / delivery / properties / street2 / type
      Added value: +"string"
    • removedInput schema / properties / delivery / properties / zipCode / $ref
      Removed value: -"#/properties/pickup/properties/zipCode"
    • addedInput schema / properties / delivery / properties / zipCode / description
      Added value: +"5-digit ZIP; must match the quoted ZIP"
    • addedInput schema / properties / delivery / properties / zipCode / pattern
      Added value: +"^\\d{5}$"
    • addedInput schema / properties / delivery / properties / zipCode / type
      Added value: +"string"
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

The description adds substantial behavior beyond the annotations: it discloses that booking charges the account, explains the terms vs Warp balance vs saved card payment flow, requires user confirmation, and notes auth required. These details are highly relevant for a destructive/non-read-only booking action and are consistent with the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the purpose, followed by prerequisites, payment behavior, and confirmation gating. Every sentence contributes useful operational or safety context without unnecessary 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 a complex financial booking tool with nested address objects and no output schema, the description covers prerequisites, address requirements, pickup omission rules, ZIP matching, payment behavior, confirmation gating, and auth. It is nearly complete, though it does not describe what a successful booking returns or any next-step artifacts such as labels or tracking numbers.

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 quote_id, nested address fields, pickup/default-shipper behavior, and ZIP matching. The description reinforces key constraints but adds little parameter-level format or syntax beyond what the schema already provides, so the baseline 3 is appropriate.

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 states a specific verb and resource: book a FedEx parcel option from parcel_quote. It clearly positions parcel_quote as the upstream quoting tool and distinguishes this booking step from quoting. An agent can identify the action 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 Guidelines4/5

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

The description gives clear usage conditions: use the quote_id the user chose, require full delivery address/contact details, and only call after explicit user confirmation of the option and price. It does not explicitly differentiate this from sibling booking tools such as book or batch_book, so it stops short of full alternative 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.