Skip to main content
Glama

Ship

o2c_ship_order
Destructive

Record a shipment against a confirmed order. Partial shipments are normal. Omit lines to ship everything still open. Pass lines to ship part of it — a short ship is a fact, not a failure, and the order stays open for the rest.

Stock is checked per line and cannot go negative. If there is not enough, ship what there is and say so; do not silently reduce the ordered quantity, because the customer is still owed the difference and the open quantity is how anyone knows that. Effects: delivery created; order_line.qty_shipped increased; item.on_hand decreased via core; order.status -> shipped when nothing remains.

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": {
      "order_id": "<order_id>"
    },
    "name": "o2c_ship_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
linesNoLeave empty to ship everything still open.
carrierNoCarrier.
order_idYesThe order being shipped. An existing order id.
trackingNoTracking number.

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 enumerating effects: delivery created, qty_shipped increased, item.on_hand decreased via core, and status transition to shipped when nothing remains. It also discloses the stock-check constraint (cannot go negative) and the correct failure behavior (ship what exists, never silently reduce ordered qty).

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-loads the core action and the partial-shipment rule, then the stock constraint, then effects. Every sentence carries information, though the stock paragraph is slightly verbose and could be tightened.

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?

No output schema exists, yet the description covers the return-relevant effects (delivery created, quantities and status changed) and the failure mode, which is everything an agent needs to call and interpret this mutation correctly.

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, but the description adds real meaning about the lines parameter: empty means ship all open, and a short ship is a legitimate outcome rather than an error. It does not elaborate on carrier or tracking, 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 and resource ('Record a shipment against a confirmed order') and immediately scopes it to confirmed orders, which separates it from order-creation or quoting siblings. An agent can identify the operation 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?

Gives clear when-to guidance: omit lines to ship everything open, pass lines to ship part, and notes that partial shipments are normal and the order stays open. It does not name a sibling alternative (e.g. invoicing or closing short), so it stops short of explicit routing.

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.