Skip to main content
Glama
apparelhub-mcp

apparelhub-mcp

Official

Change recorded payment method

set_order_payment_method
DestructiveIdempotent

Correct the recorded payment method label on an existing order without moving money, so you can fix bookkeeping errors such as changing stripe to sales_channel.

Instructions

Change the recorded payment method on an order that already has a payment recorded (e.g. correct "stripe" to "sales_channel"). This is a bookkeeping label change; it does not move any money.

[#588a7f]

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>",
      "payment_method": "<payment_method>"
    },
    "name": "set_order_payment_method"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspaceNoWorkspace uuid to scope to (agency accounts). Omit for the Default workspace.
order_uuidYesThe order uuid to update.
payment_methodYesThe new payment method label (e.g. "sales_channel", "stripe").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.15.2

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false; the description adds genuinely new context by bounding the blast radius ('bookkeeping label change; it does not move any money'). It does not say the previous label is overwritten, whether the change is reversible/audited, or what error occurs when no payment is recorded, so it is helpful but not complete.

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?

Two tight, front-loaded sentences that each carry weight, but the definition ends with a stray artifact ('[#588a7f]') that is noise an agent must ignore. Otherwise the ordering is good: scope first, behavioral clarification second.

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?

With a fully documented 3-parameter schema, no output schema, and annotations covering the safety profile, the description supplies what is missing: the precondition and the non-monetary nature of the write. Remaining gaps (overwrite semantics, failure mode when no payment exists) are minor for a single-field label update.

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 description coverage is 100%, so all three parameters are already documented, and the description's inline examples merely restate the payment_method semantics. It adds no information about the workspace scoping parameter or order_uuid beyond the schema, which is the expected baseline.

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 a specific verb and resource (change the recorded payment method on an order) and adds a precondition ('already has a payment recorded') plus a concrete example ('correct "stripe" to "sales_channel"'). That precondition implicitly separates it from record_order_payment and mark_order_no_payment, though neither sibling is named.

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?

The 'already has a payment recorded' clause is a real when-to-use condition and the example shows the correction scenario. It stops short of stating the inverse case (what to use when no payment exists yet) or naming the alternative tool, so the agent must infer the routing.

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