Skip to main content
Glama

Quote a China to USA shipment

generate_offer

Get an all-in DDP offer (freight, US customs clearance, duties, and US door delivery in one USD number) for a shipment from China to the USA, 100 g to 2,000 kg. Prices come from Plain Freight's live pricing engine. Provide dimensions when known: for light bulky cargo volumetric weight governs the price. After this returns, an async agent double-checks the shipment; call check_offer_status with the quote_id to pick up its verdict, extra questions, or a needs_review flag.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoCustomer name
emailNoThe user's email. The written offer is mailed there once the check settles (one offer email per address per day), and replying to it is how they book. Optional, but without it no one can follow up.
notesNoHS code, FBA requirements, delivery constraints, certifications held
originNoPickup city or supplier in China
companyNoCustomer company
productYesWhat is being shipped, e.g. 'LED desk lamps, 500 units'
urgencyNo
weight_kgYesTotal weight in kg (0.1 to 2000)
dimensionsNoCartons and size, e.g. '4 cartons, 60x40x35 cm each'
destination_zipNoUS destination ZIP code

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The description discloses behaviors beyond the annotations: it mentions the live pricing engine, the async agent double-check, and the need to poll via check_offer_status. The readOnlyHint=false annotation is consistent with the tool creating an offer, and the description adds value by describing the async flow and the volumetric weight rule.

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 three sentences with no filler. The main purpose is front-loaded, followed by the dimension caveat and the async follow-up instruction. Each sentence earns its place, and the structure is clear and efficient.

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?

Given the 10 parameters and no output schema, the description explains the all-in DDP nature, the weight range, the pricing source, and the crucial async check flow. It mentions the email sending in the param description, which is part of the overall behavior. The flow is well-covered, though it could note the daily email limit in the main description, but it is present in the schema.

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 90%, so the baseline is 3. The description adds marginal value by emphasizing dimensions for volumetric weight and the email's role in follow-up, but these are also covered in the parameter descriptions. It does not significantly enhance understanding beyond what the schema already provides.

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: 'Get an all-in DDP offer' for a China-to-USA shipment. It clearly distinguishes this tool from siblings by focusing on offer generation, while check_offer_status and track_shipment handle later stages. The scope (100 g to 2,000 kg) is also explicitly defined.

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 provides clear guidance: it explains when to provide dimensions ('for light bulky cargo volumetric weight governs the price') and explicitly instructs the agent to 'call check_offer_status with the quote_id' after this returns, indicating the follow-up workflow. It does not explicitly say 'use this when you need a quote', but the context is unambiguous.

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.