# Shop MCP tools

## Shop basics

### shop_context

The shop as this person sees it: name, time zone, today, currency, places with their ids, modules and the person's role. No database call.



```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "shop_context",
    "arguments": {}
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Alpine & Trail Demo is open today from 09:00 to 18:00. Currency: EUR. Time zone: Europe/Rome."
      }
    ]
  }
}
```

### find

Search every area of the shop the person can open for a name, number or reference. Use it to find what someone means before a narrower tool. When a name matches a few records it gives a card to ask which one; when the person picked one on that card, call find with their words and it answers with that one record.

- `q` (string, required): What to look for: a name, a number, a reference.

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "find",
    "arguments": {
      "q": "Trail bike rental"
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Found a trail bike rental and a guided mountain ride."
      }
    ]
  }
}
```

### shop_report

A report for a question no other read answers: counts and sums over a range of days (from and to, at most two years), grouped by up to 3 dimensions, with filters. Use the fixed reads first (bookings_read, money_takings, balances_read, workshop_read). Datasets: bookings (a row is a booking, on its first day): group by day, week, month, weekday, location, kind, source, came_from, state, stage, money_status, customer_country, staff; measures bookings, riders, days, total, paid, due, average_total; booking_lines (a row is a booking line, on the booking's first day): group by day, week, month, weekday, location, booking_kind, source, product, product_kind, sell_kind, state; measures lines, quantity, gross; rental_days (a row is a unit on hire, on each day it is out): group by day, week, month, weekday, location, product, product_kind; measures unit_days, bookings; payments (a row is a payment or refund, on the day it was taken): group by day, week, month, location, method, kind, deposit, booking_kind, staff; measures payments, paid, refunded, net; workshop_jobs (a row is a workshop job, on the day it was taken in): group by day, week, month, location, state, kind, subject_kind, source, mechanic, customer_country; measures jobs, collected, gross, worked_minutes, planned_minutes; till_sales (a row is a till sale, on its day): group by day, week, month, location, state, payment_state, refund_state, staff, customer_country; measures sales, lines, total, goods_gross, discount, refunded. Bookings and booking lines leave out unfinished drafts and holds that ran out; cancelled bookings count unless you filter state open. Till sales leave out voided sales; payments are paid ones only. Money measures need the money totals permission; staff, mechanic and customer_country need the team or customer permission. totals are over every group; quote rows and totals exactly, never add, convert or round. truncated means there are more groups than rows; rows_cut means you see only the first rows_shown of them.

- `dataset` (string, required): What to count: bookings, booking_lines, rental_days (one row per unit on hire per day), payments, workshop_jobs or till_sales. Values: `bookings`, `booking_lines`, `rental_days`, `payments`, `workshop_jobs`, `till_sales`.
- `from` (string · date, required): The first day, YYYY-MM-DD, in the shop's time zone.
- `to` (string · date, required): The last day, YYYY-MM-DD, at most 731 days after from.
- `group_by` (string[]): Up to 3 dimensions of the dataset to group by. None: one row of totals.
- `measures` (string[], required): 1 to 6 measures of the dataset.
- `filters` (any[]): Up to 5 filters on its dimensions.
- `order` (any): Default: time dimensions oldest first, else the first measure largest first.
- `limit` (integer): How many groups at most (1 to 200).
- `location_ids` (string · uuid[]): Place ids from shop_context, only when the person named a place.

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "shop_report",
    "arguments": {
      "dataset": "bookings",
      "from": "2026-07-18",
      "to": "2026-07-18",
      "measures": [
        "bookings"
      ]
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Today: three bookings, two pickups, and one return."
      }
    ]
  }
}
```

### places_read

The shop's places this person may see, each with its kind, town, time zone and opening hours: whether it is open today and today's hours, then each of the next seven dates (days) with that date's hours (open false: closed that date, with the reason when a closed day shuts it; open null: no opening hours set for that date), and its next closed days with their reason. For a date further ahead, say the hours may differ. No phone, email or street address.

- `location_ids` (string · uuid[]): Place ids from shop_context, only when the person named a place.

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "places_read",
    "arguments": {
      "location_ids": null
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "The shop's places this person may see, each with its kind, town, time zone and opening hours: whether it is open today and today's hours, then each of the next seven dates (days) with that date's hours (open false: closed that date, with the reason when a closed day shuts it; open null: no opening hours set for that date), and its next closed days with their reason. For a date further ahead, say the hours may differ. No phone, email or street address."
      }
    ]
  }
}
```

### opening_days_read

Whether each place is open on each day of a range, beyond the next seven days places_read gives: 'is the shop open on 8 December', 'which days are we closed in December'. first_day to last_day (at most 62 days; one day: both the same). One row per place and day: open true with its hours, false when closed (closed_reason when a closed day shuts it), null when no opening hours are set for that day. Facts open_days, closed_days, no_hours_days, and open (yes, no or unknown) for one place and one day: quote display exactly; never count rows yourself.

- `first_day` (string · date): First day; default today.
- `last_day` (string · date): Last day, at most 62 days after first_day; default first_day + 6. One day: first_day and last_day the same.
- `location_ids` (string · uuid[]): Place ids from shop_context, only when the person named a place.

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "opening_days_read",
    "arguments": {
      "first_day": null,
      "last_day": null,
      "location_ids": null
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Whether each place is open on each day of a range, beyond the next seven days places_read gives: 'is the shop open on 8 December', 'which days are we closed in December'. first_day to last_day (at most 62 days; one day: both the same). One row per place and day: open true with its hours, false when closed (closed_reason when a closed day shuts it), null when no opening hours are set for that day. Facts open_days, closed_days, no_hours_days, and open (yes, no or unknown) for one place and one day: quote display exactly; never count rows yourself."
      }
    ]
  }
}
```

### search_docs

Search Outdoor Grid's public guides for how the product works and how to set it up. Returns up to five pages.

