Skip to main content
Glama
apparelhub-mcp

apparelhub-mcp

Official

Get order details

get_order_details
Read-only

Full detail for one order: line items, payment + fulfillment status, shipments/tracking, and ship_by_at (the sales channel's ship-by deadline, UTC) when the channel has one.

Instructions

Full detail for one order: line items, payment + fulfillment status, shipments/tracking, and ship_by_at (the sales channel's ship-by deadline, UTC) when the channel has one. If needs_attention is present the order will not complete on its own; tell the user its title and message. When its kind is provider_failed, reason is the provider's own words (e.g. "No payment method added") and the order reads fulfillment_status cancelled with status failed: not an ordinary cancellation. If recovery_action is resubmit_to_fulfillment, have the merchant fix the cause on their provider account, then call submit_order_to_fulfillment (or confirm_order) on this SAME order; it re-confirms the existing provider order, never a second one, so nothing is charged twice. If recovery_action is null nothing at the provider can be resubmitted and a new order is needed. An order the merchant cancelled after a provider failure has needs_attention null and cannot be resubmitted. cost and profit are this order's own figures once the provider has priced it. If checkout_split is present, the buyer's checkout was split into checkout_split.order_count orders across the merchant's stores and this order holds only its share: when asked how the sale did, report checkout_split.profit (the whole checkout), and never add it up across the orders in the split. If hold_details.code is destination_unsupported, the order is going to hold_details.country, which its provider (hold_details.provider_name, delivering only to hold_details.ships_to) cannot reach, so it was never sent for printing and the provider has not charged the merchant. Tell the user hold_details.message. If hold_details.suggested_reroute is set, offer to move the order to that product with reroute_order; if it is null, no move is allowed and the merchant should cancel the order and refund the customer on their storefront. The held lines are the items whose product_variant_id is in hold_details.product_variant_ids. Read-only.

[#f9b1fc]

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": {
      "order_uuid": "<order_uuid>"
    },
    "name": "get_order_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspaceNo
order_uuidYesThe order uuid (from list_my_orders).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.15.2

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description's 'Read-only' only restates them. Beyond that it discloses substantial behavior an agent could not infer: the needs_attention/recovery_action state machine, that resubmission re-confirms the existing provider order so nothing is double-charged, that a merchant-cancelled-after-failure order cannot be resubmitted, and the destination_unsupported hold semantics including that the provider has not charged the merchant.

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

Conciseness3/5

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

Nearly every sentence is load-bearing state-machine semantics, but they are delivered as one undifferentiated paragraph of nested conditionals with no headings or ordering beyond the field sequence. The trailing '[#f9b1fc]' token is stray noise that should not be present.

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?

There is no output schema, so the description carries the full burden of explaining return values, and it does: it defines cost/profit ownership, checkout_split aggregation rules, hold_details fields, and the failure/recovery states. For a tool whose correctness depends on interpreting rich order state, nothing an agent needs to act is missing.

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?

With only two parameters and 50% schema coverage, only order_uuid is documented ('from list_my_orders'); the workspace parameter is undocumented in both schema and description. The description's 'for one order' framing adds no syntax or scoping detail beyond the schema, so the baseline applies.

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 — full detail for one order — and then enumerates the exact contents: line items, payment and fulfillment status, shipments/tracking, and ship_by_at. This clearly separates it from the summary/status siblings (get_orders_summary, check_order_status) without needing to open their schemas.

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?

Gives explicit, conditional routing: call submit_order_to_fulfillment (or confirm_order) on this SAME order when recovery_action is resubmit_to_fulfillment, use reroute_order when suggested_reroute is set, and cancel/refund on the storefront when it is null. What is missing is a direct statement of when to choose this tool over check_order_status or get_orders_summary for retrieval — the coverage of follow-up actions, however, is stronger than typical.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools