{
  "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": "thebusinessapp.usefulapi.io",
    "site": "usefulapi.io",
    "addresses": [
      {
        "address": "104.21.62.184",
        "endpoints": 1110,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.21.32.0/19",
          "country": "US"
        }
      },
      {
        "address": "172.67.138.37",
        "endpoints": 1110,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.128.0/20",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3032::6815:3eb8",
        "endpoints": 1110,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3032::/48",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3030::ac43:8a25",
        "endpoints": 1110,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3030::/48",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "104.21.62.184",
          "172.67.138.37",
          "2606:4700:3032::6815:3eb8",
          "2606:4700:3030::ac43:8a25"
        ],
        "first_seen": "2026-11-22T22:52:01.415Z",
        "last_seen": "2026-11-22T22:52:01.415Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "thebusinessapp-mcp",
      "version": "1.1.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 1109,
      "sample": [
        {
          "id": "22186",
          "url": "https://mcp.easyscribe.guide/mcp",
          "server_name": "guide.easyscribe/easy-scribe",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T18:00:14.785Z"
        },
        {
          "id": "42087",
          "url": "https://17track.usefulapi.io/mcp",
          "server_name": "io.usefulapi/17track",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:37:00.117Z"
        },
        {
          "id": "42088",
          "url": "https://a2x-accounting.usefulapi.io/mcp",
          "server_name": "io.usefulapi/a2x-accounting",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:38:01.144Z"
        },
        {
          "id": "42089",
          "url": "https://abacus-pos.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abacus-pos",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:39:01.150Z"
        },
        {
          "id": "42090",
          "url": "https://abaninja.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abaninja",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:40:04.827Z"
        },
        {
          "id": "42091",
          "url": "https://ablesign.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ablesign",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:41:00.510Z"
        },
        {
          "id": "42092",
          "url": "https://ably.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ably",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:42:01.406Z"
        },
        {
          "id": "42093",
          "url": "https://abra-flexi.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abra-flexi",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:43:00.718Z"
        },
        {
          "id": "42094",
          "url": "https://absence-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/absence-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:44:09.505Z"
        },
        {
          "id": "42095",
          "url": "https://abstract-api.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abstract-api",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:45:03.727Z"
        },
        {
          "id": "42096",
          "url": "https://academy-of-mine.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academy-of-mine",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:46:00.640Z"
        },
        {
          "id": "42097",
          "url": "https://academyocean.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academyocean",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:47:00.764Z"
        },
        {
          "id": "42098",
          "url": "https://accelo.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accelo",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:48:07.939Z"
        },
        {
          "id": "42099",
          "url": "https://accredible.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accredible",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:49:01.212Z"
        },
        {
          "id": "42100",
          "url": "https://action1.usefulapi.io/mcp",
          "server_name": "io.usefulapi/action1",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:50:02.305Z"
        },
        {
          "id": "42101",
          "url": "https://acube.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acube",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:51:00.623Z"
        },
        {
          "id": "42102",
          "url": "https://acuity-scheduling.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acuity-scheduling",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:52:00.408Z"
        },
        {
          "id": "42103",
          "url": "https://adafruit-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/adafruit-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:53:01.972Z"
        },
        {
          "id": "42104",
          "url": "https://addevent.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addevent",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:54:01.697Z"
        },
        {
          "id": "42105",
          "url": "https://addressfinder.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addressfinder",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:55:02.861Z"
        }
      ]
    },
    "same_site": {
      "total": 1108,
      "sample": [
        {
          "id": "42087",
          "url": "https://17track.usefulapi.io/mcp",
          "server_name": "io.usefulapi/17track",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:37:00.117Z"
        },
        {
          "id": "42088",
          "url": "https://a2x-accounting.usefulapi.io/mcp",
          "server_name": "io.usefulapi/a2x-accounting",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:38:01.144Z"
        },
        {
          "id": "42089",
          "url": "https://abacus-pos.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abacus-pos",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:39:01.150Z"
        },
        {
          "id": "42090",
          "url": "https://abaninja.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abaninja",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:40:04.827Z"
        },
        {
          "id": "42091",
          "url": "https://ablesign.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ablesign",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:41:00.510Z"
        },
        {
          "id": "42092",
          "url": "https://ably.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ably",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:42:01.406Z"
        },
        {
          "id": "42093",
          "url": "https://abra-flexi.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abra-flexi",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:43:00.718Z"
        },
        {
          "id": "42094",
          "url": "https://absence-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/absence-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:44:09.505Z"
        },
        {
          "id": "42095",
          "url": "https://abstract-api.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abstract-api",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:45:03.727Z"
        },
        {
          "id": "42096",
          "url": "https://academy-of-mine.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academy-of-mine",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:46:00.640Z"
        },
        {
          "id": "42097",
          "url": "https://academyocean.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academyocean",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:47:00.764Z"
        },
        {
          "id": "42098",
          "url": "https://accelo.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accelo",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:48:07.939Z"
        },
        {
          "id": "42099",
          "url": "https://accredible.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accredible",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:49:01.212Z"
        },
        {
          "id": "42100",
          "url": "https://action1.usefulapi.io/mcp",
          "server_name": "io.usefulapi/action1",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:50:02.305Z"
        },
        {
          "id": "42101",
          "url": "https://acube.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acube",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:51:00.623Z"
        },
        {
          "id": "42102",
          "url": "https://acuity-scheduling.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acuity-scheduling",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:52:00.408Z"
        },
        {
          "id": "42103",
          "url": "https://adafruit-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/adafruit-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:53:01.972Z"
        },
        {
          "id": "42104",
          "url": "https://addevent.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addevent",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:54:01.697Z"
        },
        {
          "id": "42105",
          "url": "https://addressfinder.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addressfinder",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:55:02.861Z"
        },
        {
          "id": "42106",
          "url": "https://adminpulse.usefulapi.io/mcp",
          "server_name": "io.usefulapi/adminpulse",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:56:00.432Z"
        }
      ]
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.usefulapi",
      "total": 1108,
      "sample": [
        {
          "name": "io.usefulapi/17track",
          "title": "17TRACK MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/a2x-accounting",
          "title": "A2X MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abacus-pos",
          "title": "Abacus POS MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abaninja",
          "title": "AbaNinja MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/ablesign",
          "title": "AbleSign MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/ably",
          "title": "Ably MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abra-flexi",
          "title": "ABRA Flexi MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/absence-io",
          "title": "absence.io MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abstract-api",
          "title": "Abstract API MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/academy-of-mine",
          "title": "Academy of Mine MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/academyocean",
          "title": "AcademyOcean MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/accelo",
          "title": "Accelo MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/accredible",
          "title": "Accredible MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/action1",
          "title": "Action1 MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/acube",
          "title": "A-Cube MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/acuity-scheduling",
          "title": "Acuity Scheduling MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/adafruit-io",
          "title": "Adafruit IO MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/addevent",
          "title": "AddEvent MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/addressfinder",
          "title": "Addressfinder MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/adminpulse",
          "title": "AdminPulse MCP by usefulapi"
        }
      ]
    },
    "same_repository": {
      "repository_url": "https://github.com/m190/usefulapi-mcp",
      "total": 1108,
      "sample": [
        {
          "name": "io.usefulapi/17track",
          "title": "17TRACK MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/a2x-accounting",
          "title": "A2X MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abacus-pos",
          "title": "Abacus POS MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abaninja",
          "title": "AbaNinja MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/ablesign",
          "title": "AbleSign MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/ably",
          "title": "Ably MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abra-flexi",
          "title": "ABRA Flexi MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/absence-io",
          "title": "absence.io MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abstract-api",
          "title": "Abstract API MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/academy-of-mine",
          "title": "Academy of Mine MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/academyocean",
          "title": "AcademyOcean MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/accelo",
          "title": "Accelo MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/accredible",
          "title": "Accredible MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/action1",
          "title": "Action1 MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/acube",
          "title": "A-Cube MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/acuity-scheduling",
          "title": "Acuity Scheduling MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/adafruit-io",
          "title": "Adafruit IO MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/addevent",
          "title": "AddEvent MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/addressfinder",
          "title": "Addressfinder MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/adminpulse",
          "title": "AdminPulse MCP by usefulapi"
        }
      ]
    },
    "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": "43048",
    "server_name": "io.usefulapi/thebusinessapp",
    "url": "https://thebusinessapp.usefulapi.io/mcp",
    "host": "thebusinessapp.usefulapi.io",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-22T22:52:01.415Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "e4190be6073fd6a65c05b75416d8124486be8d2dc25bee6902b2544177c757f4",
    "first_listed_at": "2026-11-22T22:52:01.415Z",
    "created_at": "2026-11-21T12:45:12.044Z",
    "resolved_addresses": [
      "104.21.62.184",
      "172.67.138.37",
      "2606:4700:3032::6815:3eb8",
      "2606:4700:3030::ac43:8a25"
    ]
  },
  "server": {
    "name": "io.usefulapi/thebusinessapp",
    "title": "TheBusinessApp MCP by usefulapi",
    "description": "Read customers, jobs, quotes, invoices and stock; create drafts and update jobs in TheBusinessApp.",
    "version": "1.1.0",
    "registry_status": "active",
    "repository_url": "https://github.com/m190/usefulapi-mcp",
    "website_url": "https://usefulapi.io/thebusinessapp/",
    "published_at": "2026-11-21T01:02:31.447Z",
    "updated_at": "2026-11-21T01:02:31.447Z",
    "first_seen": "2026-11-21T12:45:11.311Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [
      "runs-agents",
      "takes-payment"
    ],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T22:52:06.980Z"
  },
  "operator": {
    "key": "usefulapi.io",
    "name": "usefulapi.io",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 1,
    "answered": 1,
    "answered_percent": 100,
    "avg_listing_latency_ms": 243,
    "first_check_in_window": "2026-11-22T22:52:01.415Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "e4190be6073fd6a65c05b75416d8124486be8d2dc25bee6902b2544177c757f4",
    "tools": 30,
    "resources": 0,
    "prompts": 5,
    "first_seen": "2026-11-22T22:52:01.665Z",
    "tool_names": [
      "thebusinessapp_get_account",
      "thebusinessapp_list_customers",
      "thebusinessapp_get_customer",
      "thebusinessapp_list_contacts",
      "thebusinessapp_list_sites",
      "thebusinessapp_list_enquiries",
      "thebusinessapp_get_enquiry",
      "thebusinessapp_list_quotes",
      "thebusinessapp_get_quote",
      "thebusinessapp_list_jobs",
      "thebusinessapp_get_job",
      "thebusinessapp_list_visits",
      "thebusinessapp_list_invoices",
      "thebusinessapp_get_invoice",
      "thebusinessapp_list_payments",
      "thebusinessapp_list_products",
      "thebusinessapp_list_staff",
      "thebusinessapp_list_timesheets",
      "thebusinessapp_list_stock_items",
      "thebusinessapp_create_customer",
      "thebusinessapp_update_customer",
      "thebusinessapp_create_enquiry",
      "thebusinessapp_create_quote",
      "thebusinessapp_create_job",
      "thebusinessapp_update_job",
      "thebusinessapp_add_job_visit",
      "thebusinessapp_update_visit",
      "thebusinessapp_create_invoice",
      "thebusinessapp_create_product",
      "thebusinessapp_get_accounting_export"
    ],
    "declared": {
      "tools": [
        {
          "name": "thebusinessapp_get_account",
          "title": "Get the connected key and company",
          "description": "Show which company and which scopes the connected API key has. Use it first to check access. TheBusinessApp API: GET /me.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "annotations": {
            "title": "Get the connected key and company",
            "readOnlyHint": true
          }
        },
        {
          "name": "thebusinessapp_list_customers",
          "title": "List customers",
          "description": "List customers (people and businesses you work for), newest first. Filter by email or status. TheBusinessApp API: GET /customers.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "email": {
                "type": "string",
                "description": "Only customers with this email."
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, 1-100 (default 25)."
              },
              "cursor": {
                "type": "string",
                "description": "next_cursor from the previous page, to get the next page."
              },
              "status": {
                "enum": [
                  "lead",
                  "active",
                  "archived"
                ],
                "type": "string",
                "description": "Only customers with this status."
              },
              "created_since": {
                "type": "string",
                "description": "Only records created at or after this ISO 8601 time."
              },
              "updated_since": {
                "type": "string",
                "description": "Only records changed at or after this ISO 8601 time."
              }
            }
          },
          "annotations": {
            "title": "List customers",
            "readOnlyHint": true
          }
        },
        {
          "name": "thebusinessapp_get_customer",
          "title": "Get a customer",
          "description": "Get one customer by id, with name, contact details, tags and payment terms. TheBusinessApp API: GET /customers/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "customer_id"
            ],
            "properties": {
              "customer_id": {
                "type": "string",
                "minLength": 1,
                "description": "The record id (a UUID from a list call)."
              }
            }
          },
          "annotations": {
            "title": "Get a customer",
            "readOnlyHint": true
          }
        },
        {
          "name": "thebusinessapp_list_contacts",
          "title": "List contacts",
          "description": "List the contact people on customer accounts (name, role, email, phone). Filter by customer. TheBusinessApp API: GET /contacts.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, 1-100 (default 25)."
              },
              "cursor": {
                "type": "string",
                "description": "next_cursor from the previous page, to get the next page."
              },
              "customer_id": {
                "type": "string",
                "description": "Only records for this customer id."
              },
              "created_since": {
                "type": "string",
                "description": "Only records created at or after this ISO 8601 time."
              },
              "updated_since": {
                "type": "string",
                "description": "Only records changed at or after this ISO 8601 time."
              }
            }
          },
          "annotations": {
            "title": "List contacts",
            "readOnlyHint": true
          }
        },
        {
          "name": "thebusinessapp_list_sites",
          "title": "List sites",
          "description": "List sites and properties (addresses where work happens), optionally for one customer. TheBusinessApp API: GET /sites.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, 1-100 (default 25)."
              },
              "cursor": {
                "type": "string",
                "description": "next_cursor from the previous page, to get the next page."
              },
              "customer_id": {
                "type": "string",
                "description": "Only records for this customer id."
              },
              "created_since": {
                "type": "string",
                "description": "Only records created at or after this ISO 8601 time."
              },
              "updated_since": {
                "type": "string",
                "description": "Only records changed at or after this ISO 8601 time."
              }
            }
          },
          "annotations": {
            "title": "List sites",
            "readOnlyHint": true
          }
        },
        {
          "name": "thebusinessapp_list_enquiries",
          "title": "List enquiries",
          "description": "List enquiries (new leads in the pipeline), newest first. Filter by status or customer. TheBusinessApp API: GET /enquiries.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, 1-100 (default 25)."
              },
              "cursor": {
                "type": "string",
                "description": "next_cursor from the previous page, to get the next page."
              },
              "status": {
                "type": "string",
                "description": "Only enquiries with this status."
              },
              "customer_id": {
                "type": "string",
                "description": "Only records for this customer id."
              },
              "created_since": {
                "type": "string",
                "description": "Only records created at or after this ISO 8601 time."
              },
              "updated_since": {
                "type": "string",
                "description": "Only records changed at or after this ISO 8601 time."
              }
            }
          },
          "annotations": {
            "title": "List enquiries",
            "readOnlyHint": true
          }
        },
        {
          "name": "thebusinessapp_get_enquiry",
          "title": "Get an enquiry",
          "description": "Get one enquiry by id, with the customer's request and its pipeline details. TheBusinessApp API: GET /enquiries/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "enquiry_id"
            ],
            "properties": {
              "enquiry_id": {
                "type": "string",
                "minLength": 1,
                "description": "The record id (a UUID from a list call)."
              }
            }
          },
          "annotations": {
            "title": "Get an enquiry",
            "readOnlyHint": true
          }
        },
        {
          "name": "thebusinessapp_list_quotes",
          "title": "List quotes",
          "description": "List quotes, newest first. Filter by status or customer. TheBusinessApp API: GET /quotes.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, 1-100 (default 25)."
              },
              "cursor": {
                "type": "string",
                "description": "next_cursor from the previous page, to get the next page."
              },
              "status": {
                "type": "string",
                "description": "Only quotes with this status."
              },
              "customer_id": {
                "type": "string",
                "description": "Only records for this customer id."
              },
              "created_since": {
                "type": "string",
                "description": "Only records created at or after this ISO 8601 time."
              },
              "updated_since": {
                "type": "string",
                "description": "Only records changed at or after this ISO 8601 time."
              }
            }
          },
          "annotations": {
            "title": "List quotes",
            "readOnlyHint": true
          }
        },
        {
          "name": "thebusinessapp_get_quote",
          "title": "Get a quote",
          "description": "Get one quote by id, with its line items and totals. TheBusinessApp API: GET /quotes/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "quote_id"
            ],
            "properties": {
              "quote_id": {
                "type": "string",
                "minLength": 1,
                "description": "The record id (a UUID from a list call)."
              }
            }
          },
          "annotations": {
            "title": "Get a quote",
            "readOnlyHint": true
          }
        },
        {
          "name": "thebusinessapp_list_jobs",
          "title": "List jobs",
          "description": "List jobs (work orders), newest first. Filter by status, customer or assigned staff member. TheBusinessApp API: GET /jobs.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, 1-100 (default 25)."
              },
              "cursor": {
                "type": "string",
                "description": "next_cursor from the previous page, to get the next page."
              },
              "status": {
                "enum": [
                  "unscheduled",
                  "scheduled",
                  "in_progress",
                  "on_hold",
                  "done",
                  "cancelled"
                ],
                "type": "string",
                "description": "Job status."
              },
              "assigned_to": {
                "type": "string",
                "description": "Only jobs assigned to this staff id."
              },
              "customer_id": {
                "type": "string",
                "description": "Only records for this customer id."
              },
              "created_since": {
                "type": "string",
                "description": "Only records created at or after this ISO 8601 time."
              },
              "updated_since": {
                "type": "string",
                "description": "Only records changed at or after this ISO 8601 time."
              }
            }
          },
          "annotations": {
            "title": "List jobs",
            "readOnlyHint": true
          }
        },
        {
          "name": "thebusinessapp_get_job",
          "title": "Get a job",
          "description": "Get one job by id, with its status, schedule, value and access notes. TheBusinessApp API: GET /jobs/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "job_id"
            ],
            "properties": {
              "job_id": {
                "type": "string",
                "minLength": 1,
                "description": "The record id (a UUID from a list call)."
              }
            }
          },
          "annotations": {
            "title": "Get a job",
            "readOnlyHint": true
          }
        },
        {
          "name": "thebusinessapp_list_visits",
          "title": "List visits",
          "description": "List visits (scheduled site trips for a job), newest first. Filter by job or status. TheBusinessApp API: GET /visits.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, 1-100 (default 25)."
              },
              "cursor": {
                "type": "string",
                "description": "next_cursor from the previous page, to get the next page."
              },
              "job_id": {
                "type": "string",
                "description": "Only visits for this job id."
              },
              "status": {
                "enum": [
                  "scheduled",
                  "done",
                  "cancelled"
                ],
                "type": "string",
                "description": "Only visits with this status."
              },
              "created_since": {
                "type": "string",
                "description": "Only records created at or after this ISO 8601 time."
              },
              "updated_since": {
                "type": "string",
                "description": "Only records changed at or after this ISO 8601 time."
              }
            }
          },
          "annotations": {
            "title": "List visits",
            "readOnlyHint": true
          }
        },
        {
          "name": "thebusinessapp_list_invoices",
          "title": "List invoices",
          "description": "List invoices, newest first. Filter by status, customer or job. Shows drafts as well as sent invoices. TheBusinessApp API: GET /invoices.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, 1-100 (default 25)."
              },
              "cursor": {
                "type": "string",
                "description": "next_cursor from the previous page, to get the next page."
              },
              "job_id": {
                "type": "string",
                "description": "Only invoices for this job id."
              },
              "status": {
                "type": "string",
                "description": "Only invoices with this status, e.g. draft, sent, paid."
              },
              "customer_id": {
                "type": "string",
                "description": "Only records for this customer id."
              },
              "created_since": {
                "type": "string",
                "description": "Only records created at or after this ISO 8601 time."
              },
              "updated_since": {
                "type": "string",
                "description": "Only records changed at or after this ISO 8601 time."
              }
            }
          },
          "annotations": {
            "title": "List invoices",
            "readOnlyHint": true
          }
        },
        {
          "name": "thebusinessapp_get_invoice",
          "title": "Get an invoice",
          "description": "Get one invoice by id, with its line items, totals and status. TheBusinessApp API: GET /invoices/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "invoice_id"
            ],
            "properties": {
              "invoice_id": {
                "type": "string",
                "minLength": 1,
                "description": "The record id (a UUID from a list call)."
              }
            }
          },
          "annotations": {
            "title": "Get an invoice",
            "readOnlyHint": true
          }
        },
        {
          "name": "thebusinessapp_list_payments",
          "title": "List payments",
          "description": "List payments received against invoices (read only). TheBusinessApp API: GET /payments.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, 1-100 (default 25)."
              },
              "cursor": {
                "type": "string",
                "description": "next_cursor from the previous page, to get the next page."
              },
              "method": {
                "type": "string",
                "description": "Only payments by this method."
              },
              "invoice_id": {
                "type": "string",
                "description": "Only payments against this invoice id."
              },
              "created_since": {
                "type": "string",
                "description": "Only records created at or after this ISO 8601 time."
              },
              "updated_since": {
                "type": "string",
                "description": "Only records changed at or after this ISO 8601 time."
              }
            }
          },
          "annotations": {
            "title": "List payments",
            "readOnlyHint": true
          }
        },
        {
          "name": "thebusinessapp_list_products",
          "title": "List products",
          "description": "List the price list: services, labour, materials and equipment with unit prices. TheBusinessApp API: GET /products.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "sku": {
                "type": "string",
                "description": "Only the product with this SKU."
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, 1-100 (default 25)."
              },
              "active": {
                "type": "boolean",
                "description": "Only active (true) or inactive (false) products."
              },
              "cursor": {
                "type": "string",
                "description": "next_cursor from the previous page, to get the next page."
              },
              "category": {
                "type": "string",
                "description": "Only products in this category."
              },
              "created_since": {
                "type": "string",
                "description": "Only records created at or after this ISO 8601 time."
              },
              "updated_since": {
                "type": "string",
                "description": "Only records changed at or after this ISO 8601 time."
              }
            }
          },
          "annotations": {
            "title": "List products",
            "readOnlyHint": true
          }
        },
        {
          "name": "thebusinessapp_list_staff",
          "title": "List staff",
          "description": "List staff members with role and active flag. Pay rates are never returned. TheBusinessApp API: GET /staff.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "role": {
                "type": "string",
                "description": "Only staff with this role."
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, 1-100 (default 25)."
              },
              "active": {
                "type": "boolean",
                "description": "Only active (true) or inactive (false) staff."
              },
              "cursor": {
                "type": "string",
                "description": "next_cursor from the previous page, to get the next page."
              },
              "created_since": {
                "type": "string",
                "description": "Only records created at or after this ISO 8601 time."
              }
            }
          },
          "annotations": {
            "title": "List staff",
            "readOnlyHint": true
          }
        },
        {
          "name": "thebusinessapp_list_timesheets",
          "title": "List timesheets",
          "description": "List logged time entries, optionally for one staff member, job or approval state (read only). TheBusinessApp API: GET /timesheets.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, 1-100 (default 25)."
              },
              "cursor": {
                "type": "string",
                "description": "next_cursor from the previous page, to get the next page."
              },
              "job_id": {
                "type": "string",
                "description": "Only entries for this job id."
              },
              "user_id": {
                "type": "string",
                "description": "Only entries for this staff id."
              },
              "approved": {
                "type": "boolean",
                "description": "Only approved (true) or unapproved (false) entries."
              },
              "created_since": {
                "type": "string",
                "description": "Only records created at or after this ISO 8601 time."
              },
              "updated_since": {
                "type": "string",
                "description": "Only records changed at or after this ISO 8601 time."
              }
            }
          },
          "annotations": {
            "title": "List timesheets",
            "readOnlyHint": true
          }
        },
        {
          "name": "thebusinessapp_list_stock_items",
          "title": "List stock items",
          "description": "List stock levels per product and location (read only). TheBusinessApp API: GET /stock-items.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, 1-100 (default 25)."
              },
              "cursor": {
                "type": "string",
                "description": "next_cursor from the previous page, to get the next page."
              },
              "product_id": {
                "type": "string",
                "description": "Only stock for this product id."
              },
              "location_id": {
                "type": "string",
                "description": "Only stock at this location id."
              },
              "created_since": {
                "type": "string",
                "description": "Only records created at or after this ISO 8601 time."
              },
              "updated_since": {
                "type": "string",
                "description": "Only records changed at or after this ISO 8601 time."
              }
            }
          },
          "annotations": {
            "title": "List stock items",
            "readOnlyHint": true
          }
        },
        {
          "name": "thebusinessapp_create_customer",
          "title": "Create a customer",
          "description": "Create a customer. Writes a record only. TheBusinessApp API: POST /customers.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Customer name."
              },
              "type": {
                "enum": [
                  "individual",
                  "business"
                ],
                "type": "string",
                "description": "Customer type."
              },
              "email": {
                "type": "string",
                "description": "Email address."
              },
              "notes": {
                "type": "string",
                "description": "Internal notes."
              },
              "phone": {
                "type": "string",
                "description": "Phone number."
              },
              "status": {
                "enum": [
                  "lead",
                  "active",
                  "archived"
                ],
                "type": "string",
                "description": "Customer status."
              },
              "address": {
                "type": "string",
                "description": "Address."
              },
              "company": {
                "type": "string",
                "description": "Company name."
              },
              "postcode": {
                "type": "string",
                "description": "Postcode."
              },
              "idempotency_key": {
                "type": "string",
                "maxLength": 200,
                "description": "Optional key so a repeated create does not make a second record (sent as Idempotency-Key)."
              }
            }
          },
          "annotations": {
            "title": "Create a customer",
            "destructiveHint": true
          }
        },
        {
          "name": "thebusinessapp_update_customer",
          "title": "Update a customer",
          "description": "Change the fields you send on one customer; other fields stay as they are. TheBusinessApp API: PATCH /customers/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "customer_id"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "New name."
              },
              "email": {
                "type": "string",
                "description": "New email."
              },
              "notes": {
                "type": "string",
                "description": "New internal notes."
              },
              "phone": {
                "type": "string",
                "description": "New phone."
              },
              "status": {
                "enum": [
                  "lead",
                  "active",
                  "archived"
                ],
                "type": "string",
                "description": "New status."
              },
              "address": {
                "type": "string",
                "description": "New address."
              },
              "company": {
                "type": "string",
                "description": "New company name."
              },
              "postcode": {
                "type": "string",
                "description": "New postcode."
              },
              "customer_id": {
                "type": "string",
                "minLength": 1,
                "description": "The record id (a UUID from a list call)."
              }
            }
          },
          "annotations": {
            "title": "Update a customer",
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "thebusinessapp_create_enquiry",
          "title": "Create an enquiry",
          "description": "Add a new enquiry (lead) to the pipeline. Its source is set to api. TheBusinessApp API: POST /enquiries.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Name of the person who enquired."
              },
              "email": {
                "type": "string",
                "description": "Email address."
              },
              "phone": {
                "type": "string",
                "description": "Phone number."
              },
              "address": {
                "type": "string",
                "description": "Address for the work."
              },
              "message": {
                "type": "string",
                "description": "The enquiry message."
              },
              "service": {
                "type": "string",
                "description": "Service asked about, e.g. Boiler service."
              },
              "priority": {
                "enum": [
                  "low",
                  "normal",
                  "high",
                  "urgent"
                ],
                "type": "string",
                "description": "Priority."
              },
              "idempotency_key": {
                "type": "string",
                "maxLength": 200,
                "description": "Optional key so a repeated create does not make a second record (sent as Idempotency-Key)."
              }
            }
          },
          "annotations": {
            "title": "Create an enquiry",
            "destructiveHint": true
          }
        },
        {
          "name": "thebusinessapp_create_quote",
          "title": "Create a draft quote",
          "description": "Create a DRAFT quote for a customer. Totals are worked out for you. The quote is not sent; it stays in the app for a person to check and send. TheBusinessApp API: POST /quotes.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "customer_id",
              "items"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "description",
                    "unit_price"
                  ],
                  "properties": {
                    "unit": {
                      "type": "string",
                      "description": "Unit label, e.g. each, hour (default each)."
                    },
                    "quantity": {
                      "type": "number",
                      "description": "Quantity (default 1)."
                    },
                    "vat_rate": {
                      "type": "number",
                      "description": "VAT rate in percent (default 20)."
                    },
                    "product_id": {
                      "type": "string",
                      "description": "Product id from thebusinessapp_list_products, if the line uses one."
                    },
                    "unit_price": {
                      "type": "number",
                      "description": "Unit price in the company currency."
                    },
                    "description": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Line description."
                    },
                    "discount_pct": {
                      "type": "number",
                      "description": "Line discount in percent (default 0)."
                    }
                  }
                },
                "minItems": 1,
                "description": "Line items."
              },
              "notes": {
                "type": "string",
                "description": "Notes shown on the quote."
              },
              "terms": {
                "type": "string",
                "description": "Terms shown on the quote."
              },
              "title": {
                "type": "string",
                "description": "Quote title."
              },
              "job_id": {
                "type": "string",
                "description": "Job id to link the quote to."
              },
              "reference": {
                "type": "string",
                "description": "Your reference."
              },
              "enquiry_id": {
                "type": "string",
                "description": "Enquiry id to link the quote to."
              },
              "issue_date": {
                "type": "string",
                "description": "Issue date, YYYY-MM-DD."
              },
              "customer_id": {
                "type": "string",
                "minLength": 1,
                "description": "Customer id the quote is for."
              },
              "deposit_pct": {
                "type": "number",
                "description": "Deposit in percent."
              },
              "valid_until": {
                "type": "string",
                "description": "Valid until, YYYY-MM-DD."
              },
              "discount_pct": {
                "type": "number",
                "description": "Whole-quote discount in percent."
              },
              "idempotency_key": {
                "type": "string",
                "maxLength": 200,
                "description": "Optional key so a repeated create does not make a second record (sent as Idempotency-Key)."
              }
            }
          },
          "annotations": {
            "title": "Create a draft quote",
            "destructiveHint": true
          }
        },
        {
          "name": "thebusinessapp_create_job",
          "title": "Create a job",
          "description": "Create a job (work order) for a customer, optionally scheduled. TheBusinessApp API: POST /jobs.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "title"
            ],
            "properties": {
              "notes": {
                "type": "string",
                "description": "Internal notes."
              },
              "title": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Job title."
              },
              "value": {
                "type": "number",
                "description": "Job value in the company currency."
              },
              "status": {
                "enum": [
                  "unscheduled",
                  "scheduled",
                  "in_progress",
                  "on_hold",
                  "done",
                  "cancelled"
                ],
                "type": "string",
                "description": "Job status."
              },
              "address": {
                "type": "string",
                "description": "Where the work happens."
              },
              "job_type": {
                "type": "string",
                "description": "Job type label."
              },
              "priority": {
                "enum": [
                  "low",
                  "normal",
                  "high",
                  "urgent"
                ],
                "type": "string",
                "description": "Priority."
              },
              "quote_id": {
                "type": "string",
                "description": "Quote id the job comes from."
              },
              "assigned_to": {
                "type": "string",
                "description": "Staff id to assign the job to."
              },
              "customer_id": {
                "type": "string",
                "description": "Customer id the job is for."
              },
              "description": {
                "type": "string",
                "description": "What the job involves."
              },
              "access_notes": {
                "type": "string",
                "description": "How staff get on site."
              },
              "scheduled_end": {
                "type": "string",
                "description": "Planned end, ISO 8601 time."
              },
              "idempotency_key": {
                "type": "string",
                "maxLength": 200,
                "description": "Optional key so a repeated create does not make a second record (sent as Idempotency-Key)."
              },
              "scheduled_start": {
                "type": "string",
                "description": "Planned start, ISO 8601 time."
              }
            }
          },
          "annotations": {
            "title": "Create a job",
            "destructiveHint": true
          }
        },
        {
          "name": "thebusinessapp_update_job",
          "title": "Update a job",
          "description": "Change the fields you send on one job, e.g. status to done. Other fields stay as they are. TheBusinessApp API: PATCH /jobs/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "job_id"
            ],
            "properties": {
              "notes": {
                "type": "string",
                "description": "New internal notes."
              },
              "title": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "New title."
              },
              "value": {
                "type": "number",
                "description": "New job value."
              },
              "job_id": {
                "type": "string",
                "minLength": 1,
                "description": "The record id (a UUID from a list call)."
              },
              "status": {
                "enum": [
                  "unscheduled",
                  "scheduled",
                  "in_progress",
                  "on_hold",
                  "done",
                  "cancelled"
                ],
                "type": "string",
                "description": "Job status."
              },
              "address": {
                "type": "string",
                "description": "New address."
              },
              "job_type": {
                "type": "string",
                "description": "New job type label."
              },
              "priority": {
                "enum": [
                  "low",
                  "normal",
                  "high",
                  "urgent"
                ],
                "type": "string",
                "description": "Priority."
              },
              "assigned_to": {
                "type": "string",
                "description": "Staff id to assign the job to."
              },
              "description": {
                "type": "string",
                "description": "New description."
              },
              "access_notes": {
                "type": "string",
                "description": "New access notes."
              },
              "scheduled_end": {
                "type": "string",
                "description": "New planned end, ISO 8601 time."
              },
              "scheduled_start": {
                "type": "string",
                "description": "New planned start, ISO 8601 time."
              }
            }
          },
          "annotations": {
            "title": "Update a job",
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "thebusinessapp_add_job_visit",
          "title": "Add a visit to a job",
          "description": "Schedule a visit (a site trip) on a job. TheBusinessApp API: POST /jobs/{id}/visits.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "job_id",
              "starts_at",
              "ends_at"
            ],
            "properties": {
              "notes": {
                "type": "string",
                "description": "Notes for the visit."
              },
              "job_id": {
                "type": "string",
                "minLength": 1,
                "description": "The record id (a UUID from a list call)."
              },
              "ends_at": {
                "type": "string",
                "description": "Visit end, ISO 8601 time."
              },
              "starts_at": {
                "type": "string",
                "description": "Visit start, ISO 8601 time."
              },
              "idempotency_key": {
                "type": "string",
                "maxLength": 200,
                "description": "Optional key so a repeated create does not make a second record (sent as Idempotency-Key)."
              }
            }
          },
          "annotations": {
            "title": "Add a visit to a job",
            "destructiveHint": true
          }
        },
        {
          "name": "thebusinessapp_update_visit",
          "title": "Update a visit",
          "description": "Change a visit's status, time or notes. TheBusinessApp API: PATCH /visits/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "visit_id"
            ],
            "properties": {
              "notes": {
                "type": "string",
                "description": "New notes."
              },
              "status": {
                "enum": [
                  "scheduled",
                  "done",
                  "cancelled"
                ],
                "type": "string",
                "description": "New status."
              },
              "ends_at": {
                "type": "string",
                "description": "New end, ISO 8601 time."
              },
              "visit_id": {
                "type": "string",
                "minLength": 1,
                "description": "The record id (a UUID from a list call)."
              },
              "starts_at": {
                "type": "string",
                "description": "New start, ISO 8601 time."
              }
            }
          },
          "annotations": {
            "title": "Update a visit",
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "thebusinessapp_create_invoice",
          "title": "Create a draft invoice",
          "description": "Create a DRAFT invoice for a customer. It is never sent and no payment is taken; a person sends it in the app. TheBusinessApp API: POST /invoices.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "customer_id",
              "items"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "description",
                    "unit_price"
                  ],
                  "properties": {
                    "unit": {
                      "type": "string",
                      "description": "Unit label, e.g. each, hour (default each)."
                    },
                    "quantity": {
                      "type": "number",
                      "description": "Quantity (default 1)."
                    },
                    "vat_rate": {
                      "type": "number",
                      "description": "VAT rate in percent (default 20)."
                    },
                    "product_id": {
                      "type": "string",
                      "description": "Product id from thebusinessapp_list_products, if the line uses one."
                    },
                    "unit_price": {
                      "type": "number",
                      "description": "Unit price in the company currency."
                    },
                    "description": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Line description."
                    },
                    "discount_pct": {
                      "type": "number",
                      "description": "Line discount in percent (default 0)."
                    }
                  }
                },
                "minItems": 1,
                "description": "Line items."
              },
              "notes": {
                "type": "string",
                "description": "Notes shown on the invoice."
              },
              "job_id": {
                "type": "string",
                "description": "Job id to link the invoice to."
              },
              "due_date": {
                "type": "string",
                "description": "Due date, YYYY-MM-DD."
              },
              "quote_id": {
                "type": "string",
                "description": "Quote id to link the invoice to."
              },
              "reference": {
                "type": "string",
                "description": "Your reference."
              },
              "issue_date": {
                "type": "string",
                "description": "Issue date, YYYY-MM-DD."
              },
              "customer_id": {
                "type": "string",
                "minLength": 1,
                "description": "Customer id the invoice is for."
              },
              "discount_pct": {
                "type": "number",
                "description": "Whole-invoice discount in percent."
              },
              "idempotency_key": {
                "type": "string",
                "maxLength": 200,
                "description": "Optional key so a repeated create does not make a second record (sent as Idempotency-Key)."
              }
            }
          },
          "annotations": {
            "title": "Create a draft invoice",
            "destructiveHint": true
          }
        },
        {
          "name": "thebusinessapp_create_product",
          "title": "Create a product",
          "description": "Add an item to the price list. TheBusinessApp API: POST /products.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "name"
            ],
            "properties": {
              "sku": {
                "type": "string",
                "description": "SKU code."
              },
              "kind": {
                "enum": [
                  "service",
                  "labour",
                  "material",
                  "equipment"
                ],
                "type": "string",
                "description": "Product kind."
              },
              "name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Product name."
              },
              "unit": {
                "type": "string",
                "description": "Unit label, e.g. each, hour."
              },
              "active": {
                "type": "boolean",
                "description": "Whether the product is active."
              },
              "category": {
                "type": "string",
                "description": "Category."
              },
              "vat_rate": {
                "type": "number",
                "description": "VAT rate in percent."
              },
              "cost_price": {
                "type": "number",
                "description": "Cost price per unit."
              },
              "unit_price": {
                "type": "number",
                "description": "Sell price per unit."
              },
              "description": {
                "type": "string",
                "description": "Description."
              },
              "idempotency_key": {
                "type": "string",
                "maxLength": 200,
                "description": "Optional key so a repeated create does not make a second record (sent as Idempotency-Key)."
              }
            }
          },
          "annotations": {
            "title": "Create a product",
            "destructiveHint": true
          }
        },
        {
          "name": "thebusinessapp_get_accounting_export",
          "title": "Get an accounting export",
          "description": "Get one accounting export (sales, bills, contacts, bank, payments, products or credits) for Xero, QuickBooks, Sage 50, Sage Business Cloud or FreeAgent, as JSON with row counts. Needs the exports:read scope. TheBusinessApp API: GET /exports/{target}/{dataset}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "target",
              "dataset"
            ],
            "properties": {
              "to": {
                "type": "string",
                "description": "Period end, YYYY-MM-DD."
              },
              "from": {
                "type": "string",
                "description": "Period start, YYYY-MM-DD."
              },
              "target": {
                "enum": [
                  "xero",
                  "quickbooks",
                  "sage50",
                  "sage_bc",
                  "freeagent"
                ],
                "type": "string",
                "description": "Accounting package."
              },
              "dataset": {
                "enum": [
                  "sales",
                  "bills",
                  "contacts",
                  "bank",
                  "payments",
                  "products",
                  "credits"
                ],
                "type": "string",
                "description": "Dataset to export."
              },
              "since_last_export": {
                "type": "boolean",
                "description": "Leave out records an earlier API export already returned."
              }
            }
          },
          "annotations": {
            "title": "Get an accounting export",
            "readOnlyHint": true
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": [
        {
          "name": "getting_started",
          "description": "What you can do with TheBusinessApp here, with example requests to try."
        },
        {
          "name": "review_jobs_and_their_visits",
          "description": "List the jobs, filtered by status or staff member. Open a job for its schedule and access notes, and list its visits."
        },
        {
          "name": "review_unanswered_enquiries",
          "description": "List the enquiries filtered by status. Open one to read the customer's request."
        },
        {
          "name": "create_a_draft_quote",
          "description": "Create a draft quote for a customer with its lines. The quote stays in the app until a person sends it."
        },
        {
          "name": "schedule_a_visit_on_a_job",
          "description": "Add a visit to a job. Then update the status or time of the visit."
        }
      ]
    },
    "instructions": "Tools for TheBusinessApp, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: \"Which jobs are scheduled for tomorrow, and who is assigned to each one?\"; \"Show me all invoices that are still drafts and their totals.\"; \"Create a draft quote for the Patel account with two boiler service lines.\". Read-only tools never change data; ask the user before a tool that creates, changes or deletes TheBusinessApp data. Free plan: 50 tool calls per month. Run thebusinessapp_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run thebusinessapp_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run thebusinessapp_upgrade without a plan: it returns both plans, each with a payment link for the user to open. thebusinessapp_cancel_subscription cancels Pro at the end of the paid period."
  },
  "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."
}