- `q` (string, required): Words to search for in Outdoor Grid's public guides.

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "search_docs",
    "arguments": {
      "q": "Trail bike rental"
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Found the rental pickup guide and the cancellation policy."
      }
    ]
  }
}
```

### get_doc

Read one Outdoor Grid public guide as Markdown by its docs path.

- `path` (string, required): A guide path such as /docs/your-ai/connect-chatgpt or your-ai/connect-chatgpt.

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_doc",
    "arguments": {
      "path": "Trail bike rental"
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Rental pickup: bring your booking reference to the shop counter from 09:00."
      }
    ]
  }
}
```

## Equipment and stock

### inventory_find

Rental bikes and gear by number, serial or model, with their state now and where they are. Never parts on the shelf (tyres, brake pads): stock_find.

- `q` (string): Bike or item number, serial, or the product name or kind, for example E-MTB.
- `state` (string): Only items in this state, for example ready, out, needs_check.
- `location_ids` (string · uuid[]): Place ids from shop_context, only when the person named a place.
- `limit` (integer): How many rows at most (1 to 50).

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "inventory_find",
    "arguments": {
      "q": null,
      "state": null,
      "location_ids": null,
      "limit": 20
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Trail bike, size M: 3 units in the fleet."
      }
    ]
  }
}
```

### inventory_status

How many rental bikes and gear items are in each state (ready, out, needs a check, out of service). Counts come from here, never add them up yourself. Never parts in stock: stock_find.

- `q` (string): Narrow to a product name or kind, for example E-MTB or e-bike.
- `state` (string): 
- `location_ids` (string · uuid[]): Place ids from shop_context, only when the person named a place.

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "inventory_status",
    "arguments": {
      "q": null,
      "state": null,
      "location_ids": null
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Trail bike, size M: ready to rent."
      }
    ]
  }
}
```

### inventory_availability

What is free to rent per product and size, free of how many, on each day of a range (1 to 31 days), as the booking screens count it. Facts: free and of_total for one day, the tightest product and day, how many cells are full. For a product over all its sizes quote free_per_product. Quote facts[*].display exactly; never add, convert or round.

- `first_day` (string · date, required): First day, YYYY-MM-DD, in the shop's time zone.
- `days` (integer): How many days from first_day, one cell each (1 to 31).
- `q` (string): Narrow by words, every word must match: a product, type or size, or a type and a size together, for example e-bike, e-bike M, Shuttle XS.
- `location_ids` (string · uuid[]): Place ids from shop_context, only when the person named a place.
- `cursor` (string): Where to carry on, from a list a read gave earlier. Only for Show all.
- `limit` (integer): How many rows at most (1 to 50).

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "inventory_availability",
    "arguments": {
      "first_day": "2026-07-18"
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Trail bike, size M: available on 18 July 2026."
      }
    ]
  }
}
```

### damage_read

Damage: rentals that came back damaged or needing a check, damage on the vehicles, and where each case is now (damaged, needs a check, in the workshop, fixed), newest first. Facts: total, open, in_workshop, and charged (what customers were charged for damage, money scope only). Quote facts[*].display exactly; never add, convert or round. not_covered names sources this person cannot see.

- `state` (string): open: not fixed yet (damaged, needs a check, in the workshop); all: every report in the range, fixed ones too. Values: `open`, `all`.
- `first_day` (string · date): Reports from this day on. Default: no lower bound for open, the last 30 days for all.
- `last_day` (string · date): Up to this day, at most 366 days after first_day. Default: today.
- `source` (string): rental_return: rentals that came back damaged; vehicle: the vehicles; workshop: the cases the workshop holds a job for. Values: `all`, `rental_return`, `vehicle`, `workshop`.
- `location_ids` (string · uuid[]): Place ids from shop_context, only when the person named a place.
- `facet` (string): Only for Show all: a quick filter from the card. Values: `rental_return`, `vehicle`, `workshop`.
- `cursor` (string): Where to carry on, from a list a read gave earlier. Only for Show all.
- `limit` (integer): How many rows at most (1 to 50).

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "damage_read",
    "arguments": {
      "state": "open",
      "first_day": null,
      "last_day": null,
      "source": "all",
      "location_ids": null,
      "facet": null,
      "cursor": null,
      "limit": 20
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "No open damage record for the selected bike."
      }
    ]
  }
}
```

### workshop_read

Workshop jobs. mode bench: what is being worked on (checked in, in progress, waiting for the customer or for parts); waiting_parts: jobs waiting for a part, with the parts; ready: jobs ready to collect, oldest first, and whether the customer was told; one: one job by its reference (W-1042). A job is late when its promised day has passed and it is not ready; late and waiting for parts can both be true. facts count every open job the question covers by state (on_bench, booked, waiting_parts, waiting_customer, ready, not_told); total and late count this mode's jobs. Quote facts[*].display exactly, never add or round.

