Skip to main content
Glama
apparelhub-mcp

apparelhub-mcp

Official

Cancel order

cancel_order
Destructive

Cancels an order locally and, when supported, at the fulfillment provider (Printful/Printify). It does not refund the customer; use only when explicitly requested.

Instructions

Cancel an order. Cancels it locally and, where possible, cancels the draft/order at the fulfillment provider (Printful/Printify). This does NOT refund the customer on the sales channel — the channel is the source of payment. Destructive: only cancel when the user explicitly asks. Toolbox POD: an order the merchant has already paid for is final and usually cannot be cancelled once paid; if the cancel is refused, tell the user to contact Toolbox POD support about that order. An order held because its provider cannot deliver to the address was never sent or charged, so cancelling it is always possible; remind the user to refund the customer on their storefront.

[#43d12b]

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": "cancel_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.3/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, but the description adds material facts an agent cannot get from them: the refund is NOT performed here because the sales channel is the payment source, cancellation at the provider is best-effort, and paid orders are typically final and non-cancellable. It also supplies remediation paths for the refusal and hold cases, which is exactly the context a destructive tool needs beyond its hints.

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?

The lead sentence front-loads the action and the local-vs-provider split, and each following sentence carries a distinct operational rule rather than filler. It is dense but earns its length; the one blemish is the trailing artifact "[#43d12b]" and the stray line break, which are noise in an otherwise tight block.

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 destructive tool with no output schema, the definition covers the important ground: side effects, provider limits, refund responsibility, and failure handling. It does not say what happens when the order is already cancelled or in a non-cancellable state, which is a minor gap given the simplicity of the inputs.

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 order_uuid (sourced from list_my_orders / get_order_details) and the optional workspace scoping are already documented in the schema. The description adds no format, validation, or scoping nuance beyond that, so the baseline 3 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?

The description opens with a specific verb+resource ("Cancel an order") and immediately scopes what that means: a local cancellation plus, where possible, cancellation at the fulfillment provider (Printful/Printify). That scope statement distinguishes it from siblings like hold_order or approve_order without needing to read either schema.

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 gives an explicit precondition ("only cancel when the user explicitly asks") and concrete branch guidance: if the cancel is refused, direct the user to Toolbox POD support; for a held order that was never sent or charged, cancellation is always possible and the merchant should refund on their storefront. It stops short of naming sibling tools as alternatives (e.g. hold_order), so it is clear context rather than a full routing rule.

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