Skip to main content
Glama

Fulfillbot: China Sourcing & Dropshipping

Check a new order without saving it

preview_order
Read-onlyIdempotent

Check a new order without saving it. Returns what creating this order would do: problems, the shipping options and their prices, the wallet hold and stock shortages. Takes the same fields as the order itself; the body is optional (an empty body is checked as an empty order). Nothing is saved or charged, and it works while the account is on hold. It checks new orders only. The result includes a previewToken for exactly this order, which creating the order requires. Needs the orders:read permission.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "preview_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNo
linesNoThe items in the order
address1No
address2No
provinceNo
buyerNoteNo
channelIdNoA shipping option from an order preview (shippingOptions[].channelId). Leave empty to use your shipping preference for the country.
postalCodeNo
countryCodeNoTwo-letter country code, for example US
storeOrderNoNoYour store's order number, unique among your orders. Leave empty to use our order number.
recipientNameNo
recipientEmailNo
recipientPhoneNo
recipientCompanyNo

Output Schema

NameRequiredDescriptionDefault
dataYes
previewTokenYesRequired to create exactly this order

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / channelId / description
      Previous value: -"A shipping option from the preview_order tool (shippingOptions[].channelId). Leave empty to use your shipping preference for the country."New value: +"A shipping option from an order preview (shippingOptions[].channelId). Leave empty to use your shipping preference for the country."
    • changedInput schema / properties / lines / items / properties / productId / description
      Previous value: -"Our product id from the list_products tool. Leave empty to match by customerSku."New value: +"Our product id from your product list. Leave empty to match by customerSku."
    • changedOutput schema / properties / previewToken / description
      Previous value: -"Pass this to create_order to create exactly this order"New value: +"Required to create exactly this order"
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds material context beyond them: nothing is saved or charged, the call succeeds during an account hold, the response contains a previewToken tied to exactly this order, and orders:read is required. These are exactly the operational facts an agent needs before invoking a preview endpoint.

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 compact sentences, front-loaded with the core purpose and the no-save guarantee. The permission and token notes are placed at the end where they belong. No filler or repeated claims.

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?

Given an output schema exists, the description need not enumerate return fields, and it still summarizes them (problems, shipping options and prices, wallet hold, stock shortages). Permission requirements, optional-body semantics, and the previewToken dependency are all covered, leaving no blocking gap for correct invocation.

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 only 29% across 14 parameters, so the schema does not carry the burden on its own. The description compensates partially by explaining that the body mirrors the order payload and is optional, with an empty body treated as an empty order, but it adds no field-level meaning for undocumented fields such as the address and recipient parameters.

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 pairs a specific verb (check/preview) with a specific resource (a new order) and immediately bounds the scope with 'without saving it' and 'It checks new orders only.' An agent can distinguish this from create_order or get_order from the description alone.

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?

It states the workflow context clearly: the returned previewToken is required to create the order, and it works while the account is on hold. The exclusion ('new orders only') is explicit. It stops short of naming create_order as the paired alternative, but the sequencing 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.