- `mode` (string, required): bench: jobs being worked on; waiting_parts: jobs waiting for a part; ready: jobs ready to collect; one: one job in full. Values: `bench`, `waiting_parts`, `ready`, `one`.
- `location_ids` (string · uuid[]): Place ids from shop_context, only when the person named a place.
- `q` (string): A bike number, customer name or job words.
- `job_ref` (string): mode one: the job reference the person said.
- `facet` (string): Only for Show all: a quick filter from the card. Values: `late`, `not_told`.
- `cursor` (string): Where to carry on, from a list a read gave earlier. Only for Show all.
- `limit` (integer): How many rows at most (1 to 50).

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "workshop_read",
    "arguments": {
      "mode": "bench"
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "One bike service is due tomorrow."
      }
    ]
  }
}
```

### vehicles_read

Vans and other vehicles. mode list: every van with its state now (ready, out_today, in_the_workshop, off_the_road), next service and papers; pass service_due_before for 'which vans need a service' (the last day of the period). mode one: one van in full by its name, number (V-03) or plate in q. mode free: which vans are free over an interval, from and to with the shop's offset (at most 14 days); each busy van says what holds it (run, hire, out_of_service, workshop). Quote facts[*].display exactly; never count rows yourself.

- `mode` (string, required): list: the vans; one: one van in full; free: vans free in an interval. Values: `list`, `one`, `free`.
- `q` (string): A van's name, number or plate words. Needed for mode one.
- `from` (string · date-time): mode free: interval start, with the shop's offset.
- `to` (string · date-time): mode free: interval end, at most 14 days after from.
- `service_due_before` (string · date): mode list: only vans whose service is due on or before this day.
- `location_ids` (string · uuid[]): Place ids from shop_context, only when the person named a place.
- `facet` (string): Only for Show all: a quick filter from the card. Values: `service_due`, `papers_due`, `not_ready`, `free`, `busy`.
- `cursor` (string): Where to carry on, from a list a read gave earlier. Only for Show all.
- `limit` (integer): How many rows at most (1 to 50).

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "vehicles_read",
    "arguments": {
      "mode": "list"
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Trail bike, size M: ready for the next rental."
      }
    ]
  }
}
```

### stock_find

Parts, accessories and consumables the shop keeps on the shelf (tyres, tubes, brake pads, chains, cassettes; gomme, copertoni, pastiglie, catene) and how many are in stock, per place. Searches like the stock screen: name, brand, category, part code, barcode, sizes such as 29, English or Italian words, typos. facts: parts (that match), parts_in_stock, units_on_hand and units_free over every match; by_place the same per place. Quote facts[*].display; never add them up. Never for rental bikes or gear (inventory_find).

- `q` (string, required): The part in the person's words, English or Italian, without 'how many' or 'in stock': tyres, 29 tyres, brake pads, pastiglie, Shimano pads, a brand, a part code or a barcode.
- `limit` (integer): How many parts to list (1 to 25). The counts cover every match.

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "stock_find",
    "arguments": {
      "q": "Trail bike rental"
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Brake pads: two matching stock items."
      }
    ]
  }
}
```

### stock_levels

Clothes and other products the shop sells off the shelf by size and colour (t-shirts, hoodies, jackets, socks, gloves; magliette, felpe), and how many are on the shelf per size: 'how many white t-shirts do I have in the shop', 'do we still have the hoodie in M'. q is the product without colour or size words; colour, size and place only when said. Per size: on_shelf, free, sold_4w (sold in 4 weeks), per_week, and note (when it runs out or since when it is sold out: quote it as it is). facts: products, units_on_shelf, units_free; quote facts[*].display, never add them up. place_match none or several: the counts cover every place. Parts and consumables without sizes (tyres, pads): stock_find.

- `q` (string, required): The product in the person's words, without the colour, the size, 'how many' or 'in the shop' when you can split them: t-shirt, hoodie, socks, maglietta, a brand or a code.
- `colour` (string): The colour, only when the person said one: white, bianco.
- `size` (string): The size, only when the person said one: M, 42, XL.
- `place` (string): The place as the person said it, only when they named one: the lake shop, Riva.
- `limit` (integer): How many products to list (1 to 10).

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "stock_levels",
    "arguments": {
      "q": "Trail bike rental"
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Brake pads: 12 on hand, reorder point 6."
      }
    ]
  }
}
```

### stock_reorder_read

What is running low and what to reorder: products below their minimum or out of stock, per place, out of stock first. Each row: product (with colour and size), place, on_hand, free, min_qty, reorder_qty, to_order (how many to order now, after what is on order), on_order (on open purchase orders), supplier. facts: low, out_of_stock, to_order_units, on_order_units; quote facts[*].display exactly, never add rows up. what out: out of stock only. One product by size: stock_levels.

- `what` (string): low: below the minimum or out of stock (default); out: out of stock only. Values: `low`, `out`.
- `q` (string): The product's words (name, code, brand, colour, size), only when the person named products: 'pads', 'tubes 29'.
- `location_ids` (string · uuid[]): Place ids from shop_context, only when the person named a place.
- `limit` (integer): How many rows at most (1 to 50).

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "stock_reorder_read",
    "arguments": {
      "what": "low",
      "q": null,
      "location_ids": null,
      "limit": 20
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "What is running low and what to reorder: products below their minimum or out of stock, per place, out of stock first. Each row: product (with colour and size), place, on_hand, free, min_qty, reorder_qty, to_order (how many to order now, after what is on order), on_order (on open purchase orders), supplier. facts: low, out_of_stock, to_order_units, on_order_units; quote facts[*].display exactly, never add rows up. what out: out of stock only. One product by size: stock_levels."
      }
    ]
  }
}
```

### demand_misses_read

Customers turned away: the days customers asked, on the website or at the desk, for something the shop did not have free, by day, product and size, with how many times it was asked and how many units were short. Use it for 'did we turn anyone away', 'what did people ask for that we did not have', 'which sizes run out'. Default the last 365 days; first_day and last_day together, at most 366 days apart. Quote facts[*].display exactly (misses, days, units_short); never count rows yourself. misses 0 means none are recorded: say so, never that there is no data.

- `first_day` (string · date): The first asked day counted. With last_day.
- `last_day` (string · date): The last asked day, at most 366 days after first_day. Leave both out for the last 365 days.
- `location_ids` (string · uuid[]): Place ids from shop_context, only when the person named a place.
- `limit` (integer): How many rows at most (1 to 50).

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "demand_misses_read",
    "arguments": {
      "first_day": null,
      "last_day": null,
      "location_ids": null,
      "limit": 20
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Customers turned away: the days customers asked, on the website or at the desk, for something the shop did not have free, by day, product and size, with how many times it was asked and how many units were short. Use it for 'did we turn anyone away', 'what did people ask for that we did not have', 'which sizes run out'. Default the last 365 days; first_day and last_day together, at most 366 days apart. Quote facts[*].display exactly (misses, days, units_short); never count rows yourself. misses 0 means none are recorded: say so, never that there is no data."
      }
    ]
  }
}
```

