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

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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior1/5

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

The description states 'Idempotent (same status twice succeeds quietly)', but the annotations declare idempotentHint=false, a direct contradiction an agent would act on when deciding whether to retry. There is also tension with destructiveHint=false given that cancel can trigger a refund, restock inventory and reset self-reported sales. Rich context aside, the explicit conflict with structured metadata forces a 1 per the contradiction rule.

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 action and organized as action → permission → edge cases → docs link; nearly every clause carries operational weight. It is dense and slightly run-on, and domain terms like 'rikma' and 'till' are used without definition, which costs a point.

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 a 5-parameter mutation tool with no output schema and a rich annotation set, the description covers the gaps that matter: permissions per action, permission boundaries, idempotency, invalid transitions, restock defaulting, and a docs URL. An agent has everything needed to call it correctly aside from the annotation conflict noted above.

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, and the description goes beyond it by tying the action enum values to workflow consequences (shipped = parcel left, fulfilled = delivered/picked up, cancel = refund) and by explaining when the restock default flips (only when not yet shipped). It adds little on orderRef/projectId format, which the schema already covers.

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+resource+target set: advancing a paid store order to shipped, fulfilled, or cancel. An agent can immediately distinguish it from getRikmaOrderTool/listRikmaOrdersTool (reads) and from setShopStockTool (inventory).

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?

Explicitly routes by actor and condition: any member may mark shipped/fulfilled, cancel is holder-only because it resets their own self-reported sales, and sales already in a split are left for the rikma to settle. It also states behavioral rules (idempotent repeats, backwards transitions refused, restock default) so the agent knows when the call is legal before invoking it.

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.