Skip to main content
Glama

Inventory valuation check

wever_inventory-valuation-check
Read-only

Agent Inventory: submit an inventory valuation with the counts and purchase records it answers to: the valuation with its reference, the day it is as of, the first day of the period, currency, the total value stated and each line with its id, the item, ownership (owned or consigned), units valued, unit cost, value, the day the cost was set, the purchase record the cost comes from and any note; the counted quantities with each item and units counted; the purchase records with each reference, item, day and unit cost paid; optionally the consigned stock held with each item, consignor and units. The signed report gives the valuation, each item’s units valued against the units counted, each unit cost against the purchase record it comes from, each cost set before the period against the purchases inside it, and each line against the consigned stock held for others, and counts them, and names a divergent valuation: quantities valued above the counted quantity, unit costs that drift from the purchase record with no note, stale unit costs carried across periods, and consigned stock valued as owned; then line values or a total that do not recompute and items valued with no count, with the fix for each and what would change the verdict. No valuation lines, no counted quantities, no purchase record answering to a line, no period start or cost dates, or no ownership stated leaves those points unverified. A unit cost answers to the purchase it cites, or else to the latest purchase of the item on or before the day its cost was set, or the valuation date, and a note on a line explains its cost; items match by their SKU or their words, units compare to the hundredth, amounts to the cent and dates by the day. This reads the stock valuation itself, line by line against counts and purchases: wever_bookkeeping-ledger-check reads the ledger postings the valuation feeds, while the inventory valuation check reads the quantities, unit costs and ownership behind the stock value before it is posted. Verdict inventory_valuation_divergent, inventory_valuation_partial, inventory_valuation_unverified or inventory_valuation_consistent. POST /api/inventory-valuation-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": {
      "valuation": "<valuation>",
      "counted": "<counted>",
      "purchases": "<purchases>"
    },
    "name": "wever_inventory-valuation-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoOptional name recorded in the report.
countedYesEach counted quantity.
consignedNoEach item held on consignment.
purchasesYesEach purchase record.
valuationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Beyond readOnlyHint/openWorldHint/destructiveHint it adds real behavioral context: it enumerates the four verdict strings, describes the signed report contents and Ed25519 receipt, states that missing inputs leave specific points unverified, and declares the non-actions ("never moves stock, never places or cancels an order, never writes to anyone's inventory system"). It also discloses commercial/authorization mechanics the annotations cannot convey: 0.10 USDC per call via x402, 10 signed-wallet free calls per rolling 30 days, and the X-Wever-Wallet-Proof header bound to the 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 description is a single dense block of very long semicolon-chained sentences, and the core purpose competes with a full field enumeration in the first sentence. The generic family paragraph ("Agent Inventory reads inventory records: a stock count, receiving records, shrinkage...") is boilerplate that adds little for this tool. Front-loading exists but is buried; a one-line summary plus short sections would cut the length substantially without losing content.

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 five-parameter nested-input tool with no output schema, it covers the essentials: the verdict vocabulary, the report contents (evidence read, findings with fixes, what would change the verdict, signed receipt), the resolution rules for costs and purchases, and what happens when inputs are absent. The residual gap is the exact shape of the returned report beyond prose, but the enumerated verdicts and findings categories largely compensate.

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?

With schema coverage at 80%, the schema already names most fields, and the description largely re-lists them (reference, as-of day, period start, currency, total, line id/item/ownership/units/unit cost/value/cost date/purchase/note). Where it adds genuine meaning is the resolution and comparison rules: a unit cost answers to the cited purchase, else the latest purchase on or before the cost-set day or the valuation date; a note explains a line's cost; items match by SKU or name; units compare to the hundredth, amounts to the cent, dates by day. Those tolerances and fallbacks are not in the schema.

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 opening states a specific verb and resource ("submit an inventory valuation with the counts and purchase records it answers to") and the closing states the output (a signed report with a verdict). It explicitly separates itself from the closest sibling: "wever_bookkeeping-ledger-check reads the ledger postings the valuation feeds, while the inventory valuation check reads the quantities, unit costs and ownership behind the stock value before it is posted." An agent can distinguish this from the count/consignment/receiving siblings without opening a schema.

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

Usage Guidelines4/5

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

It gives clear context for when to reach for this tool: "before it is posted," line by line against counts and purchases, and contrasts that with the ledger-posting check. It also states the missing-data conditions that downgrade a verdict (no valuation lines, no counts, no purchase answering to a line, no period start or cost dates, no ownership). What it does not do is route to the nearer siblings (inventory-count-check, inventory-consignment-check, inventory-receiving-check) that overlap with its inputs, so exclusions remain implicit.

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