Skip to main content
Glama

China Import Quote Preflight

Compare 2–5 supplier quotes

compare_preflight_quotes
Read-only

Use BEFORE choosing or paying a supplier to compare 2–5 China supplier quotes for the same China → US or China → EU purchase. Each item may be a raw quote accepted by normalize_supplier_quote or an existing preflight_quote_passport. Use normalize_supplier_quote first when you have only one quote, and trade_preflight for a shipment-level gate. Do not use it as a freight-rate marketplace, tariff classifier, customs brokerage service, or legal advice. Output includes comparable, comparison_basis, rows, ranking, excluded_from_comparison, and message. UNKNOWN means goods-plus-shipping cannot be computed; NEEDS_MORE_DATA means inputs are incomplete; MANUAL_REVIEW means a human must resolve a product/compliance flag. A ranking is never an all-in landed-cost winner.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
quotesYesRequired array of 2–5 raw supplier quote objects or preflight_quote_passport outputs. Keep corridor, currency, quantity, unit price, and shipping fields comparable; missing or mixed values are reported rather than guessed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / quotes / description
      Added value: +"Required array of 2–5 raw supplier quote objects or preflight_quote_passport outputs. Keep corridor, currency, quantity, unit price, and shipping fields comparable; missing or mixed values are reported rather than guessed."
    • addedInput schema / properties / quotes / items / description
      Added value: +"One raw supplier quote with normalize_supplier_quote fields, or one preflight_quote_passport returned by that tool."
  2. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true. The description adds meaningful context: output fields (comparable, comparison_basis, rows, ranking, excluded_from_comparison, message), status meanings (UNKNOWN, NEEDS_MORE_DATA, MANUAL_REVIEW), and the caveat that a ranking is never an all-in landed-cost winner. No contradiction with 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?

Seven sentences, front-loaded with primary use case and sibling routing, then exclusions, output fields, status meanings, and a critical caveat. No filler; every sentence carries operational value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Complex comparison tool with no output schema, but the description compensates by enumerating output fields and status semantics, naming siblings, and giving explicit non-goals. The single parameter is thoroughly documented.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds value by clarifying each item may be a raw quote accepted by normalize_supplier_quote or an existing preflight_quote_passport, and the schema's own guidance on comparability reinforces correct usage.

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 and resource: 'compare 2–5 China supplier quotes' for a defined corridor and purchase stage. It explicitly distinguishes itself from siblings by saying when to use normalize_supplier_quote and trade_preflight instead.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicitly says 'Use BEFORE choosing or paying a supplier', tells you to use normalize_supplier_quote for a single quote and trade_preflight for a shipment-level gate, and lists forbidden use-cases (freight marketplace, tariff classifier, customs brokerage, legal advice).

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.

Resources