{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "mcp.doctofam.com",
    "site": "doctofam.com",
    "addresses": [
      {
        "address": "34.226.179.15",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 14618,
          "name": "AMAZON-AES - Amazon.com, Inc.",
          "prefix": "34.224.0.0/12",
          "country": "US"
        }
      },
      {
        "address": "184.193.43.139",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 16509,
          "name": "AMAZON-02 - Amazon.com, Inc.",
          "prefix": "184.192.0.0/10",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "34.226.179.15",
          "184.193.43.139"
        ],
        "first_seen": "2026-11-23T14:16:13.078Z",
        "last_seen": "2026-11-23T14:16:13.078Z",
        "checks": 1
      },
      {
        "addresses": [
          "98.85.102.46",
          "52.20.182.191"
        ],
        "first_seen": "2026-11-22T14:16:03.067Z",
        "last_seen": "2026-11-22T14:16:03.067Z",
        "checks": 1
      }
    ],
    "hosting": [],
    "software": [],
    "server_info": {
      "name": "doctofam-mcp",
      "version": "0.2.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {},
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 0,
      "sample": []
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "com.doctofam",
      "total": 0,
      "sample": []
    },
    "same_repository": null,
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "9007",
    "server_name": "com.doctofam/doctofam",
    "url": "https://mcp.doctofam.com/mcp",
    "host": "mcp.doctofam.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-23T14:16:13.078Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "1e7758778905f31129ba1e33a80211aeebb864f2b6ff7252561b2fc5c22aa926",
    "first_listed_at": "2026-11-21T08:07:01.219Z",
    "created_at": "2026-11-21T05:40:08.308Z",
    "resolved_addresses": [
      "34.226.179.15",
      "184.193.43.139"
    ]
  },
  "server": {
    "name": "com.doctofam/doctofam",
    "title": "DoctoFam Medical Clinic",
    "description": "See your clinic's free slots, doctors, rooms, service prices and how busy each day is.",
    "version": "0.1.1",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://www.doctofam.com/developers/#mcp",
    "published_at": "2026-09-27T16:56:05.240Z",
    "updated_at": "2026-09-27T16:56:05.240Z",
    "first_seen": "2026-11-21T05:40:07.663Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [
      "takes-payment"
    ],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:08:07.124Z"
  },
  "operator": {
    "key": "doctofam.com",
    "name": "doctofam.com",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 3,
    "answered": 3,
    "answered_percent": 100,
    "avg_listing_latency_ms": 1175,
    "first_check_in_window": "2026-11-21T08:07:01.219Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-23",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "1e7758778905f31129ba1e33a80211aeebb864f2b6ff7252561b2fc5c22aa926",
    "tools": 19,
    "resources": 4,
    "prompts": 0,
    "first_seen": "2026-11-21T08:07:02.570Z",
    "tool_names": [
      "list_clinics",
      "get_clinic",
      "get_clinic_schedule_summary",
      "list_procedures",
      "list_rooms",
      "list_calendar_events",
      "list_providers",
      "get_clinic_availability",
      "get_subscription_status",
      "find_patient",
      "list_appointments",
      "list_inventory_items",
      "book_appointment",
      "reschedule_appointment",
      "cancel_appointment",
      "create_patient",
      "update_patient",
      "set_inventory_quantity",
      "show_clinic_overview"
    ],
    "declared": {
      "tools": [
        {
          "name": "list_clinics",
          "title": "List your medical practices",
          "description": "Use this when someone asks which medical practices or doctor's offices they run in DoctoFam, or a practice's id is needed. Returns each practice's id, name, currency, default language and timezone, 20 per page by default. Not for finding a patient or a visit.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "description": "Practices per page, from 1 to 100; defaults to 20",
                "exclusiveMinimum": 0
              },
              "cursor": {
                "type": "string",
                "maxLength": 4096,
                "description": "The nextCursor of the previous page of this listing; absent for the first page"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "clinics",
              "nextCursor"
            ],
            "properties": {
              "clinics": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "name",
                    "currency",
                    "defaultLocale",
                    "timezone",
                    "lastEditTime"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[0-9a-f]{24}$"
                    },
                    "name": {
                      "type": "string",
                      "maxLength": 200
                    },
                    "currency": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^[A-Za-z]{3}$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "timezone": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 64
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "lastEditTime": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 32
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "defaultLocale": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 35
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 100,
                "description": "Medical practices in the signed-in organization, administrative metadata only. Patient, appointment and clinical records are never returned."
              },
              "nextCursor": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 4096
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Cursor for the next page; null on the last page"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "List your medical practices",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_clinic",
          "title": "Get medical practice details",
          "description": "Use this when someone asks about one medical practice's setup, such as its currency, language or timezone. Returns the practice's name, currency, default language, timezone and last edit time. Not for free consultation times.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "clinicId"
            ],
            "properties": {
              "clinicId": {
                "type": "string",
                "pattern": "^[0-9a-f]{24}$",
                "description": "Practice id: 24 lowercase hexadecimal characters"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "status",
              "clinic"
            ],
            "properties": {
              "clinic": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "id",
                      "name",
                      "currency",
                      "defaultLocale",
                      "timezone",
                      "lastEditTime"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^[0-9a-f]{24}$"
                      },
                      "name": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "currency": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^[A-Za-z]{3}$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "timezone": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 64
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "lastEditTime": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 32
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "defaultLocale": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 35
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Administrative practice metadata only; opening hours, staff, patient and appointment data are not included. Null when not found."
              },
              "status": {
                "enum": [
                  "found",
                  "not-found"
                ],
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get medical practice details",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_clinic_schedule_summary",
          "title": "Count patient visits per day",
          "description": "Use this when someone asks how busy their medical practice is or how many patient visits are booked each day. Returns appointment counts per UTC day for one practice, whatever their status, for the next 7 days by default and at most 31 days; counting stops at 100. Not for counting cancellations or seeing which patients are booked.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "clinicId"
            ],
            "properties": {
              "endTime": {
                "$ref": "#/properties/startTime",
                "description": "End of the range as an ISO 8601 date-time, after startTime and at most 31 days later; defaults to 7 days after the start"
              },
              "clinicId": {
                "type": "string",
                "pattern": "^[0-9a-f]{24}$",
                "description": "Practice id: 24 lowercase hexadecimal characters"
              },
              "startTime": {
                "type": "string",
                "maxLength": 32,
                "description": "Start of the range as an ISO 8601 date-time; defaults to now"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "range",
              "appointmentCount",
              "appointmentCountIsLowerBound",
              "days"
            ],
            "properties": {
              "days": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "day",
                    "appointmentCount"
                  ],
                  "properties": {
                    "day": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                    },
                    "appointmentCount": {
                      "type": "integer",
                      "maximum": 100,
                      "minimum": 0
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 100,
                "description": "One row per UTC day that has appointments, canceled ones included. Aggregate counts only: appointment identifiers and times, patient information, services, diagnoses and notes are never returned."
              },
              "range": {
                "type": "object",
                "required": [
                  "startTime",
                  "endTime"
                ],
                "properties": {
                  "endTime": {
                    "$ref": "#/properties/range/properties/startTime"
                  },
                  "startTime": {
                    "type": "string",
                    "maxLength": 32
                  }
                },
                "additionalProperties": false
              },
              "appointmentCount": {
                "type": "integer",
                "maximum": 100,
                "minimum": 0
              },
              "appointmentCountIsLowerBound": {
                "type": "boolean",
                "description": "True when more than 100 appointments fall in the range"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Count patient visits per day",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_procedures",
          "title": "Look up consultation and service prices",
          "description": "Use this when someone asks what their medical practice charges for a consultation, check-up, vaccination or other service, or which procedure to book. Returns catalog service ids and names with price and last edit time, alphabetically, 50 per page by default. Not for a patient's medical history or the care they received.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "description": "Services per page, from 1 to 100; defaults to 50",
                "exclusiveMinimum": 0
              },
              "cursor": {
                "type": "string",
                "maxLength": 4096,
                "description": "The nextCursor of the previous page with the same filters; absent for the first page"
              },
              "clinicId": {
                "type": "string",
                "pattern": "^[0-9a-f]{24}$",
                "description": "Only this practice (24 lowercase hexadecimal characters); every practice when absent"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "procedures",
              "nextCursor"
            ],
            "properties": {
              "nextCursor": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 4096
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Cursor for the next page; null on the last page"
              },
              "procedures": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "name",
                    "price",
                    "duration",
                    "lastEditTime"
                  ],
                  "properties": {
                    "id": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^[0-9a-f]{24}$"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Id to book with, as book_appointment takes it"
                    },
                    "name": {
                      "type": "string",
                      "maxLength": 200
                    },
                    "price": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Price in the practice's currency"
                    },
                    "duration": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Configured duration, or null when none was recorded"
                    },
                    "lastEditTime": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 32
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 100,
                "description": "Service catalog entries in name order, with the ids a booking takes. Patient-linked treatments, diagnoses and prescriptions are never returned."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Look up consultation and service prices",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_rooms",
          "title": "List consultation rooms",
          "description": "Use this when someone asks which consultation or exam rooms their medical practice has. Returns room names with last edit time for one practice, alphabetically, 50 per page by default. Not for room schedules or which patient uses a room.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "clinicId"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "description": "Rooms per page, from 1 to 100; defaults to 50",
                "exclusiveMinimum": 0
              },
              "cursor": {
                "type": "string",
                "maxLength": 4096,
                "description": "The nextCursor of the previous page with the same filters; absent for the first page"
              },
              "clinicId": {
                "type": "string",
                "pattern": "^[0-9a-f]{24}$",
                "description": "Practice id: 24 lowercase hexadecimal characters"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "rooms",
              "nextCursor"
            ],
            "properties": {
              "rooms": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "lastEditTime"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "maxLength": 200
                    },
                    "lastEditTime": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 32
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 100,
                "description": "Rooms in name order. Record identifiers, appointment links, patient information and clinical content are never returned."
              },
              "nextCursor": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 4096
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Cursor for the next page; null on the last page"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "List consultation rooms",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_calendar_events",
          "title": "List closures, holidays and blocked time",
          "description": "Use this when someone asks when their medical practice is closed, or when a doctor or room is blocked for holidays, sick leave, courses, meetings or maintenance. Returns each block or extra opening with start, end, all-day flag, scope and type (no titles or notes). Not for patient appointments.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "description": "Blocks per page, from 1 to 100; defaults to 20",
                "exclusiveMinimum": 0
              },
              "cursor": {
                "type": "string",
                "maxLength": 4096,
                "description": "The nextCursor of the previous page with the same filters; absent for the first page"
              },
              "endTime": {
                "$ref": "#/properties/startTime",
                "description": "Only blocks ending before this ISO 8601 date-time"
              },
              "clinicId": {
                "type": "string",
                "pattern": "^[0-9a-f]{24}$",
                "description": "Only this practice (24 lowercase hexadecimal characters); every practice when absent"
              },
              "startTime": {
                "type": "string",
                "maxLength": 32,
                "description": "Only blocks starting at or after this ISO 8601 date-time"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "calendarEvents",
              "nextCursor"
            ],
            "properties": {
              "nextCursor": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 4096
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Cursor for the next page; null on the last page"
              },
              "calendarEvents": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "startTime",
                    "endTime",
                    "allDay",
                    "scope",
                    "effect",
                    "type"
                  ],
                  "properties": {
                    "type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 64
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Label such as COURSE, MEETING, VACATION, SICK, HOLIDAY, MAINTENANCE or OTHER"
                    },
                    "scope": {
                      "anyOf": [
                        {
                          "enum": [
                            "SEAT",
                            "PROVIDER",
                            "CLINIC"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "CLINIC: the whole practice; PROVIDER: one or more staff; SEAT: one room"
                    },
                    "allDay": {
                      "type": "boolean"
                    },
                    "effect": {
                      "anyOf": [
                        {
                          "enum": [
                            "BLOCK",
                            "OPEN"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "BLOCK removes bookable time; OPEN adds hours on a normally closed time"
                    },
                    "endTime": {
                      "anyOf": [
                        {
                          "$ref": "#/properties/calendarEvents/items/properties/startTime/anyOf/0"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "startTime": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 32
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 100,
                "description": "Non-appointment calendar blocks, earliest first. Event identifiers, staff and room references, titles, notes and patient links are never returned."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "List closures, holidays and blocked time",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_providers",
          "title": "List doctors and staff who take bookings",
          "description": "Use this when someone asks which doctors, nurses or assistants patients can book at their practice, or who takes an appointment. Returns up to 100 staff ids and display names for one practice (no contact details or roles). Not for staff holidays or sick days.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "clinicId"
            ],
            "properties": {
              "clinicId": {
                "type": "string",
                "pattern": "^[0-9a-f]{24}$",
                "description": "Practice id: 24 lowercase hexadecimal characters"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "providers"
            ],
            "properties": {
              "providers": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "displayName"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[0-9a-f]{24}$",
                      "description": "Id to book with, as book_appointment takes it"
                    },
                    "displayName": {
                      "type": "string",
                      "maxLength": 200
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 100,
                "description": "Ids and display names of staff with a doctor, nurse or assistant role, the ones the public booking page offers. Contact details, role records and clinical data are never returned."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "List doctors and staff who take bookings",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_clinic_availability",
          "title": "Find free consultation times",
          "description": "Use this when someone asks when their doctor's practice has free appointment or consultation times. Returns each open online-booking slot's start and end, grouped by day, for the next days with openings: up to 7 days and 100 slots (no patient or doctor details). Not for booking a visit.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "clinicId"
            ],
            "properties": {
              "clinicId": {
                "type": "string",
                "pattern": "^[0-9a-f]{24}$",
                "description": "Practice id: 24 lowercase hexadecimal characters"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "days"
            ],
            "properties": {
              "days": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "day",
                    "slots"
                  ],
                  "properties": {
                    "day": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                    },
                    "slots": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "startTime",
                          "endTime"
                        ],
                        "properties": {
                          "endTime": {
                            "$ref": "#/properties/days/items/properties/slots/items/properties/startTime"
                          },
                          "startTime": {
                            "type": "string",
                            "maxLength": 32
                          }
                        },
                        "additionalProperties": false
                      },
                      "maxItems": 100
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 7,
                "description": "One row per day with open online-booking slots, in date order, holding at most 100 slots in total. Slot times only; patients, doctors, services and clinical data are never included."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Find free consultation times",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_subscription_status",
          "title": "Check DoctoFam plan and limits",
          "description": "Use this when someone asks which DoctoFam plan a practice is on, whether it is active, or how many appointments, patients, rooms or users it allows. Returns the plan name, status, billing frequency and plan caps, or the default Free plan when none is active. Not for invoices or amounts billed.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "clinicId"
            ],
            "properties": {
              "clinicId": {
                "type": "string",
                "pattern": "^[0-9a-f]{24}$",
                "description": "Practice id: 24 lowercase hexadecimal characters"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "subscription"
            ],
            "properties": {
              "subscription": {
                "type": "object",
                "required": [
                  "status",
                  "productName",
                  "billingFrequency",
                  "maxNumberOfAppointments",
                  "maxNumberOfPatients",
                  "maxNumberOfSeats",
                  "maxNumberOfUsers",
                  "lastEditTime",
                  "isDefaultFreePlan"
                ],
                "properties": {
                  "status": {
                    "anyOf": [
                      {
                        "enum": [
                          "ACTIVE",
                          "PAST_DUE",
                          "CANCELED"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "productName": {
                    "type": "string",
                    "maxLength": 200
                  },
                  "lastEditTime": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 32
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "billingFrequency": {
                    "anyOf": [
                      {
                        "enum": [
                          "MONTHLY",
                          "YEARLY"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "maxNumberOfSeats": {
                    "$ref": "#/properties/subscription/properties/maxNumberOfAppointments"
                  },
                  "maxNumberOfUsers": {
                    "$ref": "#/properties/subscription/properties/maxNumberOfAppointments"
                  },
                  "isDefaultFreePlan": {
                    "type": "boolean"
                  },
                  "maxNumberOfPatients": {
                    "$ref": "#/properties/subscription/properties/maxNumberOfAppointments"
                  },
                  "maxNumberOfAppointments": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "description": "The practice's active or past-due plan, or the default Free plan (isDefaultFreePlan) when neither exists. Seats are rooms; caps are limits, not usage. Billing identifiers, payment-provider data, amounts, currencies, patient records and clinical data are never returned.",
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Check DoctoFam plan and limits",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "find_patient",
          "title": "Find a patient by name",
          "description": "Use this when someone names a patient to book, move, cancel or update. Returns up to 5 patients whose name contains every word given, with their ids and clinic; the last two phone digits appear only to tell namesakes apart. Not for browsing, counting or reading patient records.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "search"
            ],
            "properties": {
              "search": {
                "type": "string",
                "maxLength": 100,
                "minLength": 3,
                "description": "The patient's name as the user gave it, or part of it. Every word must appear in the stored name, in any order, ignoring case and accents."
              },
              "clinicId": {
                "type": "string",
                "pattern": "^[0-9a-f]{24}$",
                "description": "Only patients of this clinic; every clinic of the account when absent"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "patients",
              "count",
              "tooManyMatches"
            ],
            "properties": {
              "count": {
                "type": "integer",
                "maximum": 5,
                "minimum": 0
              },
              "patients": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "name",
                    "clinicId",
                    "lastEditTime",
                    "phoneEnding"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[0-9a-f]{24}$"
                    },
                    "name": {
                      "type": "string",
                      "maxLength": 200
                    },
                    "clinicId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^[0-9a-f]{24}$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "phoneEnding": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^\\d{2}$"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "The last two digits of the patient's phone, given only when two patients share this name"
                    },
                    "lastEditTime": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 32
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 5,
                "description": "The patients whose name matches, with the ids the other tools take. Contact details, dates of birth, notes and clinical records are never returned."
              },
              "tooManyMatches": {
                "type": "boolean",
                "description": "More than 5 patients match: none are returned; ask the user for more of the name"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Find a patient by name",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_appointments",
          "title": "List a patient's or a day's appointments",
          "description": "Use this when someone asks when a patient is booked, or what is booked at the clinic on a given day. Returns appointment ids with patient, clinic and provider ids, times, status, edit time and how many procedures each has, latest first, up to 100. Not for counting how busy days are, nor for procedure names, notes or any medical detail.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "description": "Maximum number of appointments to return (default 20, maximum 100)",
                "exclusiveMinimum": 0
              },
              "endTime": {
                "type": "string",
                "maxLength": 32,
                "description": "Only appointments ending before this ISO 8601 time"
              },
              "clinicId": {
                "type": "string",
                "pattern": "^[0-9a-f]{24}$",
                "description": "Only appointments at this clinic, by an id from list_clinics; every clinic when absent"
              },
              "patientId": {
                "type": "string",
                "pattern": "^[0-9a-f]{24}$",
                "description": "Only appointments of this patient, by an id from find_patient"
              },
              "startTime": {
                "type": "string",
                "maxLength": 32,
                "description": "Only appointments starting at or after this ISO 8601 time. Without a patientId, give a startTime and endTime at most one day apart"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "appointments",
              "count",
              "hasMore"
            ],
            "properties": {
              "count": {
                "type": "integer",
                "maximum": 100,
                "minimum": 0
              },
              "hasMore": {
                "type": "boolean"
              },
              "appointments": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "clinicId",
                    "patientId",
                    "providerIds",
                    "startTime",
                    "endTime",
                    "status",
                    "procedureCount",
                    "lastEditTime"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[0-9a-f]{24}$"
                    },
                    "status": {
                      "anyOf": [
                        {
                          "enum": [
                            "REQUESTED",
                            "SCHEDULED",
                            "PATIENT_ARRIVED",
                            "NO_SHOW",
                            "CANCELED"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "endTime": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 32
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "clinicId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^[0-9a-f]{24}$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "patientId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^[0-9a-f]{24}$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "startTime": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 32
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "providerIds": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "pattern": "^[0-9a-f]{24}$"
                      },
                      "maxItems": 20,
                      "description": "Doctors, nurses or assistants booked on it, as list_providers ids"
                    },
                    "lastEditTime": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 32
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Version to pass as expectedLastEditTime when moving or cancelling it"
                    },
                    "procedureCount": {
                      "type": "integer",
                      "maximum": 1000,
                      "minimum": 0,
                      "description": "How many procedures it has; never which"
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 100,
                "description": "Appointments, latest start first. Procedure names, notes, reminders, patient names and contact details are never returned."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "List a patient's or a day's appointments",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_inventory_items",
          "title": "Check clinic stock",
          "description": "Use this when someone asks how much of a supply is left in the clinic's stock or what is running low. Returns up to 100 stock items with unit, quantity, minimum and a low-stock flag. Not for procedure prices.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Maximum number of items (default 50, maximum 100)."
              },
              "search": {
                "type": "string",
                "maxLength": 100,
                "minLength": 1,
                "description": "Only items whose name contains these words."
              },
              "clinicId": {
                "type": "string",
                "pattern": "^[0-9a-f]{24}$",
                "maxLength": 24,
                "minLength": 24,
                "description": "Id of the clinic, from list_clinics. Leave it out when the user has one clinic."
              },
              "lowStockOnly": {
                "type": "boolean",
                "description": "Only items at or below their minimum quantity."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "clinicId",
              "items",
              "count",
              "hasMore"
            ],
            "properties": {
              "count": {
                "type": "integer",
                "maximum": 100000,
                "minimum": 0
              },
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "name",
                    "unit",
                    "quantity",
                    "minimumQuantity",
                    "lowStock",
                    "clinicId",
                    "lastEditTime"
                  ],
                  "properties": {
                    "id": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^[0-9a-f]{24}$",
                          "maxLength": 24,
                          "minLength": 24
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "name": {
                      "type": "string",
                      "maxLength": 200
                    },
                    "unit": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 40
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "clinicId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^[0-9a-f]{24}$",
                          "maxLength": 24,
                          "minLength": 24
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "lowStock": {
                      "type": "boolean"
                    },
                    "quantity": {
                      "anyOf": [
                        {
                          "type": "number",
                          "maximum": 1000000000,
                          "minimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "lastEditTime": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 40
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "minimumQuantity": {
                      "anyOf": [
                        {
                          "type": "number",
                          "maximum": 1000000000,
                          "minimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 100
              },
              "hasMore": {
                "type": "boolean"
              },
              "clinicId": {
                "type": "string",
                "pattern": "^[0-9a-f]{24}$",
                "maxLength": 24,
                "minLength": 24
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Check clinic stock",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "book_appointment",
          "title": "Book a patient appointment",
          "description": "Use this when someone asks to book a patient in at their clinic. Returns the new appointment with its time, providers and number of procedures; it takes the clinic's usual length, room and reminders, so the clinic's reminder messages go to the patient. Not for finding free slots.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "patientId",
              "startTime",
              "requestId"
            ],
            "properties": {
              "clinicId": {
                "type": "string",
                "pattern": "^[0-9a-f]{24}$",
                "maxLength": 24,
                "minLength": 24,
                "description": "Id of the clinic, from list_clinics. Leave it out when the user has one clinic."
              },
              "patientId": {
                "type": "string",
                "pattern": "^[0-9a-f]{24}$",
                "maxLength": 24,
                "minLength": 24,
                "description": "Id of the patient, from find_patient or create_patient."
              },
              "requestId": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,64}$",
                "maxLength": 64,
                "minLength": 1,
                "description": "A unique id you choose for this booking, such as a UUID. Calling again with the same requestId returns the first booking instead of booking twice."
              },
              "startTime": {
                "type": "string",
                "format": "date-time",
                "maxLength": 40,
                "description": "Start as an ISO 8601 time with the clinic's UTC offset, such as 2026-11-20T10:00:00+01:00."
              },
              "providerIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[0-9a-f]{24}$",
                  "maxLength": 24,
                  "minLength": 24
                },
                "maxItems": 5,
                "description": "Ids of the doctors, nurses or assistants who take it, from list_providers. Leave it out when the clinic has one provider or the user is the provider."
              },
              "procedureIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[0-9a-f]{24}$",
                  "maxLength": 24,
                  "minLength": 24
                },
                "maxItems": 20,
                "description": "Ids of the procedures booked, from list_procedures."
              },
              "durationMinutes": {
                "type": "integer",
                "maximum": 480,
                "minimum": 5,
                "description": "Length in minutes. Leave it out for the clinic's usual length."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "status",
              "appointment"
            ],
            "properties": {
              "status": {
                "enum": [
                  "booked",
                  "already_booked"
                ],
                "type": "string"
              },
              "appointment": {
                "type": "object",
                "required": [
                  "id",
                  "clinicId",
                  "patientId",
                  "startTime",
                  "endTime",
                  "status",
                  "lastEditTime",
                  "providerIds",
                  "serviceCount",
                  "reminderCount"
                ],
                "properties": {
                  "id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[0-9a-f]{24}$",
                        "maxLength": 24,
                        "minLength": 24
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "status": {
                    "anyOf": [
                      {
                        "enum": [
                          "REQUESTED",
                          "SCHEDULED",
                          "PATIENT_ARRIVED",
                          "NO_SHOW",
                          "CANCELED"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "endTime": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 40
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "clinicId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[0-9a-f]{24}$",
                        "maxLength": 24,
                        "minLength": 24
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "patientId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[0-9a-f]{24}$",
                        "maxLength": 24,
                        "minLength": 24
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "startTime": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 40
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "providerIds": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^[0-9a-f]{24}$",
                      "maxLength": 24,
                      "minLength": 24
                    },
                    "maxItems": 10
                  },
                  "lastEditTime": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 40
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "serviceCount": {
                    "type": "integer",
                    "maximum": 100000,
                    "minimum": 0
                  },
                  "reminderCount": {
                    "type": "integer",
                    "maximum": 100000,
                    "minimum": 0
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Book a patient appointment",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "reschedule_appointment",
          "title": "Move a patient appointment",
          "description": "Use this when someone asks to move a patient's appointment to another day or time. Returns the appointment with its new and previous start; it keeps the patient, providers, procedures and length unless a new length is given, and its reminders move with it. Not for cancelling.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "appointmentId",
              "startTime",
              "expectedLastEditTime"
            ],
            "properties": {
              "startTime": {
                "type": "string",
                "format": "date-time",
                "maxLength": 40,
                "description": "New start as an ISO 8601 time with the clinic's UTC offset, such as 2026-11-20T10:00:00+01:00."
              },
              "appointmentId": {
                "type": "string",
                "pattern": "^[0-9a-f]{24}$",
                "maxLength": 24,
                "minLength": 24,
                "description": "Id of the appointment, from list_appointments."
              },
              "durationMinutes": {
                "type": "integer",
                "maximum": 480,
                "minimum": 5,
                "description": "New length in minutes. Leave it out to keep the current length."
              },
              "expectedLastEditTime": {
                "type": "string",
                "format": "date-time",
                "maxLength": 40,
                "description": "The lastEditTime from list_appointments. An appointment changed since then is refused."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "status",
              "previousStartTime",
              "appointment"
            ],
            "properties": {
              "status": {
                "enum": [
                  "rescheduled"
                ],
                "type": "string"
              },
              "appointment": {
                "type": "object",
                "required": [
                  "id",
                  "clinicId",
                  "patientId",
                  "startTime",
                  "endTime",
                  "status",
                  "lastEditTime",
                  "providerIds",
                  "serviceCount",
                  "reminderCount"
                ],
                "properties": {
                  "id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[0-9a-f]{24}$",
                        "maxLength": 24,
                        "minLength": 24
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "status": {
                    "anyOf": [
                      {
                        "enum": [
                          "REQUESTED",
                          "SCHEDULED",
                          "PATIENT_ARRIVED",
                          "NO_SHOW",
                          "CANCELED"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "endTime": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 40
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "clinicId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[0-9a-f]{24}$",
                        "maxLength": 24,
                        "minLength": 24
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "patientId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[0-9a-f]{24}$",
                        "maxLength": 24,
                        "minLength": 24
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "startTime": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 40
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "providerIds": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^[0-9a-f]{24}$",
                      "maxLength": 24,
                      "minLength": 24
                    },
                    "maxItems": 10
                  },
                  "lastEditTime": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 40
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "serviceCount": {
                    "type": "integer",
                    "maximum": 100000,
                    "minimum": 0
                  },
                  "reminderCount": {
                    "type": "integer",
                    "maximum": 100000,
                    "minimum": 0
                  }
                },
                "additionalProperties": false
              },
              "previousStartTime": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 40
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Move a patient appointment",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "cancel_appointment",
          "title": "Cancel a patient appointment",
          "description": "Use this when someone asks to cancel a patient's appointment. Returns the canceled appointment and whether the clinic's cancellation message goes to the patient; the appointment is kept with status CANCELED, never deleted. Not for moving it to another time.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "appointmentId",
              "expectedLastEditTime"
            ],
            "properties": {
              "appointmentId": {
                "type": "string",
                "pattern": "^[0-9a-f]{24}$",
                "maxLength": 24,
                "minLength": 24,
                "description": "Id of the appointment, from list_appointments."
              },
              "expectedLastEditTime": {
                "type": "string",
                "format": "date-time",
                "maxLength": 40,
                "description": "The lastEditTime from list_appointments. An appointment changed since then is refused."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "status",
              "clientNotification",
              "appointment"
            ],
            "properties": {
              "status": {
                "enum": [
                  "canceled",
                  "already_canceled"
                ],
                "type": "string"
              },
              "appointment": {
                "type": "object",
                "required": [
                  "id",
                  "clinicId",
                  "patientId",
                  "startTime",
                  "endTime",
                  "status",
                  "lastEditTime",
                  "providerIds",
                  "serviceCount",
                  "reminderCount"
                ],
                "properties": {
                  "id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[0-9a-f]{24}$",
                        "maxLength": 24,
                        "minLength": 24
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "status": {
                    "anyOf": [
                      {
                        "enum": [
                          "REQUESTED",
                          "SCHEDULED",
                          "PATIENT_ARRIVED",
                          "NO_SHOW",
                          "CANCELED"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "endTime": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 40
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "clinicId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[0-9a-f]{24}$",
                        "maxLength": 24,
                        "minLength": 24
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "patientId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[0-9a-f]{24}$",
                        "maxLength": 24,
                        "minLength": 24
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "startTime": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 40
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "providerIds": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^[0-9a-f]{24}$",
                      "maxLength": 24,
                      "minLength": 24
                    },
                    "maxItems": 10
                  },
                  "lastEditTime": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 40
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "serviceCount": {
                    "type": "integer",
                    "maximum": 100000,
                    "minimum": 0
                  },
                  "reminderCount": {
                    "type": "integer",
                    "maximum": 100000,
                    "minimum": 0
                  }
                },
                "additionalProperties": false
              },
              "clientNotification": {
                "enum": [
                  "configured",
                  "not_configured",
                  "unknown"
                ],
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Cancel a patient appointment",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "create_patient",
          "title": "Add a patient",
          "description": "Use this when someone asks to add a new patient to their clinic. Returns the patient's id, name, clinic and language; the phone and email given are stored but never returned. Not for a patient already on file.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "name",
              "requestId"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 160,
                "minLength": 1,
                "description": "The patient's full name."
              },
              "email": {
                "type": "string",
                "maxLength": 254,
                "description": "Email address."
              },
              "phone": {
                "type": "string",
                "maxLength": 40,
                "description": "Mobile number, with the country code when known."
              },
              "clinicId": {
                "type": "string",
                "pattern": "^[0-9a-f]{24}$",
                "maxLength": 24,
                "minLength": 24,
                "description": "Id of the clinic, from list_clinics. Leave it out when the user has one clinic."
              },
              "language": {
                "type": "string",
                "maxLength": 10,
                "description": "Language for their messages, as a code such as en or it. Leave it out for the clinic language."
              },
              "requestId": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,64}$",
                "maxLength": 64,
                "minLength": 1,
                "description": "A unique id you choose for this patient, such as a UUID. Calling again with the same requestId returns the first patient instead of adding a second."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "status",
              "patient"
            ],
            "properties": {
              "status": {
                "enum": [
                  "created",
                  "already_created"
                ],
                "type": "string"
              },
              "patient": {
                "type": "object",
                "required": [
                  "id",
                  "name",
                  "clinicId",
                  "language",
                  "lastEditTime"
                ],
                "properties": {
                  "id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[0-9a-f]{24}$",
                        "maxLength": 24,
                        "minLength": 24
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "name": {
                    "type": "string",
                    "maxLength": 200
                  },
                  "clinicId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[0-9a-f]{24}$",
                        "maxLength": 24,
                        "minLength": 24
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "language": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 16
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "lastEditTime": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 40
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Add a patient",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "update_patient",
          "title": "Update a patient's contact details",
          "description": "Use this when someone asks to change a patient's name, phone, email or language. Returns the patient's id, name, clinic and which fields changed; contact details are never returned. Not for medical history or any other patient detail.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "patientId",
              "expectedLastEditTime"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 160,
                "minLength": 1,
                "description": "New full name."
              },
              "email": {
                "type": "string",
                "maxLength": 254,
                "description": "New email address."
              },
              "phone": {
                "type": "string",
                "maxLength": 40,
                "description": "New mobile number, with the country code when known."
              },
              "language": {
                "type": "string",
                "maxLength": 10,
                "description": "New language for their messages, as a code such as en or it."
              },
              "patientId": {
                "type": "string",
                "pattern": "^[0-9a-f]{24}$",
                "maxLength": 24,
                "minLength": 24,
                "description": "Id of the patient, from find_patient."
              },
              "expectedLastEditTime": {
                "type": "string",
                "format": "date-time",
                "maxLength": 40,
                "description": "The lastEditTime from find_patient. A patient changed since then is refused."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "status",
              "changedFields",
              "patient"
            ],
            "properties": {
              "status": {
                "enum": [
                  "updated"
                ],
                "type": "string"
              },
              "patient": {
                "type": "object",
                "required": [
                  "id",
                  "name",
                  "clinicId",
                  "language",
                  "lastEditTime"
                ],
                "properties": {
                  "id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[0-9a-f]{24}$",
                        "maxLength": 24,
                        "minLength": 24
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "name": {
                    "type": "string",
                    "maxLength": 200
                  },
                  "clinicId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[0-9a-f]{24}$",
                        "maxLength": 24,
                        "minLength": 24
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "language": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 16
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "lastEditTime": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 40
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "changedFields": {
                "type": "array",
                "items": {
                  "enum": [
                    "name",
                    "phone",
                    "email",
                    "language"
                  ],
                  "type": "string"
                },
                "maxItems": 4
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Update a patient's contact details",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "set_inventory_quantity",
          "title": "Update a stock quantity",
          "description": "Use this when someone asks to correct or update how much of a stock item the clinic has. Returns the item with its previous and new quantity; the number given replaces the stored one. Not for adding a new stock item.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "inventoryItemId",
              "quantity",
              "expectedLastEditTime"
            ],
            "properties": {
              "quantity": {
                "type": "number",
                "maximum": 1000000000,
                "minimum": 0,
                "description": "The quantity now in stock, in the item unit. It replaces the stored quantity; work out the total first when the user gives a change."
              },
              "inventoryItemId": {
                "type": "string",
                "pattern": "^[0-9a-f]{24}$",
                "maxLength": 24,
                "minLength": 24,
                "description": "Id of the stock item, from list_inventory_items."
              },
              "expectedLastEditTime": {
                "type": "string",
                "format": "date-time",
                "maxLength": 40,
                "description": "The lastEditTime from list_inventory_items. An item changed since then is refused."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "status",
              "previousQuantity",
              "item"
            ],
            "properties": {
              "item": {
                "type": "object",
                "required": [
                  "id",
                  "name",
                  "unit",
                  "quantity",
                  "minimumQuantity",
                  "lowStock",
                  "clinicId",
                  "lastEditTime"
                ],
                "properties": {
                  "id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[0-9a-f]{24}$",
                        "maxLength": 24,
                        "minLength": 24
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "name": {
                    "type": "string",
                    "maxLength": 200
                  },
                  "unit": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 40
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "clinicId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[0-9a-f]{24}$",
                        "maxLength": 24,
                        "minLength": 24
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "lowStock": {
                    "type": "boolean"
                  },
                  "quantity": {
                    "anyOf": [
                      {
                        "type": "number",
                        "maximum": 1000000000,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "lastEditTime": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 40
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "minimumQuantity": {
                    "anyOf": [
                      {
                        "type": "number",
                        "maximum": 1000000000,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "status": {
                "enum": [
                  "updated"
                ],
                "type": "string"
              },
              "previousQuantity": {
                "anyOf": [
                  {
                    "type": "number",
                    "maximum": 1000000000,
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Update a stock quantity",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "show_clinic_overview",
          "title": "Show medical practice overview",
          "description": "Use this when someone wants a quick overview or dashboard of one medical practice. Returns an overview card with the practice's details, appointment counts for the next 7 days, staff and room counts, open online-booking slots, up to 12 service prices and the current plan (no patient or clinical data). Not for a single patient or visit.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "clinicId"
            ],
            "properties": {
              "clinicId": {
                "type": "string",
                "pattern": "^[0-9a-f]{24}$",
                "description": "Practice id: 24 lowercase hexadecimal characters"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "clinic",
              "scheduleRange",
              "appointmentCount",
              "appointmentCountIsLowerBound",
              "scheduleDays",
              "procedureCount",
              "procedureCountIsLowerBound",
              "procedures",
              "providerCount",
              "providerCountIsLowerBound",
              "roomCount",
              "roomCountIsLowerBound",
              "availableDayCount",
              "availableSlotCount",
              "availabilityDays",
              "subscription"
            ],
            "properties": {
              "clinic": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "id",
                      "name",
                      "currency",
                      "defaultLocale",
                      "timezone"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^[0-9a-f]{24}$"
                      },
                      "name": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "currency": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^[A-Za-z]{3}$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "timezone": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 64
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "defaultLocale": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 35
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Administrative practice metadata; null when the practice was not found. The overview never includes individual appointment records, patient information, diagnoses, treatment details, notes or other clinical data."
              },
              "roomCount": {
                "type": "integer",
                "maximum": 100,
                "minimum": 0
              },
              "procedures": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "price",
                    "duration",
                    "lastEditTime"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "maxLength": 200
                    },
                    "price": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "duration": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "lastEditTime": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 32
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 12
              },
              "scheduleDays": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "day",
                    "count"
                  ],
                  "properties": {
                    "day": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                    },
                    "count": {
                      "type": "integer",
                      "maximum": 100,
                      "minimum": 0
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 100
              },
              "subscription": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "status",
                      "productName",
                      "billingFrequency",
                      "maxNumberOfAppointments",
                      "maxNumberOfPatients",
                      "maxNumberOfSeats",
                      "maxNumberOfUsers",
                      "isDefaultFreePlan"
                    ],
                    "properties": {
                      "status": {
                        "anyOf": [
                          {
                            "enum": [
                              "ACTIVE",
                              "PAST_DUE",
                              "CANCELED"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "productName": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "billingFrequency": {
                        "anyOf": [
                          {
                            "enum": [
                              "MONTHLY",
                              "YEARLY"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "maxNumberOfSeats": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "maximum": 9007199254740991,
                            "minimum": 0
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "maxNumberOfUsers": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "maximum": 9007199254740991,
                            "minimum": 0
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "isDefaultFreePlan": {
                        "type": "boolean"
                      },
                      "maxNumberOfPatients": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "maximum": 9007199254740991,
                            "minimum": 0
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "maxNumberOfAppointments": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "maximum": 9007199254740991,
                            "minimum": 0
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "providerCount": {
                "type": "integer",
                "maximum": 100,
                "minimum": 0
              },
              "scheduleRange": {
                "type": "object",
                "required": [
                  "startTime",
                  "endTime"
                ],
                "properties": {
                  "endTime": {
                    "type": "string",
                    "maxLength": 32
                  },
                  "startTime": {
                    "type": "string",
                    "maxLength": 32
                  }
                },
                "additionalProperties": false
              },
              "procedureCount": {
                "type": "integer",
                "maximum": 12,
                "minimum": 0
              },
              "appointmentCount": {
                "type": "integer",
                "maximum": 100,
                "minimum": 0
              },
              "availabilityDays": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "day",
                    "count"
                  ],
                  "properties": {
                    "day": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                    },
                    "count": {
                      "type": "integer",
                      "maximum": 100,
                      "minimum": 0
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 7
              },
              "availableDayCount": {
                "type": "integer",
                "maximum": 7,
                "minimum": 0
              },
              "availableSlotCount": {
                "type": "integer",
                "maximum": 100,
                "minimum": 0
              },
              "roomCountIsLowerBound": {
                "type": "boolean"
              },
              "providerCountIsLowerBound": {
                "type": "boolean"
              },
              "procedureCountIsLowerBound": {
                "type": "boolean"
              },
              "appointmentCountIsLowerBound": {
                "type": "boolean"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Show medical practice overview",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [
        {
          "name": "doctofam-clinic-overview",
          "uri": "ui://doctofam/clinic-overview-v2.html",
          "mimeType": "text/html;profile=mcp-app",
          "description": "An inline DoctoFam view that presents a tenant-scoped, administrative-only clinic overview."
        },
        {
          "name": "doctofam-schedule-summary",
          "uri": "ui://doctofam/schedule-summary-v1.html",
          "mimeType": "text/html;profile=mcp-app",
          "description": "An inline DoctoFam view that presents non-identifying, tenant-scoped administrative schedule counts."
        },
        {
          "name": "clinic-administration",
          "uri": "skill://doctofam/clinic-administration/SKILL.md",
          "mimeType": "text/markdown",
          "description": "Run a DoctoFam medical practice's front desk — free consultation times, how busy each day is, prices, rooms, doctors and closures, and booking, moving or cancelling a patient's appointment, adding a patient or changing their contact details, and checking or correcting stock. Use when a practice owner, manager or receptionist asks about any of these. Never use it for patient records, clinical information, medical advice, diagnosis, triage, prescribing, or treatment decisions."
        },
        {
          "name": "doctofam",
          "uri": "skill://doctofam/doctofam/SKILL.md",
          "mimeType": "text/markdown",
          "description": "Query and manage a medical or dental practice with the `doctofam` CLI — clinics, patients, appointments, invoices, payments, the procedure catalog and webhook subscriptions on app.doctofam.com. Use when asked to look up or edit patients, read or book appointments, check invoices and payments, review procedures and their prices, wire up webhooks, or anything involving the `doctofam` command or app.doctofam.com data."
        }
      ],
      "prompts": []
    },
    "instructions": "# Clinic administration with DoctoFam\n\nThis skill drives the hosted DoctoFam MCP. The user must connect DoctoFam and\nauthorize the intended organization. If authorization fails, ask the user to\nconnect or reauthorize; never guess another tenant.\n\n## Hard privacy and clinical boundary\n\nThis connector serves the front desk, never the medical record. It does not\nexpose:\n\n- patient lists, patient counts, contact details, dates of birth, addresses or\n  any part of a patient's record;\n- diagnoses, treatments, prescriptions, anamnesis, history, images,\n  documents, consents or free-text notes;\n- which procedures an appointment holds, only how many; or\n- provider contacts, credentials or organization internals.\n\nA patient is found only by the name the user gives, with `find_patient`: up\nto five matches, each with an id, the stored name, the clinic and, when two\nshare a name, the last two digits of each one's phone. When more than five\nmatch, nobody is returned: ask the user for more of the name. Never use it to\nbrowse or count patients, and repeat no more names than the task needs.\n\nNever ask users to paste health data into chat or try to infer it from what\nthe tools return. The connector does not diagnose, triage, prescribe,\nrecommend treatment, determine urgency or make a medical decision.\n\n## What the connector changes\n\nThe read tools change nothing. Six tools write, as the signed-in member, with\nthat member's DoctoFam role: `book_appointment`, `reschedule_appointment`,\n`cancel_appointment`, `create_patient`, `update_patient` and\n`set_inventory_quantity`. DoctoFam's own rules apply to every write: a member\nchanges only what their role allows.\n\nIf those six tools are missing, the connection was authorized to read only\n(every connection made before November 2026 was). Ask the user to disconnect\nDoctoFam and connect it again, allowing DoctoFam to create and update data.\n\nConfirm every write with the user before calling it: which patient, which\nclinic, when, and what will change. Booking, moving and cancelling reach the\npatient: a booking schedules the clinic's reminder messages, a move moves\nthem, and a cancellation sends the clinic's cancellation message when the\nclinic set one up. Say so when you ask.\n\nThe connector cannot delete anything, read or write a medical record, add a\nnote, take or refund payments, send a message of its own, change reminder\nsettings, create a repeating series of appointments, change procedures,\nprices, staff or roles, or touch expenses. Direct the user to the DoctoFam\napp for those.\n\n## Resource identifiers\n\n- `clinicId` selects an owned clinic. A write may leave it out when the\n  account has one clinic. Never guess one: call `list_clinics` and reuse its\n  24-character hexadecimal id. Ask when several match.\n- `patientId` names one patient, from `find_patient` or `create_patient`;\n  `appointmentId` one appointment, from `list_appointments`;\n  `inventoryItemId` one stock item.\n- `providerIds` are the ids `list_providers` returns; `procedureIds` the ids\n  `list_procedures` returns.\n- `lastEditTime` is a record's version. Moving or cancelling an appointment,\n  updating a patient and setting a stock quantity take it as\n  `expectedLastEditTime` and are refused with `conflict` when the record\n  changed since it was read.\n- `requestId` is a unique id you choose for each new booking or patient, such\n  as a UUID. Calling again with the same `requestId` returns the first result\n  instead of booking or adding twice.\n\nOpaque cursors may be reused only with the filters that produced them.\n\n## Available tools\n\n| Tool                          | Use it when someone asks…                                                    |\n| ----------------------------- | ---------------------------------------------------------------------------- |\n| `list_clinics`                | which practices they run; also resolves the clinic ID every other tool needs |\n| `get_clinic`                  | about one practice's currency, language or ti"
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}