### fleet_upkeep_read

The rental fleet's upkeep and earnings per unit. mode service_due: units due a service now or soon (Which bikes are due a service?), each with its rule, how much it was used of the interval and its state (overdue, due, soon); facts due, overdue, soon. mode earnings: what each unit earned, cost in repairs and left this season (season is the period), lowest first; facts units, rental_days, earned, repairs, net. mode retire: which units to sell (Which bikes should I retire or sell?), each with its reason (repairs_over_earnings, loses_money, low_use, often_repaired); facts to_sell and advice (the unit numbers to name). Pass q for a kind or model (bikes, e-bikes). Quote facts[*].display exactly; never add, convert or round. If hidden names money, give no amount.

- `mode` (string, required): service_due: units due a service now or soon; earnings: what each unit earned and cost in repairs this season; retire: which units to sell, each with its reason. Values: `service_due`, `earnings`, `retire`.
- `q` (string): Only units of this kind, model or number, as the person named it (bikes, e-bikes, skis, 7).
- `location_ids` (string · uuid[]): Place ids from shop_context, only when the person named a place.
- `limit` (integer): How many rows at most (1 to 50).

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "fleet_upkeep_read",
    "arguments": {
      "mode": "service_due"
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "The rental fleet's upkeep and earnings per unit. mode service_due: units due a service now or soon (Which bikes are due a service?), each with its rule, how much it was used of the interval and its state (overdue, due, soon); facts due, overdue, soon. mode earnings: what each unit earned, cost in repairs and left this season (season is the period), lowest first; facts units, rental_days, earned, repairs, net. mode retire: which units to sell (Which bikes should I retire or sell?), each with its reason (repairs_over_earnings, loses_money, low_use, often_repaired); facts to_sell and advice (the unit numbers to name). Pass q for a kind or model (bikes, e-bikes). Quote facts[*].display exactly; never add, convert or round. If hidden names money, give no amount."
      }
    ]
  }
}
```

### gear_booked

Gear booked over a range of days, from the shop's own bookings: how many skis, bikes or helmets are booked, the most booked on one day (facts.booked_peak, facts.peak_day), the busiest days and each model with how many it owns. Answers 'how many skis are booked next month', 'what is our busiest day'. Quote facts[*].display and suggestion.say exactly; never add, convert or round, never invent a number; if complete is false say 'at least'. One call for the whole range; for several gear questions call the gear tools together in one step.

- `first_day` (string · date, required): First day of the range, YYYY-MM-DD, in the shop's time zone (today for 'coming up').
- `last_day` (string · date, required): Last day of the range, YYYY-MM-DD, up to 61 days after first_day (next month: today to 30 days on). The same as first_day for one day.
- `q` (string): Gear words only, to narrow to a type, model or size: skis, e-bike, helmet, kids. Never the question ('how many skis' is q skis); leave it out for all gear.
- `location_ids` (string · uuid[]): Place ids from shop_context, only when the person named a place.
- `cursor` (string): Where to carry on, from a list a read gave earlier. Only for Show all.
- `limit` (integer): How many rows at most (1 to 50).

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "gear_booked",
    "arguments": {
      "first_day": "2026-07-18",
      "last_day": "2026-07-18"
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Gear booked over a range of days, from the shop's own bookings: how many skis, bikes or helmets are booked, the most booked on one day (facts.booked_peak, facts.peak_day), the busiest days and each model with how many it owns. Answers 'how many skis are booked next month', 'what is our busiest day'. Quote facts[*].display and suggestion.say exactly; never add, convert or round, never invent a number; if complete is false say 'at least'. One call for the whole range; for several gear questions call the gear tools together in one step."
      }
    ]
  }
}
```

### gear_short

Short days for gear over a range: the days every rentable unit of a model is taken (short) or more is booked than there is (over), per model with the days and how many short. Answers 'are we short', 'is there a shortage of equipment', 'which days are we short'. When facts.short_days is 0 say plainly there is no shortage for the period. Quote facts[*].display and suggestion.say exactly; never add, convert or round, never invent a number; if complete is false say 'at least'. One call for the whole range; for several gear questions call the gear tools together in one step.

- `first_day` (string · date, required): First day of the range, YYYY-MM-DD, in the shop's time zone (today for 'coming up').
- `last_day` (string · date, required): Last day of the range, YYYY-MM-DD, up to 61 days after first_day (next month: today to 30 days on). The same as first_day for one day.
- `q` (string): Gear words only, to narrow to a type, model or size: skis, e-bike, helmet, kids. Never the question ('how many skis' is q skis); leave it out for all gear.
- `location_ids` (string · uuid[]): Place ids from shop_context, only when the person named a place.
- `cursor` (string): Where to carry on, from a list a read gave earlier. Only for Show all.
- `limit` (integer): How many rows at most (1 to 50).

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "gear_short",
    "arguments": {
      "first_day": "2026-07-18",
      "last_day": "2026-07-18"
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Short days for gear over a range: the days every rentable unit of a model is taken (short) or more is booked than there is (over), per model with the days and how many short. Answers 'are we short', 'is there a shortage of equipment', 'which days are we short'. When facts.short_days is 0 say plainly there is no shortage for the period. Quote facts[*].display and suggestion.say exactly; never add, convert or round, never invent a number; if complete is false say 'at least'. One call for the whole range; for several gear questions call the gear tools together in one step."
      }
    ]
  }
}
```

### gear_buy

What to buy or move for the short days of a range: per model the read's own suggestion (buy, move from another place, or fully booked with no booking at risk) and facts.buy_units, facts.move_units. Answers 'do I need to buy more', 'what should I buy'. Be honest: when nothing is short there is no need to buy more. Recommend only what suggestion says. Quote facts[*].display and suggestion.say exactly; never add, convert or round, never invent a number; if complete is false say 'at least'. One call for the whole range; for several gear questions call the gear tools together in one step.

- `first_day` (string · date, required): First day of the range, YYYY-MM-DD, in the shop's time zone (today for 'coming up').
- `last_day` (string · date, required): Last day of the range, YYYY-MM-DD, up to 61 days after first_day (next month: today to 30 days on). The same as first_day for one day.
- `q` (string): Gear words only, to narrow to a type, model or size: skis, e-bike, helmet, kids. Never the question ('how many skis' is q skis); leave it out for all gear.
- `location_ids` (string · uuid[]): Place ids from shop_context, only when the person named a place.
- `cursor` (string): Where to carry on, from a list a read gave earlier. Only for Show all.
- `limit` (integer): How many rows at most (1 to 50).

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "gear_buy",
    "arguments": {
      "first_day": "2026-07-18",
      "last_day": "2026-07-18"
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "What to buy or move for the short days of a range: per model the read's own suggestion (buy, move from another place, or fully booked with no booking at risk) and facts.buy_units, facts.move_units. Answers 'do I need to buy more', 'what should I buy'. Be honest: when nothing is short there is no need to buy more. Recommend only what suggestion says. Quote facts[*].display and suggestion.say exactly; never add, convert or round, never invent a number; if complete is false say 'at least'. One call for the whole range; for several gear questions call the gear tools together in one step."
      }
    ]
  }
}
```

