Skip to main content
Glama
This connector has been deprecated

This connector has been replaced by https://glama.ai/mcp/connectors/io.phas/phasio

getProductionHistory

Read-onlyIdempotent

What has happened to ONE requisition's parts in production: a chronological log of batch moves and scrap events (with the scrap reason), plus other requisitions that passed through the same build step as any scrap (i.e. parts impacted by the same failure). Find a requisition id via query(entity="requisition"). This is scoped to a single requisition — for scrap across the shop floor (totals, most common reasons, scrap by stage/operation, or over a time window) use query(entity="scrap") or aggregate(entity="scrap", ...) directly; do NOT loop this tool over requisitions. Needs a subscription to the FACTORY_FLOOR module.

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": {
      "requisitionId": "<requisitionId>"
    },
    "name": "getProductionHistory"
  }
}

Input Schema

NameRequiredDescriptionDefault
requisitionIdYesThe requisition id (find it via query(entity="requisition")).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / properties / requisitionId / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / requisitionId / minimum
      Added value: +-9007199254740991
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), but the description adds real context beyond them: the FACTORY_FLOOR subscription prerequisite and the fact that results include co-affected requisitions sharing a failed build step. With no output schema, it also carries the return-shape burden and does so partially — it never mentions result volume, ordering granularity, or pagination limits.

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 core scope statement is front-loaded and the routing/do-not-loop guidance follows logically. It is dense but nearly every clause earns its place; the only mild drag is the stacked parenthetical list of alternative scrap queries.

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?

For a read-only, single-parameter tool with no output schema, the description covers what it returns, what prerequisite access it needs, how to obtain the id, and which siblings handle the aggregate cases. An agent has everything needed to call it correctly and avoid misusing it.

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%, so the single parameter's type and the discovery hint are already documented in the schema. The description only repeats the query(entity="requisition") lookup, adding no format or edge-case meaning beyond it. Baseline 3 is appropriate when the schema does all the work.

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 names the exact resource and scope — 'ONE requisition's parts in production' — and enumerates the payload: chronological batch moves, scrap events with reasons, and co-affected requisitions. The capitalized 'ONE' plus the explicit contrast with shop-floor-wide scrap tools makes it unmistakable against siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives both the entry path (find the id via query(entity="requisition")) and explicit when-not guidance: for totals, most common reasons, scrap by stage/operation, or time windows, use query(entity="scrap") or aggregate(entity="scrap", ...). It even forbids the anti-pattern of looping this tool over requisitions.

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