Skip to main content
Glama

Unassign an order from its driver

shipday_unassign_order
Idempotent

WRITE: remove the driver from a delivery order (it goes back to unassigned). Shipday: PUT /orders/unassign/{orderId}.

Input Schema

NameRequiredDescriptionDefault
order_idYesShipday's internal numeric order id (the `orderId` field, not the order number).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

The leading 'WRITE:' marker plus the resulting state disclosure tell the agent this is a mutating operation whose effect is to return the order to an unassigned queue. It does not say what happens if the order has no driver assigned or what errors are returned, but the core behavioral effect is covered beyond the readOnlyHint=false annotation.

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 short sentences with the write nature and effect front-loaded and the endpoint appended as reference detail. Nothing redundant.

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 single-parameter mutation with annotations present and no output schema, the definition covers the essential action, target, and end state. Minor gaps remain around failure modes (order already unassigned, invalid id) but nothing blocks correct invocation.

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 schema already explains that order_id is the internal numeric orderId rather than the order number. The description only echoes it via the PUT path template, adding no new semantics, so baseline 3 applies.

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 ('remove the driver from a delivery order') and immediately clarifies the resulting state ('goes back to unassigned'). It is clearly distinguishable from the reverse operation shipday_assign_order_to_carrier among the siblings.

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?

Usage is implied by the outcome ('goes back to unassigned'), so an agent can infer it is for detaching a driver, but there is no explicit when-to-use framing or named alternative (e.g., reassigning via an assign tool instead).

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.