Skip to main content
Glama

orders_reopen

Destructive

Reopen a cancelled order. Money is integer minor units (cents). Calling this changes nothing: it returns a preview of what would change and a confirmation link. Only the merchant, on that page, can make it happen.

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": "orders_reopen"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderNumberYesThe human order number, e.g. 1003.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the annotations it discloses the most important behavioural fact: the call itself performs no mutation, returns a preview plus a confirmation link, and completion is gated on the merchant acting in a browser. That human-in-the-loop constraint and the return shape are exactly the context an agent cannot get from destructiveHint=true alone. There is mild tension with readOnlyHint=false/destructiveHint=true (the tool is flagged as a write, yet described as changing nothing), but that reads as 'part of a destructive flow' rather than 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?

Purpose is front-loaded in the first four words, and the preview/confirmation clarification is stated crisply. The sentence "Money is integer minor units (cents)" is dead weight here — the tool takes no monetary argument — which keeps it out of the top band.

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 one-parameter tool with no output schema, the description supplies what the schema cannot: that the response is a preview plus a link and that the caller cannot finalise the change itself. Only minor details, such as whether the confirmation link expires or how completion is reported, are left unstated.

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 coverage is 100% and the single parameter is documented in the schema, so the baseline is 3. The description adds nothing about orderNumber, and its money-units note refers to a field this tool does not even accept, so it contributes no parameter meaning.

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?

"Reopen a cancelled order" is a specific verb plus resource, and the state precondition ("cancelled") implicitly separates it from orders_cancel or orders_lookup. No sibling is named or explicitly excluded, so it stops short of the top band.

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?

The description makes the workflow clear — you call it to obtain a preview and a confirmation link, and the merchant must act on that page — so when to use it is implied. It gives no explicit when-not guidance and does not point to any alternative tool for handling orders in other states.

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.