Skip to main content
Glama
apparelhub-mcp

apparelhub-mcp

Official

Reconcile order with its channel

reconcile_order
DestructiveIdempotent

Re-sync sales-channel orders by pulling payment or cancellation from the channel and pushing fulfillment status and tracking back. Use to fix orders whose tracking wasn't relayed to the storefront.

Instructions

Reconcile a sales-channel order with the channel it came from: pull payment / cancellation FROM the channel and push fulfillment status + tracking TO it. Only sales-channel orders can be reconciled (native orders return reconcilable=false). Use to re-sync an order that drifted (e.g. tracking not relayed to the storefront).

[#ac6b88]

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

Input Schema

NameRequiredDescriptionDefault
workspaceNoWorkspace uuid to scope to (agency accounts). Omit for Default.
order_uuidYesThe order uuid (from list_my_orders / get_order_details).

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 flag destructive=true and openWorldHint=true; the description earns credit by explaining why — it pulls cancellations from the external channel, which can change order state outside the caller's control. It also discloses a failure mode (native orders return reconcilable=false). It stops short of covering auth requirements, partial-failure behavior, or rate limits on the external channel call.

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?

Two tight sentences, front-loaded with the core action and followed by the eligibility constraint and use case. The trailing artifact '[#ac6b88]' is unexplained noise that costs it a point.

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?

For a two-parameter, no-output-schema tool with full annotation coverage, this covers what the operation does, what it touches, and the main eligibility trap. Missing detail on what a reconcile actually returns or how conflicts between local and channel data are resolved.

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% and both parameters (order_uuid, workspace) are already documented with their source tools, so the description need not restate them. It adds only an indirect constraint that order_uuid must reference a sales-channel order. Baseline 3 is appropriate.

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?

Names a specific verb and resource (reconcile a sales-channel order) and then defines the operation precisely by direction: payment/cancellation are pulled FROM the channel, fulfillment status and tracking are pushed TO it. That directional detail separates it from generic siblings like sync_to_channel or unsync_from_channel.

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 an explicit precondition ('Only sales-channel orders can be reconciled') and a concrete triggering scenario ('re-sync an order that drifted, e.g. tracking not relayed to the storefront'). It does not name a sibling alternative or state when not to use it in favor of another tool, so it falls short of a 5.

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