Skip to main content
Glama

Update order

update_order
Idempotent

Owner/admin only. Edit an order that is not shipped / not handed to BPS or a supplier yet: shipping address (fields firstname, lastname, company, street, nr, addressAddition, zip, city, country, phone), reduce or remove items (only unpaid prepayment orders; amount is recalculated – paid orders need a partial refund instead), internal note. dry_run (default true) shows before/after; every change is written to order_audit.

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": {
      "order_id": "<order_id>"
    },
    "name": "update_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
notizNo
adresseNo
dry_runNo
order_idYes
positionenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations it discloses permission requirements, the audit trail ('every change is written to order_audit'), that amounts are recalculated on item reduction, and the dry_run before/after preview. It does not say what happens to already-shipped-order attempts, though that is largely covered by the stated precondition. There is mild tension between allowing item removal and destructiveHint=false, but the removal is explicitly confined to unpaid prepayment orders and paired with an audit log, so it does not rise to a contradiction.

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 constraint that decides whether the call is legal at all, and every clause carries information (permissions, preconditions, field list, side effects). The long parenthetical address-field list makes it dense and slightly run-on, but nothing is filler.

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 mutation tool with nested objects, no output schema and zero schema descriptions, it covers auth, preconditions, dry-run semantics, side effects and the paid-vs-unpaid routing. Remaining gaps are the item-removal mechanics and what a failed address update does, which are minor relative to what is documented.

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?

With 0% schema description coverage, the description carries the whole burden and largely does: it lists the address sub-fields, defines notiz as an internal note, explains dry_run's default and effect, and frames positionen as item reduction/removal with recalculation. The gaps are the German-to-English key mapping (adresse/positionen/notiz are described only in English) and the mechanism for removal (unclear whether quantity 0, omitted entries, or something else).

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 opens with a specific verb and resource ('Edit an order') and immediately bounds the scope to orders that are not shipped and not handed to BPS/a supplier, then enumerates exactly what is editable (shipping address fields, item quantities, internal note). This implicitly separates it from status-changing siblings like update_order_status, but no sibling is named, so differentiation is inferred rather than stated.

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

Usage Guidelines5/5

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

It gives explicit when-to-use ('order that is not shipped / not handed to BPS or a supplier yet'), when-not-to-use ('only unpaid prepayment orders' for item changes), and the alternative for the excluded case ('paid orders need a partial refund instead'). It also states the access precondition ('Owner/admin only') and that dry_run defaults to true, so an agent knows how to safely trial the call first.

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