Skip to main content
Glama

Store Manager for WooCommerce

AddSynapse: order details

get_order
Read-onlyIdempotent

AddSynapse: ONE WooCommerce order by id (from list_orders) or by its number (as the shop shows it) (needs Store Assistant 1.3.18 or newer): status, dates, line items (product, variation, SKU, quantity, prices), totals (subtotal, discount, shipping, fees, tax, total, refunded), payment method, shipping lines, date_paid (empty = not paid), coupons, the customer (guest or account), the billing and shipping address, the customer's note and the latest order notes, and the order link. Use it to check an order before and after plan_order_create. Read-only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoOrder id.
siteNoWhich connected site: its address or site_id from addsynapse_list_sites. Omit when the account has only one site.
numberNoOrder number as shown in the shop (when it differs from the id).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, and the description's 'Read-only' repeats that without adding. Where it does add value beyond the annotations is in disclosing return semantics ('date_paid (empty = not paid)') and the version prerequisite — useful behavior an agent cannot get from the structured fields.

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?

Front-loaded with the core identity (one order, by id or number) before the long field inventory. The enumerated payload list is dense but earns its place because no output schema exists. Minor cost: it is a single sprawling sentence rather than split into lookup mechanics and return contents.

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?

With no output schema, the description appropriately compensates by listing the returned data (line items, totals, addresses, notes, link). The main residual gap is that no parameter is required and the description never states that at least one of id/number must be provided, leaving an agent unsure whether an empty call is valid.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description adds real meaning by framing id and number as interchangeable lookup keys ('id (from list_orders)', 'number (as the shop shows it)') and noting the number is only needed 'when it differs from the id'. It does not clarify what happens if both or neither are supplied.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('get') plus resource ('ONE WooCommerce order') and immediately disambiguates scope from the sibling list_orders ('ONE' vs the list). It enumerates the payload the caller receives, so an agent knows exactly what this tool yields without opening the schema.

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 a concrete workflow: 'Use it to check an order before and after plan_order_create', and points to list_orders as the source of valid ids. It also flags a prerequisite ('needs Store Assistant 1.3.18 or newer'). It stops short of explicit when-not guidance (e.g. use list_orders instead when browsing many orders), so 4 rather than 5.

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