Skip to main content
Glama
Logiwa WMS MCP Server

Logiwa WMS MCP Server

Report: Available To Promise

logiwa_report_available_to_promise
Read-onlyIdempotent

Fetch paginated available-to-promise quantities per SKU to determine how many units can still be sold, including on-hand, allocated, and sellable inventory by warehouse.

Instructions

Available-to-promise (sellable) quantities per SKU, paginated. Best for "how many can I still sell?".

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: ATP rows per SKU/warehouse with on-hand, allocated and available-to-promise 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_available_to_promise"
  }
}

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

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, so the safety profile is covered. The description adds value by disclosing pagination and, importantly, the shape of the payload (ATP rows per SKU/warehouse with on-hand, allocated and available-to-promise) — which matters since no output schema exists. It omits any note on totals/termination or rate limits.

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?

The purpose statement is front-loaded in the first sentence and the usage hint immediately follows, so the key information is at the top. The Args block largely duplicates the input schema and is the main source of avoidable length.

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 paginated read-only report with no output schema, the description covers purpose, pagination, output format choice and the returned columns — enough to call it correctly. It could go further by noting how to detect the last page or whether a total count is returned.

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 all three parameters are already documented in the schema. The Args block in the description restates page, page_size and response_format without adding new meaning beyond defaults and ranges already present. Baseline 3 applies when the schema does the heavy lifting.

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 resource (available-to-promise/sellable quantities per SKU) and a scoping verb-like framing, with a plain-language gloss ('how many can I still sell?'). It does not, however, distinguish itself from near neighbors such as logiwa_report_total_inventory or logiwa_list_inventory, leaving the agent to infer the difference.

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?

The phrase 'Best for "how many can I still sell?"' gives a clear selection context an agent can match against a user's question. It stops short of naming an alternative tool or stating when-not to use it, so the routing is implied rather than explicit.

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