# MCP: orders

Source: <https://telegafirst.com/docs/mcp-orders>
Locale: ru
releaseGitSha: 0bb11ef116e17ec64c802d5476eaff442e53d252
sourceContentDigest: 49f80ee3ad0dcdf099041bf4c019635a8bc4114cd22ce218c9bb6016bf9aa37c
Version: 9

# MCP: orders

Определения инструментов. Обновляйте tools/list после изменения прав. required\_scopes: ALL.

## create\_order

Accept the six-field signed quote returned by quote\_order. Pass a new idempotency\_key to dedupe retries; PRICE\_CHANGED returns a fresh quote.

Scopes (ALL): \["orders"]. Risk: "write".

[Вход, результат и права](https://telegafirst.com/docs/mcp-tool-create-order)

## execute\_manual\_sale

Create the order from the prepared manual sale. Call this tool only after final human confirmation of the prepared scenario.

Scopes (ALL): \["orders:write"]. Risk: "money".

[Вход, результат и права](https://telegafirst.com/docs/mcp-tool-execute-manual-sale)

## execute\_order\_status\_change

Execute the prepared order status change and buyer notification. Call this tool only after final human confirmation of the prepared scenario.

Scopes (ALL): \["orders:status"]. Risk: "write".

[Вход, результат и права](https://telegafirst.com/docs/mcp-tool-execute-order-status-change)

## execute\_send\_invoice

Queue the prepared invoice through the existing payment planner. Call this tool only after final human confirmation of the prepared scenario.

Scopes (ALL): \["orders:write"]. Risk: "money".

[Вход, результат и права](https://telegafirst.com/docs/mcp-tool-execute-send-invoice)

## get\_customer

Read one customer by \`seq\_num\`, the tenant-scoped identifier. Includes restriction, ban, and AI coach access state.

Scopes (ALL): \["orders"]. Risk: "read".

[Вход, результат и права](https://telegafirst.com/docs/mcp-tool-get-customer)

## link\_anonymous\_order

Link a previously-anonymous order to a resolved user.

Scopes (ALL): \["orders"]. Risk: "write".

[Вход, результат и права](https://telegafirst.com/docs/mcp-tool-link-anonymous-order)

## list\_customers

List customers of the current tenant by their tenant-scoped sequence number. Returns conversation state and access state, including restriction, ban, and AI coach access. 0-cost read.

Scopes (ALL): \["orders"]. Risk: "read".

[Вход, результат и права](https://telegafirst.com/docs/mcp-tool-list-customers)

## mark\_paid

Record an explicit manual settlement. switch\_to\_manual must be true; idempotency\_key is required.

Scopes (ALL): \["orders:write"]. Risk: "money".

[Вход, результат и права](https://telegafirst.com/docs/mcp-tool-mark-paid)

## prepare\_manual\_sale

Prepare a manual sale by user+catalog or frozen registration. Optionally declare amount, currency and provider together. Returns the frozen scenario for final human review; creates no order.

Scopes (ALL): \["orders:write"]. Risk: "write".

[Вход, результат и права](https://telegafirst.com/docs/mcp-tool-prepare-manual-sale)

## prepare\_order\_status\_change

Prepare a tenant order status change and optional operator comment. The execution notifies the buyer through the configured status delivery slot.

Scopes (ALL): \["orders:status"]. Risk: "write".

[Вход, результат и права](https://telegafirst.com/docs/mcp-tool-prepare-order-status-change)

## prepare\_send\_invoice

Prepare invoice dispatch for a tenant-local order\_seq\_num. Sends nothing until execute\_send\_invoice is called.

Scopes (ALL): \["orders:write"]. Risk: "write".

[Вход, результат и права](https://telegafirst.com/docs/mcp-tool-prepare-send-invoice)

## quote\_order

Evaluate direct items or an opaque Cart address into the signed quote required by create\_order.

Scopes (ALL): \["orders"]. Risk: "read".

[Вход, результат и права](https://telegafirst.com/docs/mcp-tool-quote-order)

## refresh\_payment\_urls

Regenerate payment provider URLs for an existing order.

Scopes (ALL): \["orders"]. Risk: "write".

[Вход, результат и права](https://telegafirst.com/docs/mcp-tool-refresh-payment-urls)
