Skip to main content
Glama

create_production_order

Create a new Draft manufacturing production order for a product with a valid BOM recipe. Supports confirm and idempotency validation.

Input Schema

NameRequiredDescriptionDefault
qtyYesQuantity to produce (positive whole integer <= 100000)
skuYesSKU of the finished product with a valid BOM recipe
notesNoOptional notes
farmIdYesThe unique farm ID
confirmNoSet to true to commit, false for dry-run preview
dueDateNoOptional due date (YYYY-MM-DD)
idempotencyKeyYesUnique request idempotency key (REQUIRED)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description usefully adds that the created entity starts in Draft state and requires a valid BOM recipe, but the phrases 'Supports confirm and idempotency validation' are thin and largely restate schema fields rather than explaining side effects, failure modes, or permissions. Note the mild tension with idempotentHint=false, though an explicit idempotencyKey legitimately provides request-level deduplication.

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?

Two short sentences, front-loaded with the verb and resource, with no filler. The trailing 'Supports confirm and idempotency validation' sentence is the least informative part but is compact enough not to be wasteful.

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 create tool with no output schema, the description plus a fully-covered schema and annotations give an agent enough to invoke it correctly: entity created in Draft, BOM must be valid, confirm toggles commit vs preview. It omits what the response returns and error behavior on invalid BOM, which is minor given no output schema is declared.

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 100%, so all 7 parameters are already documented in structured form. The description adds no syntax, format, or constraint detail beyond the schema (the BOM requirement it mentions is already in the sku field description), so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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 — 'Create a new Draft manufacturing production order' — and adds scope qualifiers (Draft state, valid BOM recipe) that make it distinguishable from read-oriented siblings like get_production_orders. It stops short of naming or contrasting with any related tool (e.g., confirming/updating orders), so it is clear but not sibling-differentiated to a 5 level.

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 only implied: the mention of 'confirm' and 'idempotency validation' hints at the dry-run vs commit flow, but the agent must open the schema to learn that confirm=false is a preview. There is no explicit when-to-use, when-not-to-use, or alternative-tool 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.

Resources