Skip to main content
Glama

Explain Manufacturing Material Demand

get_manufacturing_material_plan
Read-only

Explain raw-material demand at one production warehouse: every finished-good forecast × BOM contribution, stock/subassembly offsets, finite open manufacturing orders, incoming supply timing, and purchase shortfalls. Uses the same planner as the UI. Review warnings before purchasing. Operator credentials only; does not route demand between shipping and production warehouses.

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": {
      "warehouseId": "<warehouseId>"
    },
    "name": "get_manufacturing_material_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
horizonDaysNo
warehouseIdYes
materialItemIdsNo

Output Schema

NameRequiredDescriptionDefault
rowsNo
warningsNo
generatedAtNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so the safety profile is covered; the description adds genuinely new behavior: it mirrors the UI planner, requires operator credentials, and pins the boundary at a single production warehouse without cross-warehouse routing. It does not discuss cost, latency, or what happens if the warehouse has no plan data.

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?

One dense but front-loaded sentence establishes scope and the calculation chain, followed by three short sentences for provenance, usage, and credential/scope limits. Nothing is redundant, though the comma-separated enumeration of inputs is heavy for a single clause.

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?

An output schema exists, so return values need no explanation, and annotations cover safety; the description supplies the planning semantics, provenance, and scope caveat an agent needs to interpret a full MRP-style result. The only real gap is that no parameter is explained, forcing the agent to infer the horizon and item-filter behavior from the schema alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and none of the three parameters are mentioned by name: warehouseId is only obliquely implied by 'at one production warehouse', and neither horizonDays (default 30) nor materialItemIds (an optional UUID filter) is explained anywhere. With zero schema coverage, the description needed to compensate and does not.

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 gives a specific verb ('Explain') and a precisely scoped resource ('raw-material demand at one production warehouse'), then enumerates the calculation inputs (forecast × BOM, stock/subassembly offsets, open MOs, incoming supply, purchase shortfalls). It carves out its own scope with 'does not route demand between shipping and production warehouses', though it never names the sibling tools an agent should pick instead (e.g. explain_demand_change, get_replenishment_plan).

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?

'Review warnings before purchasing' implies this feeds a purchasing decision, and 'Operator credentials only' states a prerequisite, which is useful context for when to reach for it. There is no explicit when-not case beyond the warehouse-routing exclusion, and no comparison to the demand/replenishment siblings, so selection guidance is implied rather than stated.

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