{
  "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": "brightpearl.usefulapi.io",
    "site": "usefulapi.io",
    "addresses": [
      {
        "address": "172.67.138.37",
        "endpoints": 1105,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.128.0/20",
          "country": "US"
        }
      },
      {
        "address": "104.21.62.184",
        "endpoints": 1105,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.21.32.0/19",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3032::6815:3eb8",
        "endpoints": 1105,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3032::/48",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3030::ac43:8a25",
        "endpoints": 1105,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3030::/48",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "172.67.138.37",
          "104.21.62.184",
          "2606:4700:3032::6815:3eb8",
          "2606:4700:3030::ac43:8a25"
        ],
        "first_seen": "2026-11-23T03:42:01.203Z",
        "last_seen": "2026-11-23T03:42:01.203Z",
        "checks": 1
      },
      {
        "addresses": [
          "172.67.138.37",
          "104.21.62.184",
          "2606:4700:3030::ac43:8a25",
          "2606:4700:3032::6815:3eb8"
        ],
        "first_seen": "2026-11-21T20:14:00.471Z",
        "last_seen": "2026-11-21T20:14:00.471Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "brightpearl-mcp",
      "version": "1.23.4",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 1104,
      "sample": [
        {
          "id": "22186",
          "url": "https://mcp.easyscribe.guide/mcp",
          "server_name": "guide.easyscribe/easy-scribe",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T17:59:02.319Z"
        },
        {
          "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": 1103,
      "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": 1103,
      "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": 1103,
      "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": "42211",
    "server_name": "io.usefulapi/brightpearl",
    "url": "https://brightpearl.usefulapi.io/mcp",
    "host": "brightpearl.usefulapi.io",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-23T03:42:01.203Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "978d76c97ee25d9c04f70568d94aca3e5784be9cb20debd9c008cb1a522b96b4",
    "first_listed_at": "2026-11-21T20:14:00.471Z",
    "created_at": "2026-11-21T12:35:11.145Z",
    "resolved_addresses": [
      "172.67.138.37",
      "104.21.62.184",
      "2606:4700:3032::6815:3eb8",
      "2606:4700:3030::ac43:8a25"
    ]
  },
  "server": {
    "name": "io.usefulapi/brightpearl",
    "title": "Brightpearl MCP by usefulapi",
    "description": "Search Brightpearl orders, products, stock, contacts and payments; add notes, update order status.",
    "version": "1.23.4",
    "registry_status": "active",
    "repository_url": "https://github.com/m190/usefulapi-mcp",
    "website_url": "https://usefulapi.io/brightpearl/",
    "published_at": "2026-11-18T11:02:27.988Z",
    "updated_at": "2026-11-18T11:02:27.988Z",
    "first_seen": "2026-11-21T12:35:10.508Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T16:08:11.802Z"
  },
  "operator": {
    "key": "usefulapi.io",
    "name": "usefulapi.io",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 2,
    "answered": 2,
    "answered_percent": 100,
    "avg_listing_latency_ms": 339,
    "first_check_in_window": "2026-11-21T20:14:00.471Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-23",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "978d76c97ee25d9c04f70568d94aca3e5784be9cb20debd9c008cb1a522b96b4",
    "tools": 25,
    "resources": 0,
    "prompts": 6,
    "first_seen": "2026-11-21T20:14:00.949Z",
    "tool_names": [
      "brightpearl_get_account_configuration",
      "brightpearl_search_orders",
      "brightpearl_get_orders",
      "brightpearl_get_order_notes",
      "brightpearl_list_order_statuses",
      "brightpearl_list_order_types",
      "brightpearl_add_order_note",
      "brightpearl_update_order_status",
      "brightpearl_search_products",
      "brightpearl_get_products",
      "brightpearl_get_product_prices",
      "brightpearl_get_product_availability",
      "brightpearl_list_price_lists",
      "brightpearl_search_brands",
      "brightpearl_search_categories",
      "brightpearl_list_warehouses",
      "brightpearl_list_shipping_methods",
      "brightpearl_search_goods_out_notes",
      "brightpearl_search_goods_in_notes",
      "brightpearl_search_contacts",
      "brightpearl_get_contacts",
      "brightpearl_add_contact_note",
      "brightpearl_search_customer_payments",
      "brightpearl_list_payment_methods",
      "brightpearl_list_tax_codes"
    ],
    "declared": {
      "tools": [
        {
          "name": "brightpearl_get_account_configuration",
          "title": "Get account configuration",
          "description": "The Brightpearl account's configuration as key/value pairs: base currency, tax scheme, time zone, default and new-order status ids, nominal codes, weight unit, whether multiple warehouses are enabled. GET /integration-service/account-configuration.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "annotations": {
            "title": "Get account configuration",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "brightpearl_search_orders",
          "title": "Search orders",
          "description": "Search sales orders, sales credits, purchase orders and purchase credits. Every filter is optional and they combine (AND); each result row has orderId, orderTypeId, contactId, orderStatusId, orderStockStatusId, createdOn, updatedOn, customerRef, externalRef, warehouseId and more. Use brightpearl_get_orders for the full order. Order type ids: brightpearl_list_order_types; status ids: brightpearl_list_order_statuses. GET /order-service/order-search.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "is_closed": {
                "type": "boolean",
                "description": "Whether the order is invoiced (closed)."
              },
              "order_ids": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "maxItems": 100,
                "minItems": 1,
                "description": "Only these orders (one or more ids)."
              },
              "page_size": {
                "type": "integer",
                "maximum": 500,
                "description": "Rows per page, 1-500 (default 25).",
                "exclusiveMinimum": 0
              },
              "placed_to": {
                "type": "string",
                "description": "Placed: on or before this day (yyyy-mm-dd, whole day included) or ISO 8601 date-time with timezone."
              },
              "contact_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Only orders of this customer/supplier contact id.",
                "exclusiveMinimum": 0
              },
              "created_to": {
                "type": "string",
                "description": "Created: on or before this day (yyyy-mm-dd, whole day included) or ISO 8601 date-time with timezone."
              },
              "updated_to": {
                "type": "string",
                "description": "Last updated: on or before this day (yyyy-mm-dd, whole day included) or ISO 8601 date-time with timezone."
              },
              "placed_from": {
                "type": "string",
                "description": "Placed: on or after this day (yyyy-mm-dd) or ISO 8601 date-time with timezone."
              },
              "created_from": {
                "type": "string",
                "description": "Created: on or after this day (yyyy-mm-dd) or ISO 8601 date-time with timezone."
              },
              "customer_ref": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Customer reference of the order."
              },
              "external_ref": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "External reference of the order (for example the web shop's order number)."
              },
              "first_result": {
                "type": "integer",
                "maximum": 10000000,
                "description": "Position of the first row to return, from 1 (default 1). Pass the previous reply's next_first_result for the next page.",
                "exclusiveMinimum": 0
              },
              "newest_first": {
                "type": "boolean",
                "description": "Newest (highest id) first. Default: oldest first."
              },
              "updated_from": {
                "type": "string",
                "description": "Last updated: on or after this day (yyyy-mm-dd) or ISO 8601 date-time with timezone."
              },
              "warehouse_id": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "maxItems": 100,
                "minItems": 1,
                "description": "Only orders for these warehouses (one or more ids)."
              },
              "order_type_id": {
                "type": "integer",
                "maximum": 100,
                "description": "Order type id (1 sales order, 2 purchase order, 3 sales credit, 4 purchase credit; see brightpearl_list_order_types).",
                "exclusiveMinimum": 0
              },
              "order_status_id": {
                "type": "integer",
                "maximum": 1000000,
                "description": "Order status id (brightpearl_list_order_statuses).",
                "exclusiveMinimum": 0
              },
              "payment_status_id": {
                "type": "integer",
                "maximum": 1000,
                "description": "Order payment status id.",
                "exclusiveMinimum": 0
              },
              "id_or_external_ref": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Matches an order id OR an external reference (case-insensitive match)."
              },
              "shipping_status_id": {
                "type": "integer",
                "maximum": 1000,
                "description": "Order shipping status id.",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Search orders",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "brightpearl_get_orders",
          "title": "Get orders",
          "description": "Full details of one or more orders by id: type, status, payment/stock/shipping status, dates, currency, totals, assignment, customer/supplier, billing and delivery parties, and the order rows (product, quantity, price, tax). Up to 50 ids. GET /order-service/order/{ids}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "order_ids"
            ],
            "properties": {
              "order_ids": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "maxItems": 50,
                "minItems": 1,
                "description": "Order ids (1-50 ids)."
              },
              "include_custom_fields": {
                "type": "boolean",
                "description": "Also return the order's custom field values (includeOptional=customFields,nullCustomFields)."
              }
            }
          },
          "annotations": {
            "title": "Get orders",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "brightpearl_get_order_notes",
          "title": "Get order notes",
          "description": "All notes on one order (text, author contact id, date, whether it is public on the customer portal, the order status at the time). GET /order-service/order/{id}/note.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "order_id"
            ],
            "properties": {
              "order_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Order id.",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Get order notes",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "brightpearl_list_order_statuses",
          "title": "List order statuses",
          "description": "The account's order statuses (id, name, order type code SO/PO/SC/PC, sort order, disabled, visible to the customer, state such as draft). Use the ids to filter orders or to change an order's status. GET /order-service/order-status.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "annotations": {
            "title": "List order statuses",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "brightpearl_list_order_types",
          "title": "List order types",
          "description": "The four order types with their ids and codes (1 SO sales order, 2 PO purchase order, 3 SC sales credit, 4 PC purchase credit), for the order search. GET /order-service/order-type.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "annotations": {
            "title": "List order types",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "brightpearl_add_order_note",
          "title": "Add order note",
          "description": "WRITE: add a note to an existing order. The note is private (staff only) unless is_public is true, which makes it visible on the customer portal. Returns the new note id. Notes cannot be removed with this server. POST /order-service/order/{id}/note.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "order_id",
              "text"
            ],
            "properties": {
              "text": {
                "type": "string",
                "maxLength": 5000,
                "minLength": 1,
                "description": "The note text."
              },
              "order_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Order id.",
                "exclusiveMinimum": 0
              },
              "is_public": {
                "type": "boolean",
                "description": "Visible to the customer on the customer portal. Default false."
              }
            }
          },
          "annotations": {
            "title": "Add order note",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "brightpearl_update_order_status",
          "title": "Update order status",
          "description": "WRITE: move an existing order to another status (ids from brightpearl_list_order_statuses; the new status must exist, be visible and belong to this order's type). Brightpearl adds an order note on success, and status changes can trigger the account's alerts and automations. Moving a sales order to the account's 'cancelled' status removes its reservations and coupons and is refused while goods-out notes or payments exist. PUT /order-service/order/{id}/status.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "order_id",
              "order_status_id"
            ],
            "properties": {
              "note": {
                "type": "string",
                "maxLength": 5000,
                "minLength": 1,
                "description": "Text of the order note Brightpearl adds (default: generated by Brightpearl)."
              },
              "order_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Order id.",
                "exclusiveMinimum": 0
              },
              "note_is_public": {
                "type": "boolean",
                "description": "Make that note visible on the customer portal. Default false."
              },
              "order_status_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "The new order status id.",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Update order status",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "brightpearl_search_products",
          "title": "Search products",
          "description": "Search the product catalogue. Every filter is optional and they combine (AND); each result row has productId, productName, SKU, barcode, EAN, UPC, ISBN, MPN, stockTracked, createdOn, updatedOn, brightpearlCategoryCode, productGroupId, brandId, productTypeId, productStatus, primarySupplierId. Use brightpearl_get_products for full details. GET /product-service/product-search.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "ean": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "EAN."
              },
              "mpn": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "MPN."
              },
              "sku": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Exact SKU."
              },
              "upc": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "UPC."
              },
              "isbn": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "ISBN."
              },
              "name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Product name (case-insensitive match)."
              },
              "barcode": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Barcode."
              },
              "brand_id": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "maxItems": 100,
                "minItems": 1,
                "description": "Only these brands (one or more ids)."
              },
              "page_size": {
                "type": "integer",
                "maximum": 500,
                "description": "Rows per page, 1-500 (default 25).",
                "exclusiveMinimum": 0
              },
              "created_to": {
                "type": "string",
                "description": "Created: on or before this day (yyyy-mm-dd, whole day included) or ISO 8601 date-time with timezone."
              },
              "updated_to": {
                "type": "string",
                "description": "Last updated: on or before this day (yyyy-mm-dd, whole day included) or ISO 8601 date-time with timezone."
              },
              "category_id": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "maxItems": 100,
                "minItems": 1,
                "description": "Only these Brightpearl categories (one or more ids)."
              },
              "product_ids": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "maxItems": 100,
                "minItems": 1,
                "description": "Only these products (one or more ids)."
              },
              "created_from": {
                "type": "string",
                "description": "Created: on or after this day (yyyy-mm-dd) or ISO 8601 date-time with timezone."
              },
              "first_result": {
                "type": "integer",
                "maximum": 10000000,
                "description": "Position of the first row to return, from 1 (default 1). Pass the previous reply's next_first_result for the next page.",
                "exclusiveMinimum": 0
              },
              "newest_first": {
                "type": "boolean",
                "description": "Newest (highest id) first. Default: oldest first."
              },
              "updated_from": {
                "type": "string",
                "description": "Last updated: on or after this day (yyyy-mm-dd) or ISO 8601 date-time with timezone."
              },
              "stock_tracked": {
                "type": "boolean",
                "description": "Only stock-tracked (true) or non-stock (false) products."
              },
              "product_status": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Lifecycle status code, for example LIVE."
              },
              "product_type_id": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "maxItems": 100,
                "minItems": 1,
                "description": "Only these product types (one or more ids)."
              },
              "product_group_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Only products of this product group (variations); 0 = products that are not in a group."
              },
              "primary_supplier_id": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "maxItems": 100,
                "minItems": 1,
                "description": "Only products with these primary suppliers (one or more ids)."
              }
            }
          },
          "annotations": {
            "title": "Search products",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "brightpearl_get_products",
          "title": "Get products",
          "description": "Full details of one or more products by id: identity (SKU, barcodes), brand, type, stock-tracking, weight and dimensions, tax code, sales-channel names/descriptions/categories, bundle composition, variations, per-warehouse reorder levels, supplier and status. Up to 50 ids. GET /product-service/product/{ids}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "product_ids"
            ],
            "properties": {
              "product_ids": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "maxItems": 50,
                "minItems": 1,
                "description": "Product ids (1-50 ids)."
              },
              "include_custom_fields": {
                "type": "boolean",
                "description": "Also return custom field values (includeOptional=customFields,nullCustomFields)."
              }
            }
          },
          "annotations": {
            "title": "Get products",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "brightpearl_get_product_prices",
          "title": "Get product prices",
          "description": "Prices of products per price list: for each product and price list the currency, SKU and the quantity-break price map (e.g. {\"1\":\"12\",\"100\":\"11\"}). Up to 50 product ids; optionally only some price lists (ids from brightpearl_list_price_lists). GET /product-service/product-price/{product ids}/price-list/{price list ids}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "product_ids"
            ],
            "properties": {
              "product_ids": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "maxItems": 50,
                "minItems": 1,
                "description": "Product ids (1-50 ids)."
              },
              "price_list_ids": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "minimum": 0
                },
                "maxItems": 50,
                "minItems": 1,
                "description": "Only these price list ids (0 is the cost price list)."
              }
            }
          },
          "annotations": {
            "title": "Get product prices",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "brightpearl_get_product_availability",
          "title": "Get product stock availability",
          "description": "Stock availability of stock-tracked products: for each product the totals across all warehouses (inStock, onHand, allocated, inTransit) and the same per warehouse; optionally per location, with on-order quantities. Up to 50 product ids. GET /warehouse-service/product-availability/{ids}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "product_ids"
            ],
            "properties": {
              "on_order": {
                "type": "boolean",
                "description": "Also include quantities on open purchase orders (total and shipped)."
              },
              "by_location": {
                "type": "boolean",
                "description": "Also break the figures down by location within each warehouse."
              },
              "product_ids": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "maxItems": 50,
                "minItems": 1,
                "description": "Product ids (1-50 ids)."
              }
            }
          },
          "annotations": {
            "title": "Get product stock availability",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "brightpearl_list_price_lists",
          "title": "List price lists",
          "description": "The price lists (id, name, code, currency, SELL or BUY, gross or net). Id 0 is the cost price list. GET /product-service/price-list.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "annotations": {
            "title": "List price lists",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "brightpearl_search_brands",
          "title": "Search brands",
          "description": "Search product brands by name; each row has brandId, brandName, createdOn, updatedOn. GET /product-service/brand-search.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Brand name (case-insensitive match)."
              },
              "page_size": {
                "type": "integer",
                "maximum": 500,
                "description": "Rows per page, 1-500 (default 25).",
                "exclusiveMinimum": 0
              },
              "first_result": {
                "type": "integer",
                "maximum": 10000000,
                "description": "Position of the first row to return, from 1 (default 1). Pass the previous reply's next_first_result for the next page.",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Search brands",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "brightpearl_search_categories",
          "title": "Search product categories",
          "description": "Search Brightpearl product categories; each row has id, name, parentId, active, createdOn, updatedOn. GET /product-service/brightpearl-category-search.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Category name."
              },
              "active": {
                "type": "boolean",
                "description": "Only active (true) or inactive (false) categories."
              },
              "page_size": {
                "type": "integer",
                "maximum": 500,
                "description": "Rows per page, 1-500 (default 25).",
                "exclusiveMinimum": 0
              },
              "parent_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Only the children of this category; 0 = the top-level categories."
              },
              "first_result": {
                "type": "integer",
                "maximum": 10000000,
                "description": "Position of the first row to return, from 1 (default 1). Pass the previous reply's next_first_result for the next page.",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Search product categories",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "brightpearl_list_warehouses",
          "title": "List warehouses",
          "description": "The warehouses (id, name, type, address id, click-and-collect settings, weekly operating hours). Use the ids for stock and order filters. GET /warehouse-service/warehouse.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "annotations": {
            "title": "List warehouses",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "brightpearl_list_shipping_methods",
          "title": "List shipping methods",
          "description": "The shipping methods (id, name, code, carrier, price breaks, countries). GET /warehouse-service/shipping-method.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "annotations": {
            "title": "List shipping methods",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "brightpearl_search_goods_out_notes",
          "title": "Search goods-out notes (shipments)",
          "description": "Search goods-out notes, the pick/pack/ship records of sales orders; each row has goodsOutNoteId, printed, picked, packed, shipped, shippedOn, orderId, shippingMethodId, warehouseId, createdOn, releaseDate, transfer. GET /warehouse-service/goods-note/goods-out-search.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "packed": {
                "type": "boolean",
                "description": "Only packed (true) or not yet packed (false) notes."
              },
              "picked": {
                "type": "boolean",
                "description": "Only picked (true) or not yet picked (false) notes."
              },
              "shipped": {
                "type": "boolean",
                "description": "Only shipped (true) or not yet shipped (false) notes."
              },
              "order_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Only notes of this order.",
                "exclusiveMinimum": 0
              },
              "page_size": {
                "type": "integer",
                "maximum": 500,
                "description": "Rows per page, 1-500 (default 25).",
                "exclusiveMinimum": 0
              },
              "created_to": {
                "type": "string",
                "description": "Created: on or before this day (yyyy-mm-dd, whole day included) or ISO 8601 date-time with timezone."
              },
              "shipped_to": {
                "type": "string",
                "description": "Shipped: on or before this day (yyyy-mm-dd, whole day included) or ISO 8601 date-time with timezone."
              },
              "created_from": {
                "type": "string",
                "description": "Created: on or after this day (yyyy-mm-dd) or ISO 8601 date-time with timezone."
              },
              "first_result": {
                "type": "integer",
                "maximum": 10000000,
                "description": "Position of the first row to return, from 1 (default 1). Pass the previous reply's next_first_result for the next page.",
                "exclusiveMinimum": 0
              },
              "newest_first": {
                "type": "boolean",
                "description": "Newest (highest id) first. Default: oldest first."
              },
              "shipped_from": {
                "type": "string",
                "description": "Shipped: on or after this day (yyyy-mm-dd) or ISO 8601 date-time with timezone."
              },
              "warehouse_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Only notes of this warehouse.",
                "exclusiveMinimum": 0
              },
              "shipping_method_id": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "maxItems": 100,
                "minItems": 1,
                "description": "Only these shipping methods (one or more ids)."
              }
            }
          },
          "annotations": {
            "title": "Search goods-out notes",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "brightpearl_search_goods_in_notes",
          "title": "Search goods-in notes (stock received)",
          "description": "Search goods-in records (stock received against purchase orders, by batch and location); each row has purchaseOrderId, batchId, productId, locationId, price, currCode, receivedQuantity, onHand, createdDate, receivedDate, warehouseId. GET /warehouse-service/goods-in-search.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "batch_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Only this batch.",
                "exclusiveMinimum": 0
              },
              "page_size": {
                "type": "integer",
                "maximum": 500,
                "description": "Rows per page, 1-500 (default 25).",
                "exclusiveMinimum": 0
              },
              "product_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Only this product.",
                "exclusiveMinimum": 0
              },
              "received_to": {
                "type": "string",
                "description": "Received: on or before this day (yyyy-mm-dd, whole day included) or ISO 8601 date-time with timezone."
              },
              "first_result": {
                "type": "integer",
                "maximum": 10000000,
                "description": "Position of the first row to return, from 1 (default 1). Pass the previous reply's next_first_result for the next page.",
                "exclusiveMinimum": 0
              },
              "newest_first": {
                "type": "boolean",
                "description": "Newest batch (highest batch id) first. Default: oldest first."
              },
              "warehouse_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Only this warehouse.",
                "exclusiveMinimum": 0
              },
              "received_from": {
                "type": "string",
                "description": "Received: on or after this day (yyyy-mm-dd) or ISO 8601 date-time with timezone."
              },
              "purchase_order_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Only stock received on this purchase order.",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Search goods-in notes",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "brightpearl_search_contacts",
          "title": "Search contacts",
          "description": "Search contacts (customers, suppliers and staff). Every filter is optional and they combine (AND); each result row has contactId, primaryEmail, firstName, lastName, companyName, isSupplier, isStaff, isCustomer, createdOn, updatedOn, lastOrderedOn and more. Use brightpearl_get_contacts for the full record. GET /contact-service/contact-search.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "email": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Matches any of the contact's email addresses (case-insensitive match)."
              },
              "phone": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Matches any of the telephone or mobile numbers."
              },
              "tag_ids": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "maxItems": 100,
                "minItems": 1,
                "description": "Only contacts with these tag ids (one or more ids)."
              },
              "is_staff": {
                "type": "boolean",
                "description": "Only staff (true)."
              },
              "last_name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Last name (case-insensitive match)."
              },
              "page_size": {
                "type": "integer",
                "maximum": 500,
                "description": "Rows per page, 1-500 (default 25).",
                "exclusiveMinimum": 0
              },
              "created_to": {
                "type": "string",
                "description": "Created: on or before this day (yyyy-mm-dd, whole day included) or ISO 8601 date-time with timezone."
              },
              "first_name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "First name (case-insensitive match)."
              },
              "updated_to": {
                "type": "string",
                "description": "Last updated: on or before this day (yyyy-mm-dd, whole day included) or ISO 8601 date-time with timezone."
              },
              "company_ids": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "maxItems": 100,
                "minItems": 1,
                "description": "Only contacts of these company ids (one or more ids)."
              },
              "contact_ids": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "maxItems": 100,
                "minItems": 1,
                "description": "Only these contacts (one or more ids)."
              },
              "is_customer": {
                "type": "boolean",
                "description": "Only customers (true)."
              },
              "is_supplier": {
                "type": "boolean",
                "description": "Only suppliers (true)."
              },
              "company_name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Company name (case-insensitive match)."
              },
              "created_from": {
                "type": "string",
                "description": "Created: on or after this day (yyyy-mm-dd) or ISO 8601 date-time with timezone."
              },
              "first_result": {
                "type": "integer",
                "maximum": 10000000,
                "description": "Position of the first row to return, from 1 (default 1). Pass the previous reply's next_first_result for the next page.",
                "exclusiveMinimum": 0
              },
              "newest_first": {
                "type": "boolean",
                "description": "Newest (highest id) first. Default: oldest first."
              },
              "updated_from": {
                "type": "string",
                "description": "Last updated: on or after this day (yyyy-mm-dd) or ISO 8601 date-time with timezone."
              },
              "last_ordered_to": {
                "type": "string",
                "description": "Last ordered: on or before this day (yyyy-mm-dd, whole day included) or ISO 8601 date-time with timezone."
              },
              "last_ordered_from": {
                "type": "string",
                "description": "Last ordered: on or after this day (yyyy-mm-dd) or ISO 8601 date-time with timezone."
              },
              "exact_primary_email": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Exact primary email address."
              }
            }
          },
          "annotations": {
            "title": "Search contacts",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "brightpearl_get_contacts",
          "title": "Get contacts",
          "description": "Full records of one or more contacts by id: name, emails, phones, status, supplier/staff flags, financial details (price list, tax code, credit limit and terms), assignment, organisation, tags, dates; optionally custom fields and the full postal addresses. Up to 50 ids. GET /contact-service/contact/{ids}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "contact_ids"
            ],
            "properties": {
              "contact_ids": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "maxItems": 50,
                "minItems": 1,
                "description": "Contact ids (1-50 ids)."
              },
              "include_addresses": {
                "type": "boolean",
                "description": "Also return the full postal addresses."
              },
              "include_custom_fields": {
                "type": "boolean",
                "description": "Also return custom field values."
              }
            }
          },
          "annotations": {
            "title": "Get contacts",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "brightpearl_add_contact_note",
          "title": "Add contact note",
          "description": "WRITE: add a note to a contact's timeline (for example a record of correspondence). The note is private (staff only) unless is_public is true, which makes it visible on the customer portal. Returns the new note id. Notes cannot be removed with this server. POST /contact-service/contact/{id}/note.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "contact_id",
              "text"
            ],
            "properties": {
              "text": {
                "type": "string",
                "maxLength": 5000,
                "minLength": 1,
                "description": "The note text."
              },
              "is_public": {
                "type": "boolean",
                "description": "Visible to the customer on the customer portal. Default false."
              },
              "contact_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Contact id.",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Add contact note",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "brightpearl_search_customer_payments",
          "title": "Search customer payments",
          "description": "Search payments received against sales orders; each row has paymentId, transactionRef, paymentMethodCode, paymentType, orderId, currencyCode, amountAuthorized, amountPaid, paymentDate, createdOn, journalId. GET /accounting-service/customer-payment-search.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "order_ids": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "maxItems": 100,
                "minItems": 1,
                "description": "Only payments on these orders (one or more ids)."
              },
              "page_size": {
                "type": "integer",
                "maximum": 500,
                "description": "Rows per page, 1-500 (default 25).",
                "exclusiveMinimum": 0
              },
              "created_to": {
                "type": "string",
                "description": "Created: on or before this day (yyyy-mm-dd, whole day included) or ISO 8601 date-time with timezone."
              },
              "payment_to": {
                "type": "string",
                "description": "Payment date: on or before this day (yyyy-mm-dd, whole day included) or ISO 8601 date-time with timezone."
              },
              "payment_ids": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "maxItems": 100,
                "minItems": 1,
                "description": "Only these payments (one or more ids)."
              },
              "created_from": {
                "type": "string",
                "description": "Created: on or after this day (yyyy-mm-dd) or ISO 8601 date-time with timezone."
              },
              "first_result": {
                "type": "integer",
                "maximum": 10000000,
                "description": "Position of the first row to return, from 1 (default 1). Pass the previous reply's next_first_result for the next page.",
                "exclusiveMinimum": 0
              },
              "newest_first": {
                "type": "boolean",
                "description": "Newest (highest id) first. Default: oldest first."
              },
              "payment_from": {
                "type": "string",
                "description": "Payment date: on or after this day (yyyy-mm-dd) or ISO 8601 date-time with timezone."
              },
              "payment_type": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Payment type, for example RECEIPT, CAPTURE, AUTH."
              },
              "transaction_ref": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "The payment gateway's transaction reference."
              },
              "payment_method_code": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Payment method code (brightpearl_list_payment_methods)."
              }
            }
          },
          "annotations": {
            "title": "Search customer payments",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "brightpearl_list_payment_methods",
          "title": "List payment methods",
          "description": "The payment methods (name, code, active, bank accounts with currency and nominal code). GET /accounting-service/payment-method.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "annotations": {
            "title": "List payment methods",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "brightpearl_list_tax_codes",
          "title": "List tax codes",
          "description": "The tax codes (id, code, description, rate). GET /accounting-service/tax-code.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "annotations": {
            "title": "List tax codes",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": [
        {
          "name": "getting_started",
          "description": "What you can do with Brightpearl here, with example requests to try."
        },
        {
          "name": "find_sales_orders_that_still_wait_to_be_shipped",
          "description": "The AI searches orders by type, status and dates, then opens them to see statuses, totals and order rows."
        },
        {
          "name": "check_stock_of_a_product_in_each_warehouse",
          "description": "The AI finds a product by SKU and reads in-stock, on-hand, allocated and in-transit quantities per warehouse."
        },
        {
          "name": "look_up_a_customer_and_their_latest_orders",
          "description": "The AI searches contacts by email or name, reads the contact record, and finds the orders placed by that contact."
        },
        {
          "name": "check_payments_and_shipments_of_orders",
          "description": "The AI searches customer payments received against sales orders and goods-out notes, which show picked, packed and shipped state."
        },
        {
          "name": "add_a_note_or_change_the_status_of_an_order",
          "description": "The AI adds a private or public note to an order, or moves the order to another status. A status change can trigger other actions in Brightpearl."
        }
      ]
    },
    "instructions": "Tools for Brightpearl, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: \"Which sales orders were placed yesterday and are still waiting to be shipped?\"; \"How much stock of SKU ABC-123 do we have in each warehouse?\"; \"Show the full details and notes of order 100182.\". Read-only tools never change data; ask the user before a tool that creates, changes or deletes Brightpearl data. Free plan: 50 tool calls per month. Run brightpearl_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 brightpearl_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 brightpearl_upgrade without a plan: it returns both plans, each with a payment link for the user to open. brightpearl_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."
}