---
title: "MCP appointment tools — HyperCRM"
description: "The four MCP tools for bookings, chair blocks and availability: every argument, an example call, the result shape, and the rule that rejects overlaps."
canonical: "https://hypercrm.app/docs/mcp/appointments"
lang: "en"
updated: "2026-07-26"
---

_MCP reference / Appointments_

# Appointment tools

Four tools covering bookings, chair-blocking entries and computed availability. Overlapping bookings on the same chair are rejected rather than silently accepted.

[Start the free trial](/dashboard) · [All 60 tools](/docs/mcp/tools)

## How to read this

Each tool below lists its arguments exactly as the input schema declares them — the type, whether it is required, and the permitted values where the schema fixes them. There are no argument descriptions: the schemas carry types, not prose, and inventing a sentence per argument would be writing fiction about a contract.

`practiceId` is never an argument. It comes from your token, and the write paths strip it if a client sends one anyway.

Every example is a complete `tools/call` request with this tool's required arguments filled in. Errors are returned inside a `200` response with `isError` set — see the [MCP overview](/docs/mcp) for that envelope, and the [full catalogue](/docs/mcp/tools) for every tool at a glance.

Bookings, chair-blocking entries, and derived availability.

### list_appointments

_Read-only, Any member_

List appointments in a time window. Pass chairId to restrict to one chair.

**Arguments**

| Tool | Type | Required? |
| --- | --- | --- |
| `from` | `string` | Required |
| `to` | `string` | Required |
| `chairId` | `string` | Optional |

**Example call**

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_appointments",
    "arguments": {
      "from": "2026-07-08T09:00:00.000Z",
      "to": "2026-07-08T17:00:00.000Z"
    }
  }
}
```

**Result**

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "structuredContent": {
      "status": 200,
      "ok": true,
      "data": { "...": "the requested records" }
    }
  }
}
```

**Errors**

| Code | Status | When |
| --- | --- | --- |
| `validation_failed` | 400 | An argument is missing, of the wrong type, or outside its allowed values. |
| `not_found` | 404 | The id does not exist in your practice. A malformed id looks identical. |
| `unauthorized` | 401 | The bearer token is missing, invalid or expired. |

### get_appointment

_Read-only, Any member_

Read a single appointment by id.

**Arguments**

| Tool | Type | Required? |
| --- | --- | --- |
| `appointmentId` | `string` | Required |

**Example call**

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_appointment",
    "arguments": {
      "appointmentId": "0f1c7a2e-...."
    }
  }
}
```

**Result**

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "structuredContent": {
      "status": 200,
      "ok": true,
      "data": { "...": "the requested records" }
    }
  }
}
```

**Errors**

| Code | Status | When |
| --- | --- | --- |
| `validation_failed` | 400 | An argument is missing, of the wrong type, or outside its allowed values. |
| `not_found` | 404 | The id does not exist in your practice. A malformed id looks identical. |
| `unauthorized` | 401 | The bearer token is missing, invalid or expired. |

### get_appointment_availability

_Read-only, Any member_

Compute the free slots on a chair for one calendar day, honouring the practice's opening hours, timezone and existing bookings.

**Arguments**

| Tool | Type | Required? |
| --- | --- | --- |
| `chairId` | `string` | Required |
| `date` | `string` | Required |
| `durationMinutes` | `integer` | Optional |

**Example call**

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_appointment_availability",
    "arguments": {
      "chairId": "0f1c7a2e-....",
      "date": "2026-07-08"
    }
  }
}
```

**Result**

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "structuredContent": {
      "status": 200,
      "ok": true,
      "data": { "...": "the requested records" }
    }
  }
}
```

**Errors**

| Code | Status | When |
| --- | --- | --- |
| `validation_failed` | 400 | An argument is missing, of the wrong type, or outside its allowed values. |
| `not_found` | 404 | The id does not exist in your practice. A malformed id looks identical. |
| `unauthorized` | 401 | The bearer token is missing, invalid or expired. |

### write_appointment

_Writes, Can delete, Any member_

Create, update or cancel an appointment. action=create requires chairId, startAt and endAt; update and cancel require appointmentId. type is appointment, reminder or unavailable. Overlapping bookings on the same chair are rejected.

**Arguments**

| Tool | Type | Required? |
| --- | --- | --- |
| `action` | `create` \\| `update` \\| `confirm` \\| `decline` \\| `cancel` | Required |
| `appointmentId` | `string` | Optional |
| `type` | `appointment` \\| `reminder` \\| `unavailable` | Optional |
| `startAt` | `string` | Optional |
| `endAt` | `string` | Optional |
| `chairId` | `string` | Optional |
| `patientId` | `string` | Optional |
| `practitionerId` | `string` | Optional |
| `title` | `string` | Optional |
| `color` | `string` | Optional |
| `serviceRef` | `string` | Optional |
| `notes` | `string` | Optional |

**Example call**

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

**Result**

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "structuredContent": {
      "status": 200,
      "ok": true,
      "data": { "...": "the written record" }
    }
  }
}
```

**Errors**

| Code | Status | When |
| --- | --- | --- |
| `validation_failed` | 400 | An argument is missing, of the wrong type, or outside its allowed values. |
| `not_found` | 404 | The id does not exist in your practice. A malformed id looks identical. |
| `unauthorized` | 401 | The bearer token is missing, invalid or expired. |

## Common questions

### How is patient data protected?

Patient records are encrypted in transit and at rest, files are stored privately and served through short-lived signed links, and every change is written to an audit log. Staff accounts sign in with passkeys rather than shared passwords.

### Can I export my data?

Yes. Every list in HyperCRM exports to CSV from the app, and your files can be downloaded at any time. Your practice data belongs to you, and there is no export fee or waiting period — on either plan, during the trial, and after you cancel.

### How much does HyperCRM cost?

HyperCRM is paid software. Every practice starts with a 30-day free trial of the full Complete plan, with no card required. After that, plans start at €19 and €29 a month excluding VAT, banded by how many practitioners you have. Every price is printed on the pricing page rather than quoted on a call.