Skip to main content
Glama

ordercloud.payments.patch

Updates an OrderCloud payment partially by order ID, direction, and payment ID, letting you change fields like amount, status, or type without replacing the full payment.

Instructions

Update an OrderCloud payment (partial update)

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>",
      "direction": "<direction>",
      "paymentId": "<paymentId>",
      "payment": "<payment>"
    },
    "name": "ordercloud.payments.patch"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderIdYesThe order ID
paymentYesPartial payment object with fields to update
directionYesOrder direction
paymentIdYesThe payment ID to update

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and delivers almost none of it. It never states whether unspecified fields are preserved, whether Status changes have side effects (e.g., Capture/Void), whether permissions or scopes are required, or whether the operation is reversible.

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?

A single front-loaded phrase with zero wasted words. It is efficient rather than bloated; the terseness costs information but not conciseness.

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

Completeness2/5

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

For a four-parameter, all-required mutation tool with a nested object, no annotations, and no output schema, the description is far too thin. An agent cannot tell from it what changes, what is preserved, or what a successful response contains, leaving only the schema as a guide.

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 four parameters and the nested payment fields are already documented in the schema, establishing a baseline of 3. The description adds no format, constraint, or interaction detail beyond the schema, and arguably "partial update" sits in slight tension with a required, additionalProperties:false payment object.

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 names a specific verb and resource ("Update an OrderCloud payment") and the parenthetical "(partial update)" signals patch semantics, which separates it from the create/get/listForOrder siblings. It stops short of naming any sibling or stating what partial update means in practice, so it lands at clear-but-undifferentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no preconditions (e.g., allowed payment Status transitions), and no mention of alternatives such as ordercloud.payments.create or the order-level patch. An agent must infer everything about selection from the name alone.

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