Skip to main content
Glama

updateRikmaOrderStatusTool

Advance a paid store order to shipped, fulfilled, or cancel it as its holder. Any member may mark shipped/fulfilled (getting the parcel out is the rikma’s work); cancel is holder-only — the member whose till took the money — because it resets their own self-reported sales not yet in a split; sales already in a split are left and the rikma is told to settle the refund. Idempotent (same status twice succeeds quietly); backwards transitions refuse (§3.4). On cancel, pass restock:true to put the items back on the shelf (default: only when the order was not yet shipped). Members only. Docs: https://1lev1.com/mcp#updateRikmaOrderStatusTool

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": {
      "projectId": "<projectId>",
      "orderRef": "<orderRef>",
      "action": "<action>"
    },
    "name": "updateRikmaOrderStatusTool"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesshipped → parcel left, fulfilled → delivered/picked up, cancel → refund.
reasonNoCancel reason shown on the order and in sale notes.
restockNoOn cancel: put items back in stock. Default: only when not yet shipped.
orderRefYesOrder ref (`<rikma>:<externalId>` as POST /orders answered) or orderId.
projectIdYesRikma id.
trackingUrlNoOn shipped: a tracking page (http/https).
trackingNumberNoOn shipped: the carrier’s tracking number. The buyer is mailed that it left, with this number.
trackingCarrierNoOn shipped: the carrier, e.g. DHL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / trackingCarrier
      Added value: +{
      +  "description": "On shipped: the carrier, e.g. DHL.",
      +  "maxLength": 40,
      +  "type": "string"
      +}
    • addedInput schema / properties / trackingNumber
      Added value: +{
      +  "description": "On shipped: the carrier’s tracking number. The buyer is mailed that it left, with this number.",
      +  "maxLength": 60,
      +  "type": "string"
      +}
    • addedInput schema / properties / trackingUrl
      Added value: +{
      +  "description": "On shipped: a tracking page (http/https).",
      +  "maxLength": 300,
      +  "type": "string"
      +}
  2. Added

TDQS

A4/5.0
Behavior1/5

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

The description declares 'Idempotent (same status twice succeeds quietly)', but the annotations set idempotentHint=false, a direct contradiction of structured data. The many other useful disclosures (holder-only cancel, split-sales behavior, restock default, buyer notification) cannot offset a conflict on an explicitly annotated trait.

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 verb and permitted transitions, then qualifications and the docs link. It is dense with parentheticals and em-dashes, but nearly every clause carries decision-relevant information rather than filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter mutation tool with no output schema, the description covers authorization per action, side effects on sales splits, restock defaults, buyer notification, and failure modes. Little an agent needs in order to call this correctly is missing.

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 parameters are already documented, but the description adds real semantics beyond the schema: who may pass action=cancel, what cancel does to unsplit sales, and how the restock default is computed ('only when the order was not yet shipped'). That goes past the schema's own restock wording by tying it to the cancel path.

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?

The description states a specific verb and resource — advancing a paid store order to shipped, fulfilled, or cancelled — and names the actor ('as its holder'). It is unmistakably the mutation counterpart to siblings like listRikmaOrdersTool and getRikmaOrderTool.

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 rules per action: any member may mark shipped/fulfilled, but cancel is holder-only because it resets that member's self-reported sales, while sales already in a split are left for the rikma to settle. It also states that backwards transitions are refused (§3.4), which tells the agent when the call will fail.

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.