### store_products_find

Products in the shop's online store by words (a name, a brand, a model): their slug, state (draft, live, archived), price range in cents and what they still need before going live. Use it before any other store tool that names a product, and say titles, never slugs.

- `q` (string, required): The product in the person's words: a name, a brand, a model.
- `limit` (integer): How many rows at most (1 to 50).

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "store_products_find",
    "arguments": {
      "q": "Trail bike rental"
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Products in the shop's online store by words (a name, a brand, a model): their slug, state (draft, live, archived), price range in cents and what they still need before going live. Use it before any other store tool that names a product, and say titles, never slugs."
      }
    ]
  }
}
```

### store_proposals

The Oracle's store proposals (price lists, product pages, photo cleanups, words, grouping) with how many price changes, new models, already right and need the person each holds. Say the say sentence; they review and apply them in Store, Approvals.

- `state` (string): to_review (the default) for what waits; applied for what was done. Values: `to_review`, `applied`, `undone`, `discarded`.
- `kind` (string): Only one kind, when asked. Values: `price_list`, `link`, `photos`, `words`, `grouping`, `markdown`, `stranded`.
- `limit` (integer): How many rows at most (1 to 50).

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "store_proposals",
    "arguments": {
      "state": "to_review",
      "kind": null,
      "limit": 20
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "The Oracle's store proposals (price lists, product pages, photo cleanups, words, grouping) with how many price changes, new models, already right and need the person each holds. Say the say sentence; they review and apply them in Store, Approvals."
      }
    ]
  }
}
```

## People and shifts

### people_find

Team members and customers the person may see, by name, number or reference.

- `q` (string): A name, number or reference.
- `limit` (integer): How many rows at most (1 to 50).

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "people_find",
    "arguments": {
      "q": null,
      "limit": 20
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Found one matching team member in the demo shop."
      }
    ]
  }
}
```

### people_on_duty

Who is on a shift or a tour crew in a time window (at most 7 days).

- `starts_at` (string · date-time, required): Window start, ISO date and time with the shop's offset.
- `ends_at` (string · date-time, required): Window end, at most 7 days after the start.
- `limit` (integer): How many rows at most (1 to 50).

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "people_on_duty",
    "arguments": {
      "starts_at": "2026-07-18T09:00:00Z",
      "ends_at": "2026-07-18T09:00:00Z"
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Two team members are on duty today."
      }
    ]
  }
}
```

### schedules_shifts

The published shifts for a day range (at most 14 days). Crew see only their own shifts.

- `first_day` (string · date, required): 
- `last_day` (string · date, required): At most 14 days after first_day.
- `location_ids` (string · uuid[]): Place ids from shop_context, only when the person named a place.
- `limit` (integer): How many rows at most (1 to 50).

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "schedules_shifts",
    "arguments": {
      "first_day": "2026-07-18",
      "last_day": "2026-07-18"
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Two shifts are scheduled for Saturday, 18 July."
      }
    ]
  }
}
```

### customer_read

One customer: since when, their upcoming bookings (up to 3, with how many), how many bookings before and the last one's day, how many units of theirs came back damaged, what they still owe, whether the next booking's waiver is signed and whether a waiver is on file, their open workshop jobs and how many were done, and family: the customer (relation self) and each family rider with their newest sizes on file (height, weight, shoe, level, bike size; a size not listed was never recorded). Pass customer_id from a read in this request, or q with their name or a booking reference. If the answer says ambiguous, ask which one they mean (the choice card lists them) and call again with that customer_id; never guess. Quote facts[*].display exactly. Contact details are never returned.

- `customer_id` (string · uuid): A customer id a read returned in this request.
- `q` (string): The customer's name (or part of it) or a booking reference, when no read gave an id.

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "customer_read",
    "arguments": {
      "customer_id": null,
      "q": null
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "The selected guest has one upcoming booking."
      }
    ]
  }
}
```

### time_off_read

Time off and open shifts over a range of days (first_day to last_day, at most 31 days; default today and the next six days). Rows by kind: off (approved time off overlapping the days: person, leave_kind holiday, sick, off or permit, starts_on, ends_on, part day times), request (a time off request still waiting for a decision, whatever its days, with asked_on) and open_shift (a published shift with nobody on it: work_date, starts, ends, position, place, asks: how many asked to take it). what narrows to one kind. Facts people_off, open_requests, open_shifts: quote their display exactly; never count rows yourself.

