Skip to main content
Glama

orders_update

Destructive

Fulfil, ship, deliver, return, archive or complete store orders; capture, refund and cancel need approval.

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": {
      "workspace": "<workspace>",
      "order": "<order>",
      "action": "<action>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "orders_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNo
itemsNo
orderYes
actionYes
labelsNo
notifyNo
reasonNo
paymentNo
receiveNo
locationNo
return_idNo
workspaceYes
fulfillmentNo
amount_minorNo
idempotency_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

The annotations already disclose destructiveHint=true and openWorldHint=true, so the description is not solely responsible for warning about side effects. It adds meaningful context by stating that capture, refund, and cancel require approval, but it omits other important behavior such as idempotency requirements, notification effects, and the consequences of actions like archive/complete.

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 description is a single front-loaded sentence with no wasted text, and it puts the main operation classes and approval caveat early. It is concise to the point of under-specification for such a complex tool, but structurally it is efficient.

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 destructive, open-world mutation tool with 15 parameters, four required fields, nested item/label structures, and no output schema, the description is far too thin. It covers action categories and approval needs but leaves out critical invocation context such as required identifiers, idempotency, and how optional parameters modify behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are 15 parameters and 0% schema description coverage, so the description must carry the parameter burden, but it explains almost none of them. It lists action-like operations but does not clarify required fields such as workspace, order, idempotency_key, or optional fields such as items, labels, notify, payment, and amount_minor.

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 clearly identifies the resource and the kinds of order transitions the tool performs: fulfil, ship, deliver, return, archive, complete, capture, refund, and cancel. It is distinguishable from orders_get and orders_list, though it does not explicitly name those read-only siblings.

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?

It implies the tool should be used for order lifecycle actions and notes that payment capture, refund, and cancellation require approval, which is useful conditional guidance. However, it does not explain when to use orders_update versus orders_get/orders_list or describe prerequisites beyond the approval caveat.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources