Skip to main content
Glama

woo_update_order_status

Update a WooCommerce order status and optionally add a note, triggering the standard status-change emails to keep customers informed.

Instructions

Update order status (triggers the usual WooCommerce status emails)

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": {
      "site": "<site>",
      "id": "<id>",
      "status": "<status>"
    },
    "name": "woo_update_order_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesOrder ID
noteNoNote added to the status change
siteYesSite id (see list_sites)
statusYesNew status: pending, processing, on-hold, completed, cancelled, refunded, failed (or a custom status)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv3.14.0
    • changedInput schema / properties / id / type
      Previous value: -"number"New value: +"integer"
    • removedInput schema / properties / note / default
      Removed value: -""
    • changedInput schema / properties / note / description
      Previous value: -"Optional status change note"New value: +"Note added to the status change"
    • changedInput schema / properties / status / description
      Previous value: -"New status (pending, processing, on-hold, completed, cancelled, refunded, failed)"New value: +"New status: pending, processing, on-hold, completed, cancelled, refunded, failed (or a custom status)"
  2. Changed2 schema fields changedv3.4.0
    • addedInput schema / properties / site
      Added value: +{
      +  "description": "Site id (see list_sites)",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "id",
      -  "status"
      -]New value: +[
      +  "site",
      +  "id",
      +  "status"
      +]
  3. First observedv2.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does disclose one important side effect — status-change emails are sent — which is genuine value. It omits other likely consequences of a status change (stock adjustments, hooks, whether the change can be reverted) and says nothing about permissions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with zero waste; the side-effect caveat sits immediately after the action so the agent sees it before calling. No filler or repetition.

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?

For a four-parameter mutation with a fully described schema and no output schema, the description covers the action and the notable side effect. It could add a sentence on irreversible status transitions or permission requirements, but nothing essential is missing.

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%, including an enumerated list of allowed statuses and a proper meaning for the note field, so the schema does the heavy lifting. The description adds no extra parameter meaning, matching the baseline of 3.

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 ('Update order status') on a named platform object, so an agent knows exactly what it modifies. It does not differentiate itself from neighbors like woo_add_order_note, though the resource focus makes the target unambiguous.

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?

No guidance on when to use this versus alternatives such as woo_add_order_note or the fulfillment status tools, and no prerequisites or preconditions are mentioned. The required site/id/status set is only visible in the schema.

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