Skip to main content
Glama
apparelhub-mcp

apparelhub-mcp

Official

Record a manual payment

record_order_payment
Destructive

Record a manual payment for a pending order using sales_channel for storefront payments or stripe for ApparelHub card flow, marking the order paid without charging a card.

Instructions

Record a manual payment on an order that is awaiting payment (payment_status="pending"). Use payment_method="sales_channel" for an order already paid on its storefront (Shopify/WooCommerce/Wix — the channel is the source of payment), or "stripe" for an order taken through ApparelHub's own card flow. This marks the order paid; it does not charge a card.

[#81d42b]

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

Input Schema

NameRequiredDescriptionDefault
amountNoOptional amount for the caller's intent; the recorded amount comes from the order total.
workspaceNoWorkspace uuid to scope to (agency accounts). Omit for the Default workspace.
order_uuidYesThe order uuid (from list_my_orders).
payment_methodYese.g. "sales_channel" (paid on the storefront) or "stripe" (ApparelHub card flow).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.15.2

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, openWorldHint=true, so the safety profile is known; the description usefully adds that no card is charged and that the recorded amount comes from the order total rather than the caller. It does not say whether marking paid is reversible, how payment already recorded is handled, or what happens if the order is not pending.

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 front-loaded, efficient sentences that lead with the precondition and then the method decision. The trailing artifact '[#81d42b]' is stray markup that has no meaning for an agent and should not be in a tool description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive mutation with no output schema, the definition covers the precondition, the method choice and the no-charge fact, but omits the return value and error behavior (e.g., what happens on a non-pending order) that an agent would need. Adequate but with clear gaps.

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 all four parameters are already documented, including both payment_method values and the amount caveat. The description adds a rationale for how to pick the method (channel is the source of payment vs ApparelHub's own card flow), which is largely a restatement of the schema's own descriptions; workspace and amount are untouched.

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+resource ('Record a manual payment on an order') plus a precondition ('awaiting payment, payment_status="pending"'), and the closing line 'marks the order paid; it does not charge a card' scopes it away from a card-charging flow. It does not name the very close siblings (set_order_payment_method, mark_order_no_payment), so an agent must still infer the boundary.

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 concrete when-to-use guidance keyed to order state, and a decision rule for choosing between the two payment_method values based on where the money was actually taken. It stops short of stating exclusions or naming an alternative tool for orders that are not pending.

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