Skip to main content
Glama

Mango Inventory

List orders

list_orders
Read-only

List orders (material and item requests) in the organization, newest first, grouped by active vs closed. Order managers see all orders; other members see only orders they requested or are assigned to (isManager says which view this is). Each row: id, status, requester, deliver-to target, the free-text request, the requested lines (a specific item, any instance of a model (modelId), any item of a category (categoryId), or free text; each with its quantity where one was given: "5 Packungen Kopierpapier" is quantity 5), neededByAt (when the requester needs it; absent when not given), the assignee and webUrl, the order's page in the web app. Every date comes twice, the epoch and its ISO twin: neededByAtIso is a plain calendar day ("2026-08-11"), createdAtIso / closedAtIso are UTC instants; the server does no timezone conversion. Statuses: "open" = requested, nobody has started fulfilling it; "in_fulfillment" = an order manager is working on it; "fulfilled" (delivered), "rejected" (declined by a manager) and "cancelled" (withdrawn by the requester) are closed. "Open orders" in the everyday sense are open + in_fulfillment. status filters the reads themselves, so it reaches older orders of that status rather than narrowing a capped page. Caps: the newest 100 per active status (open, in_fulfillment) and the newest 50 per closed status (fulfilled, rejected, cancelled), with the closed rows then cut to 50 in total; truncated: true means the organization has more orders than returned. An order has no printed code; its id is the handle for order tool calls.

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": "list_orders"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNoOnly orders with this status (absent = all)

Output Schema

NameRequiredDescriptionDefault
ordersNoThe orders, active first
isManagerNoFalse: the rows are only the orders the connected user requested or is assigned to
truncatedNoA bounded read hit its cap

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / status / description
      Previous value: -"Only return orders with this status (omit to return all)"New value: +"Only orders with this status (absent = all)"
    • changedOutput schema / properties / isManager / description
      Previous value: -"False means you only see your own orders"New value: +"False: the rows are only the orders the connected user requested or is assigned to"
    • changedOutput schema / properties / orders / items / properties / neededByAtIso / description
      Previous value: -"The needed-by date as a plain calendar day, \"YYYY-MM-DD\" — read THIS one. A DAY, not a moment: the server does no timezone conversion, so do not re-zone it"New value: +"The needed-by date as a plain calendar day, \"YYYY-MM-DD\". A DAY, not a moment: the server does no timezone conversion"
    • changedOutput schema / properties / orders / items / properties / webUrl / description
      Previous value: -"Link to the order in the web app — give your user THIS, never the raw `id`"New value: +"Link to the order in the web app, for a person to open; `id` is the handle for tool calls"
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations, which only declare a safe read. It discloses the per-status result caps (100 active / 50 closed, then closed cut to 50 total), the `truncated: true` signal, the absence of timezone conversion, and that statuses are legitimately scoped reads. These are behavioral traits the agent could not infer from `readOnlyHint`/`openWorldHint`.

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 purpose and scope, and nearly every sentence carries operational weight (caps, date twins, status definitions, row shape). It is a single dense block rather than a structured list, which makes the caps and date-format details harder to scan on a second pass, but there is little filler to cut.

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 read tool with an output schema, it still describes the row shape, date duplication (`neededByAtIso` calendar day vs UTC instants), and how quantity is parsed from free text — enough for an agent to interpret results correctly. Scope, ordering, truncation, and permissions are all covered, so nothing material is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100% for the single `status` parameter, yet the description adds real meaning: it enumerates what each status means, clarifies that "open orders" colloquially means open + in_fulfillment, and notes absent = all. The cap interaction (filtering reaches older orders instead of narrowing a capped page) is semantics the schema cannot express.

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?

Opens with a specific verb and resource plus scope: "List orders (material and item requests) in the organization, newest first, grouped by active vs closed." It also disambiguates the object (material and item requests) and ties the returned `id` to order tool calls, so an agent knows this is the read entry point for orders rather than for tickets, comments, or activity.

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 clear operating context: order managers see all orders, other members see a restricted view, and `isManager` reveals which view is in effect. It also explains that `status` filters the reads themselves rather than narrowing a capped page, which is exactly the guidance needed to choose whether to filter. It stops short of naming when to prefer a sibling (e.g. fetching a single order) or when not to call it.

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