Skip to main content
Glama

Inventory count check

wever_inventory-count-check
Read-only

Agent Inventory: submit a physical stock count with the system stock record it answers to: the count with its reference, location, count date, who took it, its total units and each count line with its id, the item by SKU or name, the location, the units counted, the day counted when it differs and the sale references the line is used to explain; the system stock record with its reference, the day it is as of and each item it carries with its location and stock on hand; optionally the sales record with each sale’s reference, item, day and units. The signed report gives the count and the system record, the count total recomputed from the lines, each item counted against the items the system carries, each system item with stock on hand against the count lines, each count line used to explain a sale against the day of that sale, and each item and location read for a second count line, and counts them, and names a divergent stock count: a count total that does not recompute from the lines, an item counted that the system does not carry, a system item never counted, a count dated after the sale it is used to explain, and the same item counted twice at different quantities; then a line repeated at the same quantity, each variance from the stock on hand and a count dated apart from the system record, with the fix for each and what would change the verdict. No count lines, no system items, no count total, or no dated sale beside a count line that explains one leaves those points unverified. Items match by their SKU or their words with plurals folded, a system item that names no location answers to every count line for the item, a system item carried at zero needs no count line, quantities compare to the hundredth of a unit and dates by the day. This reads whether the stock count and the system stock record can be trusted together, line by line. Verdict inventory_count_divergent, inventory_count_partial, inventory_count_unverified or inventory_count_consistent. POST /api/inventory-count-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": {
      "count": "<count>",
      "system": "<system>"
    },
    "name": "wever_inventory-count-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
countYes
labelNoOptional name recorded in the report.
salesNo
systemYes

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 it discloses a great deal: verdict enumeration, what each check compares, when a point is left unverified (no count lines, no system items, no count total, no dated sale), matching semantics (SKU or name with plurals folded, location-less system item matches all lines, zero on-hand needs no line, quantities to the hundredth, dates by day), plus no-write/no-network guarantees and the signed Ed25519 receipt. It also states auth and cost: 0.10 USDC per call on Base via x402, 10 free signed-wallet calls per 30 days, and X-Wever-Wallet-Proof bound 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 ~350-word paragraph mixing purpose, report contents, matching rules, verdicts, family context, pricing, signing and URLs, with repetitive phrasing ('and counts them, and names a divergent stock count'). Only the first sentence is front-loaded; everything else is undifferentiated prose an agent must parse line by line. Bullets or labeled sections would materially improve it.

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 carries the return contract itself: verdict values, the evidence read, findings with fixes, and what would change the verdict. It also covers auth, price and no-write guarantees for a nested 4-parameter tool. Minor gaps remain around error behavior and what happens when optional sales data is omitted beyond the 'unverified' note.

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?

Schema coverage is only 25%, so the description must compensate, and it largely does: it enumerates count (ref, location, count date, who took it, total units, lines with id, item, location, units, differing count day, sale references), system (ref, as-of day, items with location and on-hand) and the optional sales record (ref, item, day, units). It also adds comparison rules not present in the schema. The prose is so compressed that field-to-parameter mapping takes effort to parse, keeping it below 5.

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 opening clause states a specific verb and resource: 'submit a physical stock count with the system stock record it answers to', and the verdict set (inventory_count_divergent/partial/unverified/consistent) makes the check's intent concrete. It also situates itself in the Agent Inventory family versus Bookkeeping and 'boutique' tools, though it never names a specific sibling it replaces. Purpose is clear but buried in a dense run-on.

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?

'This reads whether the stock count and the system stock record can be trusted together, line by line' implies the use case, and the family paragraph distinguishes inventory-record checks from ledger and single-store tools. There is no explicit when-not or routing rule such as 'use wever_inventory-receiving-check for receiving records', so the agent must infer selection from the family description.

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