Skip to main content
Glama

Read Work Order

get_work_order
Read-only

Read one work order: its status, the output it makes and the materials it consumes with planned and completed quantities, its operations in order (status, assignee, machine, and whether transition_work_order_operation can start or finish each), its pick lists, and the status changes transition_work_order can make. A work order a manufacturing order generated is started, picked and completed with execute_manufacturing_step. Operator credentials only.

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": {
      "workOrderId": "<workOrderId>"
    },
    "name": "get_work_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
workOrderIdYes

Output Schema

NameRequiredDescriptionDefault
idNo
typeNo
itemsNo
stageNo
numberNo
statusNo
orderDateNo
pickListsNo
startedAtNo
operationsNo
completedAtNo
descriptionNo
customerNameNo
warehouseNameNo
assignedUserNameNo
availableActionsNo
plannedCompletionAtNo
productionRunNumberNo
manufacturingOrderIdNo
dependsOnWorkOrderIdsNo
manufacturingOrderNumberNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish that this is a read-only, non-destructive, closed-world operation. The description adds useful behavioral context beyond annotations, especially the operator-credentials requirement and the relationship to manufacturing-step execution and transition tools.

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?

The description is front-loaded and dense, with almost every clause contributing relevant selection context. It is a long compound sentence, and some of the return-value detail may be redundant because an output schema exists, but it remains informative rather than wasteful.

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?

Given the simple one-parameter schema, the read-only annotations, and the presence of an output schema, the description is complete enough for correct invocation. It covers returned information, workflow relationships, and the operator-credentials requirement without needing to restate the output schema.

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 description coverage is 0%, and the description does not add details about the workOrderId parameter such as where to obtain it. However, the single parameter is self-explanatory from its name and uuid format, so this is minimally adequate rather than severely deficient.

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: reading one work order. It also enumerates what the read returns, including status, materials, operations, pick lists, and possible transitions, which clearly distinguishes it from list_work_orders and the transition tools.

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?

The description clearly frames this as a read-side tool and points to transition_work_order, transition_work_order_operation, and execute_manufacturing_step for changes and workflow actions. It does not explicitly say how to obtain the workOrderId or state when not to use this tool, but the read-versus-transition guidance is strong.

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