- `first_day` (string · date): First day; default today.
- `last_day` (string · date): Last day, at most 31 days after first_day; default first_day + 6.
- `what` (string): all; off: approved time off; requests: requests waiting for a decision; open_shifts: published shifts with nobody on them. Values: `all`, `off`, `requests`, `open_shifts`.
- `location_ids` (string · uuid[]): Place ids from shop_context, only when the person named a place.
- `facet` (string): Only for Show all: a quick filter from the card. Values: `off`, `requests`, `open_shifts`.
- `limit` (integer): How many rows at most (1 to 50).

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "time_off_read",
    "arguments": {
      "first_day": null,
      "last_day": null,
      "what": "all",
      "location_ids": null,
      "facet": null,
      "limit": 20
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Time off and open shifts over a range of days (first_day to last_day, at most 31 days; default today and the next six days). Rows by kind: off (approved time off overlapping the days: person, leave_kind holiday, sick, off or permit, starts_on, ends_on, part day times), request (a time off request still waiting for a decision, whatever its days, with asked_on) and open_shift (a published shift with nobody on it: work_date, starts, ends, position, place, asks: how many asked to take it). what narrows to one kind. Facts people_off, open_requests, open_shifts: quote their display exactly; never count rows yourself."
      }
    ]
  }
}
```

## Tours

### tours_departures

Tour departures in a day range (at most 31 days), soonest first: each with its key, who guides and drives, seats left, and whether crew is missing or it is below the minimum. Facts: departures, below_minimum, crew_missing. For one departure in full (guests, waivers, crew slots), call tours_departure with its key. Quote facts[*].display exactly.

- `first_day` (string · date, required): 
- `last_day` (string · date, required): At most 31 days after first_day.
- `location_ids` (string · uuid[]): Place ids from shop_context, only when the person named a place.
- `status` (string): 
- `facet` (string): Only for Show all: a quick filter from the card. Values: `crew_missing`, `below_minimum`.
- `cursor` (string): Where to carry on, from a list a read gave earlier. Only for Show all.
- `limit` (integer): How many rows at most (1 to 50).

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "tours_departures",
    "arguments": {
      "first_day": "2026-07-18",
      "last_day": "2026-07-18"
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "The mountain ride has two published departures this week."
      }
    ]
  }
}
```

### tours_departure

One tour departure in full, by a key tours_departures returned in this request: seats taken of seats, the meeting point, every crew slot with what is missing, the vehicle, and the guest bookings with how many have not signed a waiver. Facts: seats_taken, seats, seats_left, guests, people, not_signed, crew_missing, day, starts_at. Quote facts[*].display exactly.

- `departure_key` (string, required): A departure key tours_departures returned in this request.

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "tours_departure",
    "arguments": {
      "departure_key": "Trail bike rental"
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Mountain ride, 18 July at 09:30: four places remain."
      }
    ]
  }
}
```

### tours_go_no_go_read

Departures that have not started, are not cancelled and have fewer riders than their minimum, soonest first (first_day to last_day, at most 31 days; default today and the next 30 days): 'which tours should I call off', 'which departures are below the minimum'. Each with key, tour, starts_at, seats_taken, min_riders, short_by, go_no_go_at, decision as stored, and advice: call_off (the go or no go time has passed or is within 24 hours and it is still short), decide_soon (within 72 hours), wait (later), no_time (the tour sets no go or no go time). Facts below_minimum, call_off, decide_today, next_decision_at: quote display exactly; never count rows yourself. Nothing is cancelled by this read.

- `first_day` (string · date): First day; default today.
- `last_day` (string · date): Last day, at most 31 days after first_day; default first_day + 30.
- `location_ids` (string · uuid[]): Place ids from shop_context, only when the person named a place.
- `limit` (integer): How many rows at most (1 to 50).

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "tours_go_no_go_read",
    "arguments": {
      "first_day": null,
      "last_day": null,
      "location_ids": null,
      "limit": 20
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Departures that have not started, are not cancelled and have fewer riders than their minimum, soonest first (first_day to last_day, at most 31 days; default today and the next 30 days): 'which tours should I call off', 'which departures are below the minimum'. Each with key, tour, starts_at, seats_taken, min_riders, short_by, go_no_go_at, decision as stored, and advice: call_off (the go or no go time has passed or is within 24 hours and it is still short), decide_soon (within 72 hours), wait (later), no_time (the tour sets no go or no go time). Facts below_minimum, call_off, decide_today, next_decision_at: quote display exactly; never count rows yourself. Nothing is cancelled by this read."
      }
    ]
  }
}
```

## Bookings and money

### money_takings

