Skip to main content
Glama

Inventory reorder check

wever_inventory-reorder-check
Read-only

Agent Inventory: submit reorder records with the stock levels and stated lead times they answer to: the stock on hand record with its reference, the day it is as of and each item with its stock on hand, reorder point, maximum stock, lead time in days and daily usage; each reorder with its id, reference, item, the day raised, the units reordered, its status (open, received or cancelled) and the stock on hand when raised; optionally each stockout with the item and the day it ran out. The signed report gives the stock on hand record and the reorders, each item at or below its reorder point against the open reorders for it, each stockout against the reorders raised before and after it, each reorder quantity against the usage over the stated lead time, and each reorder against the stock on hand when it was raised, and counts them, and names divergent reorder records: an item below its reorder point with no reorder raised, a reorder raised only after a stockout, a reorder quantity that ignores the stated lead time, and a reorder for an item already overstocked; then a reorder point below the usage over the lead time and a reorder for an item the stock record does not hold, with the fix for each and what would change the verdict. No items, no stock on hand beside a reorder point, no stockout record, no daily usage and lead time, or no maximum stock leaves those points unverified. The usage over the lead time is the daily usage times the lead time in days; a stockout reads against the reorders raised in the thirty days before it, or over its lead time when longer; an item is overstocked at or above its maximum stock; a supplied stockout list with no rows reads as no stockout; items match by their SKU or their words, units compare to the hundredth and dates by the day. This reads whether reorders follow the reorder points and lead times the stock record sets. Verdict inventory_reorder_divergent, inventory_reorder_partial, inventory_reorder_unverified or inventory_reorder_consistent. POST /api/inventory-reorder-check. Reads the inventory records supplied in the call and returns a signed report with the verdict, the evidence read, the findings with their fixes, and what would change the verdict; it reads the records as supplied only: it never moves stock, never places or cancels an order, never writes to anyone’s inventory system and never adjusts a record, which stay with the business and its staff, and the records stay in the report, with no network request, fetch, message, payment or external write. Agent Inventory reads inventory records: a stock count, receiving records, shrinkage and loss records, a stock adjustment log, an inventory valuation, reorder records, a dead stock record and consignment stock records, each against the system stock record, the purchase or consignment orders, the count and sales records, the count and the period close, the counts and purchase records, the stock levels and lead times, the movement window and period report, or the sale and settlement records it answers to. The family checks whether the stock record can be trusted; the Agent Bookkeeping family reads the ledger the stock feeds, and the boutique tools act on one store’s orders. Paid URL: 0.10 USDC per call on Base via x402 exact, with the shared 10 signed-wallet free calls per rolling 30 days. Bind X-Wever-Wallet-Proof to the exact JSON arguments and the tool route. Returns a report with an Ed25519 signed receipt. Contract: /api/agent-inventory-contract. Human page: https://weverlabs.com/agent-inventory/.

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": {
      "stock": "<stock>",
      "reorders": "<reorders>"
    },
    "name": "wever_inventory-reorder-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoOptional name recorded in the report.
stockYes
reordersYesEach reorder raised.
stockoutsNoEach stockout.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior5/5

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

Beyond the annotations (readOnly, non-destructive, non-open-world), the description discloses the full behavioral envelope: it never moves stock, never places or cancels orders, never writes to any inventory system, makes no network request, fetch, message, or payment external write, and returns a signed report with an Ed25519 receipt. It also documents the paid path: 0.10 USDC per call on Base via x402 with 10 signed-wallet free calls per 30 days, and that X-Wever-Wallet-Proof must bind to the exact JSON arguments and route.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is a single sprawling colon-chained block in which the core purpose statement ('This reads whether reorders follow the reorder points and lead times') arrives only after several hundred words of field enumeration. Payment, contract, and human-page details are appended without separation, and the family-level paragraph about the other eight inventory checks is largely irrelevant to invoking this tool. Information density is high but front-loading and structure are poor.

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?

With no output schema, the description does carry the return burden and meets it: it names the four verdicts, the report contents (evidence, findings with fixes, what would change the verdict), and the unverified conditions that downgrade the result. For a nested four-parameter analytical tool the picture is nearly complete, short only of a concrete response shape or size hint.

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

Parameters4/5

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

Although schema coverage is only 75%, the prose covers essentially every field in the nested objects: the stock record's reference and as-of day, each item's on-hand, reorder point, max stock, lead time in days and daily usage, and each reorder's id, reference, item, raised day, quantity, status and on-hand at raise, plus optional stockouts. It adds real semantics the schema lacks: usage over the lead time is daily usage times lead time, items match by SKU or words, units compare to the hundredth, dates compare by the day, an empty stockout list reads as no stockout.

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: it reads reorder records and checks whether they follow the reorder points and lead times set by the stock record, with named verdicts (inventory_reorder_divergent/partial/unverified/consistent). It distinguishes itself indirectly by naming its record type within the Agent Inventory family and contrasting that family with Agent Bookkeeping and the boutique tools, but it never names a specific sibling check (e.g. count-check vs reorder-check) to route against.

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 implied rather than stated: the tool applies when you hold a stock record with reorder settings plus reorder rows, and it declines to verify points when items, on-hand levels, stockouts, daily usage/lead time, or max stock are absent. There is no explicit 'use this instead of X when…' routing against the many sibling inventory checks, so an agent must infer the boundary from the record types listed.

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