Let a caller learn what a product commits to, and by when
Orderdetail now carries requireddate and order_status, denormalised from the order the line belongs to — filtering by product and status already answers the question this used to need a second call per order for. list_orders also gained a status filter, matching the backend capability that list_order_details already exposes. Regenerated with generate-mcp-tools.py. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -21,10 +21,18 @@ config:
|
||||
idempotent_hint: true
|
||||
destructive_hint: false
|
||||
open_world_hint: false
|
||||
description: Retrieve a paginated list of all customer orders with their status and details.
|
||||
description: Retrieve a paginated list of all customer orders with their status and details. Filter
|
||||
by status to find open commitments, e.g. In Process or On Hold.
|
||||
method: GET
|
||||
name: list-orders
|
||||
parameters:
|
||||
- description: Only orders with this status, e.g. In Process, On Hold, Shipped, Cancelled, Disputed,
|
||||
Resolved.
|
||||
in: query
|
||||
name: status
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
- description: A page number within the paginated result set.
|
||||
in: query
|
||||
name: page
|
||||
@@ -243,6 +251,18 @@ config:
|
||||
id:
|
||||
type: integer
|
||||
readOnly: true
|
||||
requireddate:
|
||||
type: string
|
||||
format: date
|
||||
readOnly: true
|
||||
description: The order's required date. Denormalised from the order this line
|
||||
belongs to, so a caller filtering by product does not need a second call to
|
||||
learn what it commits to and by when.
|
||||
order_status:
|
||||
type: string
|
||||
readOnly: true
|
||||
description: The order's status, e.g. In Process, On Hold, Shipped, Cancelled,
|
||||
Disputed, Resolved.
|
||||
quantityordered:
|
||||
type: integer
|
||||
maximum: 2147483647
|
||||
@@ -263,11 +283,13 @@ config:
|
||||
type: string
|
||||
required:
|
||||
- id
|
||||
- order_status
|
||||
- orderlinenumber
|
||||
- ordernumber
|
||||
- priceeach
|
||||
- productcode
|
||||
- quantityordered
|
||||
- requireddate
|
||||
- annotations:
|
||||
title: Create a new order
|
||||
read_only_hint: false
|
||||
@@ -436,6 +458,18 @@ config:
|
||||
id:
|
||||
type: integer
|
||||
readOnly: true
|
||||
requireddate:
|
||||
type: string
|
||||
format: date
|
||||
readOnly: true
|
||||
description: The order's required date. Denormalised from the order this line
|
||||
belongs to, so a caller filtering by product does not need a second call to
|
||||
learn what it commits to and by when.
|
||||
order_status:
|
||||
type: string
|
||||
readOnly: true
|
||||
description: The order's status, e.g. In Process, On Hold, Shipped, Cancelled,
|
||||
Disputed, Resolved.
|
||||
quantityordered:
|
||||
type: integer
|
||||
maximum: 2147483647
|
||||
@@ -456,11 +490,13 @@ config:
|
||||
type: string
|
||||
required:
|
||||
- id
|
||||
- order_status
|
||||
- orderlinenumber
|
||||
- ordernumber
|
||||
- priceeach
|
||||
- productcode
|
||||
- quantityordered
|
||||
- requireddate
|
||||
- annotations:
|
||||
title: Get a specific order detail
|
||||
read_only_hint: true
|
||||
@@ -504,6 +540,18 @@ config:
|
||||
id:
|
||||
type: integer
|
||||
readOnly: true
|
||||
requireddate:
|
||||
type: string
|
||||
format: date
|
||||
readOnly: true
|
||||
description: The order's required date. Denormalised from the order this line belongs
|
||||
to, so a caller filtering by product does not need a second call to learn what it
|
||||
commits to and by when.
|
||||
order_status:
|
||||
type: string
|
||||
readOnly: true
|
||||
description: The order's status, e.g. In Process, On Hold, Shipped, Cancelled, Disputed,
|
||||
Resolved.
|
||||
quantityordered:
|
||||
type: integer
|
||||
maximum: 2147483647
|
||||
@@ -524,11 +572,13 @@ config:
|
||||
type: string
|
||||
required:
|
||||
- id
|
||||
- order_status
|
||||
- orderlinenumber
|
||||
- ordernumber
|
||||
- priceeach
|
||||
- productcode
|
||||
- quantityordered
|
||||
- requireddate
|
||||
- annotations:
|
||||
title: Create a new order detail
|
||||
read_only_hint: false
|
||||
@@ -580,6 +630,18 @@ config:
|
||||
id:
|
||||
type: integer
|
||||
readOnly: true
|
||||
requireddate:
|
||||
type: string
|
||||
format: date
|
||||
readOnly: true
|
||||
description: The order's required date. Denormalised from the order this line belongs
|
||||
to, so a caller filtering by product does not need a second call to learn what it
|
||||
commits to and by when.
|
||||
order_status:
|
||||
type: string
|
||||
readOnly: true
|
||||
description: The order's status, e.g. In Process, On Hold, Shipped, Cancelled, Disputed,
|
||||
Resolved.
|
||||
quantityordered:
|
||||
type: integer
|
||||
maximum: 2147483647
|
||||
@@ -600,8 +662,10 @@ config:
|
||||
type: string
|
||||
required:
|
||||
- id
|
||||
- order_status
|
||||
- orderlinenumber
|
||||
- ordernumber
|
||||
- priceeach
|
||||
- productcode
|
||||
- quantityordered
|
||||
- requireddate
|
||||
|
||||
Reference in New Issue
Block a user