Skip to main content
Glama
apparelhub-mcp

apparelhub-mcp

Official

Import and refresh orders

sync_orders
DestructiveIdempotent

Imports recent Shopify orders that webhooks missed and refreshes fulfillment status; run for one store or all connected stores to keep order data current.

Instructions

Import orders that never reached ApparelHub and refresh order status from fulfillment providers. For each connected Shopify shop it imports recent orders a webhook should have delivered, scoped to orders placed after the shop was connected and excluding cancelled or already-fulfilled ones (an imported paid order is sent to the fulfillment provider like a live one). Pass store_uuid to sync one store; omit it for all stores. Read shopify[]: processed imported now, not_eligible_reasons why others were left alone, truncated means run again, outcome: "auth_revoked" carries a reconnect_url the merchant must open. Report errors[].

[#e208cf]

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": "sync_orders"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspaceNoWorkspace uuid to scope to (agency accounts). Omit for the Default workspace.
store_uuidNoScope the sync to one store (omit for all stores).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.15.2

TDQS

A3.6/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and destructiveHint=true, and the description earns credit for explaining the actual side effect: an imported paid order is pushed to the fulfillment provider like a live one. It also documents the auth_revoked outcome and that a reconnect_url must be opened by the merchant, plus the truncated retry loop. It stops short of stating rate limits or whether an import can be undone.

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?

The content is front-loaded and dense with useful detail, but it is a single long run-on paragraph mixing invocation rules with return-field documentation, and it ends with a stray artifact token ('[#e208cf]') that is pure noise.

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?

There is no output schema, so the description correctly takes on the job of explaining shopify[] fields (processed, not_eligible_reasons, truncated, auth_revoked) and errors[]. That covers what an agent needs to call and interpret the tool; workspace scoping is the only unexplained element.

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 100%, so both parameters are already documented. The description reinforces store_uuid scoping semantics but says nothing about the workspace parameter (agency scoping vs Default workspace), so it adds little beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States two specific verbs and resources: importing orders that never reached ApparelHub and refreshing order status from fulfillment providers, then narrows scope to Shopify shops and orders placed after connection. An agent can tell this is an order-ingestion/refresh tool, though it never names the closest sibling (sync_to_fulfillment) to sharpen the distinction.

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

Usage Guidelines3/5

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

Gives conditional usage for store_uuid ('sync one store; omit it for all stores') and states exclusions (cancelled, already-fulfilled, pre-connection orders). However it never says when an agent should prefer this over sync_to_fulfillment or import_channel_catalog, leaving the alternative selection implied.

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