Skip to main content
Glama

Update order

update_order

Updates order with given orderNumber.

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

Input Schema

NameRequiredDescriptionDefault
statusNoOrderReceived = Order received, OrderPaymentDue = Waiting for payment, OrderPaymentReceived = Payment received, OrderProcessing = Processing order, OrderInTransit = Order shipped, OrderDelivered = Complete, OrderCancelled = Cancelled
referenceNoThis is a reference for internal purposes that can be set for each order. The reference will not be shown to the customer.
orderNumberYesThe order number or order code is the unique identifier for the order.
mail_customerNoSend an email notification to the customer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.5/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 burden and delivers almost nothing. It does not disclose that the operation is a mutation, whether unspecified fields are preserved, or that the mail_customer flag can trigger a real email to the customer - a side effect with external consequences that deserves explicit mention.

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

Conciseness3/5

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

One short sentence with no filler, so nothing is wasted, but it is under-specified rather than genuinely concise. Front-loading is fine given there is only one clause.

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 mutation tool with four parameters, no annotations, and no output schema, the description is far too thin. It should at minimum explain that fields are selectively updated and warn about the customer email side effect.

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%, with the status enum values, reference field, and mail_customer flag all documented in the schema, so the 3 baseline applies. The description adds nothing beyond echoing orderNumber, whose meaning the schema already explains.

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

Purpose3/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 ("Updates order") and adds the lookup key (orderNumber), which distinguishes it from delete_order and get_order. However, it never says what aspects of the order can be changed, so the scope of the update is left entirely to 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 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 prerequisites, and no mention of alternatives such as delete_order or get_order. An agent must infer everything about selection from the tool name alone.

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