# Magento

Source: https://pilot.braike.com/en/docs/regies/magento

The 4 read-only tools Pilot MCP serves for Magento, taken from the server.

Pilot MCP serves **4 tools** for Magento, all read-only, on every plan. Their names start with `magento_`. The connector has no tool that writes.

<Callout title="What each entry shows">
The name, description and parameters come from the list the server serves to your assistant (`tools/list`). Descriptions are in English: this is the text your assistant receives. Your assistant never fills in platform credentials: Pilot adds them on each call.
</Callout>

## Tool families [#familles]

| Family | Tools |
| --- | ---: |
| [Other tools](#autres) | 4 |

## Other tools [#autres]

### `magento_get_orders_by_status` [#magento_get_orders_by_status]

**Magento: Get Orders by Status** · read-only · idempotent

The number of orders and their amount, by Magento state and status (pending, processing, shipped, canceled, refunded...), for the orders created over a period. Defaults to the last 7 days. Read-only.

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `start_date` | `string` | no | First day (YYYY-MM-DD). Default: 6 days before end\_date. |
| `end_date` | `any` | no | Last day (YYYY-MM-DD), included. Default: today. |

### `magento_get_sales` [#magento_get_sales]

**Magento: Get Sales** · read-only · idempotent

Sales of the linked Magento store, day by day (store time zone) and in total over the period: revenue (non-canceled orders, taxes and shipping included), orders, average order value, canceled orders, guest orders, discounts, shipping fees, taxes, items, refunds (credit memos, on the credit memo date) and revenue net of refunds. Defaults to the last 30 full days. No personal customer data. 400 days at most. Read-only.

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `start_date` | `string` | no | First day (YYYY-MM-DD), store time zone. Default: 30 days before end\_date. |
| `end_date` | `any` | no | Last day (YYYY-MM-DD), included. Default: yesterday. |

### `magento_get_store` [#magento_get_store]

**Magento: Get Store** · read-only · idempotent

The Magento store linked to this workspace: name, code, website, base currency, time zone and address, and the list of the shop's other stores (without their sales). Read-only.

No parameters.

### `magento_get_top_products` [#magento_get_top_products]

**Magento: Get Top Products** · read-only · idempotent

The best-selling products of the linked Magento store over a period: SKU, name, quantity, line revenue (excluding taxes and shipping, discounts deducted according to the shop's setting) and number of orders, ranked by revenue. Canceled orders excluded. Defaults to the last 30 full days. Read-only.

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `start_date` | `string` | no | First day (YYYY-MM-DD). Default: 30 days before end\_date. |
| `end_date` | `any` | no | Last day (YYYY-MM-DD), included. Default: yesterday. |
| `limit` | `integer` | no | Number of products returned (default 20). |
