Skip to main content
Glama

Mark order shipped

mark_order_shipped
DestructiveIdempotent

Marks a paid order with a ship-to address shipped, with optional tracking; shipped:false undoes it. The buyer is emailed at the order's own address when first marked, then only when tracking changes, at most 3 times per order.

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": {
      "siteId": "<siteId>",
      "orderId": "<orderId>"
    },
    "name": "mark_order_shipped"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdYesSite id (from list_sites)
carrierNo
orderIdYesorderId from list_orders, or the order's reference
shippedNoDefault true
notifyBuyerNoDefault true
trackingUrlNohttps only
trackingNumberNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing a buyer-visible side effect: an email fires on first marking, then only on tracking changes, capped at 3 per order. That cap is exactly the kind of rate information annotations never carry, and combined with the 'shipped:false undoes it' note the agent understands reversibility and blast radius.

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

Conciseness5/5

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

Two tight sentences, front-loaded with the primary action and then the side-effect contract. No filler, no restating of the title, and the most surprising information (email cap) is not buried.

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 7-parameter mutation with no output schema, the description covers the action, the precondition, reversibility, and the notification contract. It does not clarify whether tracking updates alone re-trigger a shipment or what happens when the email cap is hit, minor gaps against an otherwise complete picture.

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 71%, and the description compensates by explaining what 'shipped' actually controls (it flips the shipping state off) and implying that tracking triggers notifications. 'notifyBuyer' and 'carrier' are still only defined by their schema text, not elaborated on in prose, so it is not a full 5.

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 and resource ('Marks a paid order with a ship-to address shipped'), plus the optional tracking dimension and the reversal lever ('shipped:false undoes it'). An agent can tell exactly what state transition happens without opening 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 Guidelines4/5

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

Preconditions are explicit: the order must be paid and have a ship-to address. The undo path is named inline, which is the main alternative use case. It stops short of pointing at any other tool for the case where the precondition fails (e.g. restocking), leaving that inference to the agent.

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