Skip to main content
Glama

List orders

data_list_orders
Read-onlyIdempotent

List either: unvalidated orders (called quotes) with creation date between from_date_ISO8601 and to_date_ISO8601 OR validated orders (called orders, invoices) with date of value between from_date_ISO8601 and to_date_ISO8601. You can also filter delivery methods (using filterDeliveryMethod).

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": {
      "validatedOrders": "<validatedOrders>",
      "from_date_ISO8601": "<from_date_ISO8601>",
      "to_date_ISO8601": "<to_date_ISO8601>"
    },
    "name": "data_list_orders"
  }
}

Input Schema

NameRequiredDescriptionDefault
to_date_ISO8601YesEnd of date range in ISO 8601 format (e.g. 2024-01-31T23:59:59Z)
validatedOrdersYestrue to fetch validated orders, false for pending/quotes
from_date_ISO8601YesStart of date range in ISO 8601 format (e.g. 2024-01-01T00:00:00Z)
filterDeliveryMethodNoFilter by delivery method: 0=takeaway, 1=delivery, 2=on-site, 3=drive, 4=relay, 5=table, 6=room

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds real behavioral context by explaining that the date filter means creation date for quotes but date of value for validated orders. It says nothing about result volume, pagination, or ordering of returned records.

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?

Effectively one sentence with the two modes front-loaded, with no filler. The nested parentheses and 'either ... OR ...' phrasing make it denser than necessary, but nothing is wasted.

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 read-only filtered-list tool with full schema coverage, full annotations and no output schema, the description covers the essentials of what is returned and how dates are interpreted. Pagination limits and default result size are the main omissions.

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 baseline is 3, and the description earns above that: it clarifies the semantics of the two date parameters conditionally on validatedOrders (creation date vs date of value), which the schema does not. filterDeliveryMethod is only name-dropped, but its enum meanings are already fully documented in the schema.

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 (List) and resource (orders) and explicitly splits the resource into two modes: unvalidated orders/quotes and validated orders/invoices. It does not reference the obvious sibling data_list_pending_orders, which appears to overlap with the validatedOrders=false branch, so the agent gets no explicit differentiation there.

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?

Usage is only implied by the either/or framing plus the optional delivery-method filter; there is no explicit when-to-use/when-not guidance. Nothing tells the agent when to prefer this over data_list_pending_orders for quote retrieval, which is a real ambiguity given the sibling name.

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