Skip to main content
Glama
Logiwa WMS MCP Server

Logiwa WMS MCP Server

Get Purchase Order

logiwa_get_purchase_order
Read-onlyIdempotent

Retrieve full details of a purchase order by its UUID, including line items, vendor, warehouse and key dates. Use it to inspect a specific PO for receiving, reconciliation or tracking.

Instructions

Get full detail (including line items) of one purchase order by its identifier (UUID).

Args:

  • identifier (string): the PO's UUID (from logiwa_list_purchase_orders)

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

Returns: the purchase order with vendor, warehouse, dates and line products.

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": {
      "identifier": "<identifier>"
    },
    "name": "logiwa_get_purchase_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
identifierYesPurchase order identifier (UUID).
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.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so safety is covered. The description adds the level of detail returned (line items, vendor, warehouse, dates, line products), which is genuinely useful. It does not mention error behavior for a bad/unknown UUID, keeping it at a solid but not exceptional level.

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 purpose sentence, then a compact Args/Returns block. The Args section duplicates the schema descriptions, which is mild overhead, but nothing is verbose or out of order.

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?

For a two-parameter read tool with no output schema, the description covers input provenance, output format choice, and a summary of the return payload. Nothing an agent needs in order to call it correctly is missing.

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 100%, so the baseline is 3; however the description adds a provenance hint for the UUID ('from logiwa_list_purchase_orders') and restates the markdown default, both of which help correct invocation. Still largely duplicative of the schema, so not a 5.

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?

Specific verb ('Get') plus resource ('one purchase order'), with scope explicitly stated as 'full detail (including line items)' versus the list tool. An agent can distinguish it from logiwa_list_purchase_orders without opening the 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?

The identifier argument is annotated with its origin ('from logiwa_list_purchase_orders'), which implicitly routes the agent to the list tool first. There is no explicit when-not guidance, but for a simple getter the usage context is clear.

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