Skip to main content
Glama
bigl34

inFlow Inventory MCP Server

by bigl34

set_purchase_order_receipts

Preview exact purchase-order receipt or unreceipt stock changes and validate inventory semantics before committing them.

Instructions

Preview exact purchase-order receipt changes. Apply remains blocked until receipt/unreceipt stock semantics are canary-proven.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsNo
actionYes
dryRunNo
receiveAllNo
previewTokenNo
receiveLinesYes
unreceiveAllNo
idempotencyKeyNo
receiveLineIdsNo
purchaseOrderIdYes
expectedDesiredHashNo
expectedSemanticHashNo
expectedWriteShapeHashNo
expectedEntityTimestampNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0-alpha.2

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It does disclose a key constraint: apply remains blocked until stock semantics are canary-proven. That is useful, but it does not explain permissions, side effects, reversibility, what the preview returns, or how dryRun/previewToken/hashes behave.

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 sentences, front-loaded with the purpose and then the apply constraint. It is efficiently sized, though the phrase 'canary-proven' is jargon that reduces clarity without adding precision.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 14-parameter tool with no annotations, no output schema, and 0% schema description coverage, the description is far too sparse. It does not explain how to invoke the tool, what the required receiveLines should contain, what the preview returns, or how the various hash/token fields are used.

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

Parameters1/5

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

Schema description coverage is 0% across 14 parameters, including dryRun, previewToken, idempotencyKey, and multiple expected-hash fields. The description adds no parameter meaning at all, so it fails to compensate for the complete lack of schema documentation.

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?

States a specific verb and resource: preview purchase-order receipt changes. It is clear about the preview scope, but does not distinguish itself from sibling tools like receive_purchase_order or unreceive_purchase_order, leaving some ambiguity about how it relates to the direct receive/unreceive operations.

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?

Implies usage by stating that apply is blocked until semantics are canary-proven, so an agent knows this tool is currently for preview rather than apply. However, it never says when to use this tool instead of the direct receive/unreceive siblings, nor what alternatives exist for actually applying changes.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools