Skip to main content
Glama
@cmssy/mcp-server

@cmssy/mcp-server

Official

Mark order paid

mark_order_paid
Destructive

Record a full manual payment against an order using an amount in minor currency units and a payment reference; use it for reconciliation without verifying with a payment provider.

Instructions

Record a full payment for an order (manual reconciliation - does NOT verify with a payment provider). amount is in minor units of the order's currency.

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": {
      "orderId": "<orderId>",
      "amount": "<amount>",
      "reference": "<reference>",
      "provider": "<provider>"
    },
    "name": "mark_order_paid"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesAmount in minor units of the order's currency (cents)
orderIdYes
providerYesPayment provider label, e.g. 'manual'
referenceYesPayment reference / receipt id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.73.2
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / amount / description
      Previous value: -"Amount in minor units (cents)"New value: +"Amount in minor units of the order's currency (cents)"
    • addedInput schema / required
      Added value: +[
      +  "orderId",
      +  "amount",
      +  "reference",
      +  "provider"
      +]
  2. First observedv0.73.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the mutation risk is flagged structurally. The description earns credit for disclosing that no provider verification occurs, which materially changes what the agent is asserting. It still omits consequences such as whether the order must be unpaid, whether the change is reversible, or what happens on duplicate references.

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 short sentences with the core action first and the critical caveat second; no filler. The amount-unit note is somewhat redundant with the schema, which keeps it just short of a 5.

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 four-required-parameter destructive mutation with no output schema, the definition covers the essential semantics (manual, unverified) but not preconditions or outcomes. An agent still cannot tell whether an already-paid order errors, or what a successful call returns.

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 75%, so most parameters are already documented, and the description's note that amount is in minor units of the order's currency largely restates the schema's own 'Amount in minor units of the order's currency (cents)'. Nothing is added for orderId, reference, or provider beyond what the schema says. Baseline 3 is appropriate.

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?

The description gives a specific verb and resource ('Record a full payment for an order') and immediately narrows the semantics with 'manual reconciliation - does NOT verify with a payment provider'. That qualifier is what separates it from a provider-backed sibling such as record_order_payment, but the sibling is never named, so an agent must infer 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?

The 'manual reconciliation' framing implies the appropriate context (offline/manual payments rather than provider-verified ones), which is useful guidance. However, there is no explicit when-to-use/when-not statement and no named alternative, so the routing decision is left partly to inference.

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