Skip to main content
Glama
Logiwa WMS MCP Server

Logiwa WMS MCP Server

Report: Total Inventory

logiwa_report_total_inventory
Read-onlyIdempotent

Retrieves consolidated on-hand inventory totals by SKU and warehouse, answering "how much of each SKU do we have?" with paginated on-hand and available quantities.

Instructions

Total (consolidated) on-hand inventory across locations, paginated. Best for "how much of each SKU do we have?".

Args:

  • page (number): 1-based page number (default 1)

  • page_size (number): records per page, 1-200 (default 20)

  • response_format ('markdown' | 'json'): output format (default markdown)

Returns: consolidated inventory rows per SKU/warehouse with on-hand and available quantities.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "logiwa_report_total_inventory"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo1-based page number to fetch (Logiwa paginates by page index).
page_sizeNoNumber of records per page (1-200, default 20).
response_formatNoOutput format: 'markdown' for a human-readable summary (default) or 'json' for the full structured payload.markdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds value beyond them by disclosing pagination semantics and describing the shape of the returned rows (per SKU/warehouse, on-hand and available quantities).

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?

Front-loaded with the purpose and the target question, then a compact Args list and a Returns line. The Args block duplicates the schema and could be dropped, but overall it is tight and easy to scan.

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?

With no output schema, the description supplies a Returns line covering row granularity and key quantities, and it explains pagination behavior. For a simple read-only paginated report, an agent has everything needed to call it correctly.

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 description coverage is 100%, so the schema already documents page, page_size and response_format including defaults and ranges. The Args block largely restates that same information, adding only the '1-based' framing that the schema already states.

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: consolidated on-hand inventory across locations, with pagination noted up front. The word 'consolidated' plus the sample question distinguishes it conceptually from logiwa_list_inventory, though it never names that sibling explicitly.

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?

Gives a concrete decision rule: 'Best for how much of each SKU do we have?'. That is a clear usage context, but there are no exclusions — nothing says when to prefer logiwa_list_inventory or logiwa_report_available_to_promise instead.

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