Money for a day range by area, from the same money in as Finance: rentals, tours, shuttles (the value booked, by the booking's first day, not money received), the workshop, shop sales, online payments, the till (in its parts), or all of them with a breakdown; by day up to 31 days, by week beyond; compare with the period before or the same days last year. received (rentals, tours, shuttles, workshop, shop, all) is the money actually paid over the days for those streams; booked_paid and still_owed (rentals, tours, shuttles, all) are what the bookings starting in the period paid and still owe, owing_bookings how many owe. comparable no: the two periods hold different kinds of money (main_stream, compare_main_stream), so there is no change to give. Quote facts[*].display exactly: total, count, compare_total, change_pct with direction up, down or same; <area>_total for all; for the till (from its tenders) paid_total, to_collect, on_account, refunded_total, kept_total; for the days in costs_window: booked_in, costs, booked_less_costs (the booked value less costs, never money the shop has) and booked_vs_costs (above, below or even); received_less_costs and received_result (made, lost or even, all only: the whole shop), the only figures that say whether the shop made money; with a comparison compare_booked_in, compare_costs_total, compare_booked_less_costs (or compare_costs not_recorded when the comparison has no cost on record); for one day came_in, the money that came in that day. Never add, convert or round. hidden booked_less_costs: costs are not shown for their role.

- `area` (string, required): rentals, tours, shuttles: the value booked on bookings by their first day, as Finance counts money in (booked, not money received: received, booked_paid and still_owed say what came in and what is owed); workshop: the value of jobs collected (an invoice or link may be unpaid); shop: the till's goods sold (shop sales); online: paid online; till: what the till rang up, with paid, still to collect and refunded; all: every stream with a breakdown. Values: `rentals`, `tours`, `shuttles`, `workshop`, `shop`, `online`, `till`, `all`.
- `first_day` (string · date, required): 
- `last_day` (string · date, required): At most 366 days after first_day. "This week" is Monday to today. Up to 31 days comes by day, longer by week.
- `compare` (string): previous_period: the same length just before; last_year: the same days a year earlier. Values: `none`, `previous_period`, `last_year`.
- `location_ids` (string · uuid[]): Place ids from shop_context, only when the person named a place.

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "money_takings",
    "arguments": {
      "area": "rentals",
      "first_day": "2026-07-18",
      "last_day": "2026-07-18"
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Today: EUR 180.00 collected from three bookings."
      }
    ]
  }
}
```

### bookings_read

Bookings: who comes in (which=starting) and who returns (which=ending) on a day or over a range of days (day and to, for example this week: one call for the whole range), who is out on hire (out), or all of them; bookings matching a customer name or a reference (mode find); or one booking in full with its lines, the unit numbers given out, what is paid and owed, and its waivers (mode one, by the reference the person gave, OG-1014 or 1014, or a booking_id a read returned in this request). Facts give the total, the first time, on a day or range with which all also starting (pick ups), ending (returns) and on_hire (bookings with gear out over the day), how many still owe and how many have not signed: quote facts[*].display exactly; never add, convert or round. A range also gives summary: the bookings per week and per kind with how many still owe (owed as display text); answer 'how many bookings next month' from facts.total and the summary, never from the rows. Without the money scope the amounts are hidden.

- `mode` (string, required): day: who comes in and who returns on a day; find: bookings matching words or a reference; one: one booking in full. Values: `day`, `find`, `one`.
- `day` (string · date): mode day: the day, YYYY-MM-DD, in the shop's time zone; with to, the first day.
- `to` (string · date): mode day: the last day of a range (this week, next week, a weekend), YYYY-MM-DD, up to 30 days after day. One call for the whole range, never one call per day.
- `which` (string): mode day: starting (pick-ups), ending (returns), out (on hire and not back yet, on that day or any day of the range) or all. Values: `all`, `starting`, `ending`, `out`.
- `q` (string): mode find: customer name words or a booking reference.
- `booking_id` (string · uuid): mode one: a booking id a read returned in this request.
- `reference` (string): mode one: the booking's reference as the person said or wrote it (OG-1014, og 1014, #1014 or just 1014).
- `location_ids` (string · uuid[]): Place ids from shop_context, only when the person named a place.
- `facet` (string): Only for Show all: a quick filter from the card. Values: `owes`, `not_signed`, `tours`, `transfers`, `starting`, `ending`.
- `cursor` (string): Where to carry on, from a list a read gave earlier. Only for Show all.
- `limit` (integer): How many rows at most (1 to 50).

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "bookings_read",
    "arguments": {
      "mode": "day"
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Booking OG-7K2P9 is confirmed for 18 July."
      }
    ]
  }
}
```

### balances_read

What customers still owe on open bookings, largest first: the total to collect, how many bookings, how many are late (their first day has passed), and each booking with its customer, what it is and its amount. Quote facts[*].display exactly; never add, convert or round. Without the money scope the amounts are hidden.

- `overdue_only` (boolean): Only bookings whose first day has passed and still owe.
- `location_ids` (string · uuid[]): Place ids from shop_context, only when the person named a place.
- `facet` (string): Only for Show all: a quick filter from the card. Values: `overdue`, `due_soon`.
- `cursor` (string): Where to carry on, from a list a read gave earlier. Only for Show all.
- `limit` (integer): How many rows at most (1 to 50).

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "balances_read",
    "arguments": {
      "overdue_only": false,
      "location_ids": null,
      "facet": null,
      "cursor": null,
      "limit": 20
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "The selected booking has EUR 45.00 due at the shop."
      }
    ]
  }
}
```

### finance_read

The shop's Finance figures, as the Finance screen shows them. mode overview: money in and money out for a period (this month, this season, this year, or from and to) with the change against last year, fees, left over, money in by stream and money out by kind of cost (staff, stock, rent, vans, fees, software; rows with this period, last_year and change_pct), and the bank by month (bank_months, bank_line; facts cash_low and cash_low_month: when cash is lowest this year). mode forecast_month: what the forecast expects for one month (facts expected, low, high), why (steps from last year to the expected, each with its label and amount, events among them), every scenario's value, and how sure (confidence: quote it). Quote facts[*].display and the display text exactly; never add, subtract, convert or round. hidden details or cash: that part is not shown for their role.

- `mode` (string, required): overview: money in and out for a period, costs by kind, fees, left over and the bank line by month (when cash is lowest). forecast_month: what the forecast expects for one month and why. Values: `overview`, `forecast_month`.
- `period` (string): overview only: this month, this season (the busy months around today) or this year (the default). Values: `month`, `season`, `year`.
- `from` (string · date): overview only: the first day of a custom range, with to.
- `to` (string · date): overview only: the last day of a custom range, at most 366 days after from.
- `month` (string): forecast_month only: the month, as 2026-10.
- `scenario` (string): forecast_month only: expected (the default), careful or bold.
- `location_ids` (string · uuid[]): Place ids from shop_context, only when the person named a place.

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "finance_read",
    "arguments": {
      "mode": "overview"
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "July rental revenue so far: EUR 1,240.00."
      }
    ]
  }
}
```

### cancellations_read

Cancelled bookings and no shows by reason, for bookings whose first day is in a span (default this month): each reason (customer_cancelled, did_not_come, other, or none when no reason was given) with its count, its share and, for someone who sees money, what those bookings were worth. Use it for 'how many cancellations in September', 'how many no shows', 'why do people cancel'. first_day and last_day together, at most 366 days apart. Quote facts[*].display exactly (cancelled, no_shows, customer_cancelled, bookings, cancel_rate_pct, lost); never add the rows yourself.

- `first_day` (string · date): The first day of the bookings counted (their first day). With last_day.
- `last_day` (string · date): The last day, at most 366 days after first_day. Leave both out for this month.
- `location_ids` (string · uuid[]): Place ids from shop_context, only when the person named a place.

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "cancellations_read",
    "arguments": {
      "first_day": null,
      "last_day": null,
      "location_ids": null
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Cancelled bookings and no shows by reason, for bookings whose first day is in a span (default this month): each reason (customer_cancelled, did_not_come, other, or none when no reason was given) with its count, its share and, for someone who sees money, what those bookings were worth. Use it for 'how many cancellations in September', 'how many no shows', 'why do people cancel'. first_day and last_day together, at most 366 days apart. Quote facts[*].display exactly (cancelled, no_shows, customer_cancelled, bookings, cancel_rate_pct, lost); never add the rows yourself."
      }
    ]
  }
}
```

## Purchasing

### supplier_orders_read

Purchase orders to suppliers: which are open (draft, sent, partly received), which are late (sent and past the expected day), when the next delivery is due, or every order. Each row: reference, supplier, state, lines, total (text to quote, money scope only), expected_on, sent_on, late, received (part received). facts: open_orders, drafts, sent, late, arriving_this_week, next_arrival, open_value; they cover every open order whatever the state asked. Quote facts[*].display exactly; never count rows or add totals yourself.

- `state` (string): open: drafts, sent and partly received orders (default); late: sent and past their expected day; all: every order, open ones first. Values: `open`, `late`, `all`.
- `q` (string): Part of a supplier's name or an order reference (PO-0012), only when the person named one.
- `limit` (integer): How many rows at most (1 to 50).

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "supplier_orders_read",
    "arguments": {
      "state": "open",
      "q": null,
      "limit": 20
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Purchase orders to suppliers: which are open (draft, sent, partly received), which are late (sent and past the expected day), when the next delivery is due, or every order. Each row: reference, supplier, state, lines, total (text to quote, money scope only), expected_on, sent_on, late, received (part received). facts: open_orders, drafts, sent, late, arriving_this_week, next_arrival, open_value; they cover every open order whatever the state asked. Quote facts[*].display exactly; never count rows or add totals yourself."
      }
    ]
  }
}
```

## Vat

### vat_read

VAT for a quarter, the same figures as the Finance VAT screen: VAT on sales by rate, VAT on purchases the shop can claim back, and the VAT owed (sales less purchases). quarter as 2026-Q3; leave it out for this quarter, which counts the months begun so far (so_far: the quarter is not over). due_on is the next day a return must be paid when the company's form has one; else due_rule says when in words. Quote facts[*].display and the row texts exactly (vat_out, vat_in, vat_owed, sales_net, due_on); never add, subtract or round.

- `quarter` (string): The quarter, as 2026-Q3. Leave it out for this quarter.

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "vat_read",
    "arguments": {
      "quarter": null
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "VAT for a quarter, the same figures as the Finance VAT screen: VAT on sales by rate, VAT on purchases the shop can claim back, and the VAT owed (sales less purchases). quarter as 2026-Q3; leave it out for this quarter, which counts the months begun so far (so_far: the quarter is not over). due_on is the next day a return must be paid when the company's form has one; else due_rule says when in words. Quote facts[*].display and the row texts exactly (vat_out, vat_in, vat_owed, sales_net, due_on); never add, subtract or round."
      }
    ]
  }
}
```

## Inbox

### messages_read

Guest conversations nobody has answered yet (WhatsApp, email, Instagram, Facebook, website chat): the guest wrote last and no reply went out after it, oldest wait first. Each row: the guest's name (who, absent when unknown), channel, waiting_since and waiting_minutes. Pass channel only when the person named one. Never quote a phone number, an email or what a guest wrote: the read has none. Quote facts[*].display exactly (unanswered, over_24h, oldest_since); never count rows yourself.

- `channel` (string): Only conversations on this channel, when the person named one. Values: `web_chat`, `email`, `whatsapp`, `instagram`, `facebook`, `sms`.
- `limit` (integer): How many rows at most (1 to 50).

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "messages_read",
    "arguments": {
      "channel": null,
      "limit": 20
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Guest conversations nobody has answered yet (WhatsApp, email, Instagram, Facebook, website chat): the guest wrote last and no reply went out after it, oldest wait first. Each row: the guest's name (who, absent when unknown), channel, waiting_since and waiting_minutes. Pass channel only when the person named one. Never quote a phone number, an email or what a guest wrote: the read has none. Quote facts[*].display exactly (unanswered, over_24h, oldest_since); never count rows yourself."
      }
    ]
  }
}
```

## Setup

### setup_gaps_read

The shop's setup checklist steps not done yet, the same list as Before you open and Settings, in checklist order: each step's label (en, it), its number, whether going live needs it (required_for_live) and the page that fixes it. go_live_ready says whether the shop can go live. Use it for 'what is left to set up', 'can we go live', 'what is missing'. Quote facts[*].display exactly (gaps, required_left, done, total); never count rows yourself.

- `limit` (integer): How many rows at most (1 to 50).

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "setup_gaps_read",
    "arguments": {
      "limit": 20
    }
  }
}
```

Result example:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "The shop's setup checklist steps not done yet, the same list as Before you open and Settings, in checklist order: each step's label (en, it), its number, whether going live needs it (required_for_live) and the page that fixes it. go_live_ready says whether the shop can go live. Use it for 'what is left to set up', 'can we go live', 'what is missing'. Quote facts[*].display exactly (gaps, required_left, done, total); never count rows yourself."
      }
    ]
  }
}
```
