{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "mcp.quotebuild.co.uk",
    "site": "quotebuild.co.uk",
    "addresses": [
      {
        "address": "216.150.16.1",
        "endpoints": 563,
        "shared_infrastructure": true,
        "network": {
          "asn": 16509,
          "name": "AMAZON-02 - Amazon.com, Inc.",
          "prefix": "216.150.16.0/24",
          "country": "US"
        }
      },
      {
        "address": "216.150.1.193",
        "endpoints": 677,
        "shared_infrastructure": true,
        "network": {
          "asn": 16509,
          "name": "AMAZON-02 - Amazon.com, Inc.",
          "prefix": "216.150.1.0/24",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "216.150.16.1",
          "216.150.1.193"
        ],
        "first_seen": "2026-11-22T20:10:05.001Z",
        "last_seen": "2026-11-22T20:10:05.001Z",
        "checks": 1
      },
      {
        "addresses": [
          "216.150.16.129",
          "216.150.16.193"
        ],
        "first_seen": "2026-11-21T15:58:01.331Z",
        "last_seen": "2026-11-21T15:58:01.331Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Vercel",
        "evidence": "Server header \"Vercel\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "QuoteBuild",
      "version": "0.1.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "Vercel",
      "strict-transport-security": "max-age=63072000"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 1195,
      "sample": [
        {
          "id": "38",
          "url": "https://www.hood.ag/api/mcp",
          "server_name": "ag.hood/name-service",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T04:32:01.495Z"
        },
        {
          "id": "39",
          "url": "https://www.almostimpossible.agency/mcp",
          "server_name": "agency.almostimpossible/site",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T04:32:01.495Z"
        },
        {
          "id": "182",
          "url": "https://www.ai-portal.ai/mcp",
          "server_name": "ai.ai-portal/ai-portal",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T04:34:01.210Z"
        },
        {
          "id": "248",
          "url": "https://app.aqta.ai/api/mcp",
          "server_name": "ai.aqta/seal",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T04:35:03.039Z"
        },
        {
          "id": "278",
          "url": "https://asrm.ai/mcp",
          "server_name": "ai.asrm/asrm",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T04:37:01.449Z"
        },
        {
          "id": "368",
          "url": "https://beexcellent.ai/api/mcp/public",
          "server_name": "ai.beexcellent/reference",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T04:39:02.648Z"
        },
        {
          "id": "375",
          "url": "https://api.betslipdoctor.ai/api/mcp",
          "server_name": "ai.betslipdoctor/mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T04:39:01.652Z"
        },
        {
          "id": "390",
          "url": "https://blinibot.ai/api/agents/mcp",
          "server_name": "ai.blinibot/agent-lounge",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T04:39:02.400Z"
        },
        {
          "id": "395",
          "url": "https://property.bluebed.ai/mcp",
          "server_name": "ai.bluebed.property/new-launches",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T04:40:02.123Z"
        },
        {
          "id": "413",
          "url": "https://booqer.ai/mcp",
          "server_name": "ai.booqer/booqer",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T04:40:02.124Z"
        },
        {
          "id": "416",
          "url": "https://www.bordet.ai/api/mcp/mcp",
          "server_name": "ai.bordet/bordet",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T04:39:02.482Z"
        },
        {
          "id": "430",
          "url": "https://www.budgetseo.ai/api/mcp",
          "server_name": "ai.budgetseo/budget-seo-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T04:41:00.965Z"
        },
        {
          "id": "754",
          "url": "https://www.edgechat.ai/mcp",
          "server_name": "ai.edgechat/edgepedia",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T04:48:01.794Z"
        },
        {
          "id": "787",
          "url": "https://mcp.tenda.eshmere.ai/mcp",
          "server_name": "ai.eshmere/tenda",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T04:50:01.774Z"
        },
        {
          "id": "868",
          "url": "https://www.flamel.ai/mcp",
          "server_name": "ai.flamel/public-content",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T04:51:02.819Z"
        },
        {
          "id": "908",
          "url": "https://mcp.fudge.ai/mcp",
          "server_name": "ai.fudge/fudge",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T04:52:01.102Z"
        },
        {
          "id": "1083",
          "url": "https://govrelations.ai/mcp",
          "server_name": "ai.govrelations/govrelations",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T04:54:00.852Z"
        },
        {
          "id": "1183",
          "url": "https://hustlin.ai/api/mcp",
          "server_name": "ai.hustlin/hustlin",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T04:56:01.796Z"
        },
        {
          "id": "1300",
          "url": "https://kifly.ai/api/mcp",
          "server_name": "ai.kifly/mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T04:59:02.560Z"
        },
        {
          "id": "1330",
          "url": "https://app.kolect.ai/mcp",
          "server_name": "ai.kolect.app/creator-search",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T05:00:03.485Z"
        }
      ]
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.github.joea836",
      "total": 1,
      "sample": [
        {
          "name": "io.github.joea836/scene",
          "title": "SCENE"
        }
      ]
    },
    "same_repository": null,
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "30736",
    "server_name": "io.github.joea836/quotebuild",
    "url": "https://mcp.quotebuild.co.uk/mcp",
    "host": "mcp.quotebuild.co.uk",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-22T20:10:05.001Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "2eecbc94454c4b39ede76c6a4b85f35d68f5b03fb2d33aa4f535aa2bfa16638e",
    "first_listed_at": "2026-11-21T15:58:01.331Z",
    "created_at": "2026-11-21T10:05:04.130Z",
    "resolved_addresses": [
      "216.150.16.1",
      "216.150.1.193"
    ]
  },
  "server": {
    "name": "io.github.joea836/quotebuild",
    "title": "QuoteBuild",
    "description": "UK building calculators, estimate comparisons and account-scoped quoting and job costs.",
    "version": "0.1.0",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://www.quotebuild.co.uk/chat-integrations",
    "published_at": "2026-11-13T09:17:11.680Z",
    "updated_at": "2026-11-13T09:17:11.680Z",
    "first_seen": "2026-11-21T10:05:03.822Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [
      "runs-agents",
      "takes-payment"
    ],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:43:06.344Z"
  },
  "operator": {
    "key": "quotebuild.co.uk",
    "name": "quotebuild.co.uk",
    "platform": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 2,
    "answered": 2,
    "answered_percent": 100,
    "avg_listing_latency_ms": 529,
    "first_check_in_window": "2026-11-21T15:58:01.331Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "2eecbc94454c4b39ede76c6a4b85f35d68f5b03fb2d33aa4f535aa2bfa16638e",
    "tools": 31,
    "resources": 1,
    "prompts": 0,
    "first_seen": "2026-11-21T15:58:01.802Z",
    "tool_names": [
      "discover_calculators",
      "prepare_calculation",
      "run_calculation",
      "compare_calculations",
      "review_estimate_scope",
      "list_jobs",
      "get_job",
      "get_estimate",
      "get_quote",
      "get_job_financials",
      "list_variations",
      "list_invoices",
      "list_job_files",
      "get_business_report",
      "get_billing_status",
      "create_job",
      "save_estimate_draft",
      "create_quote_draft",
      "add_job_cost",
      "prepare_job_evidence_upload",
      "attach_job_file",
      "create_variation_draft",
      "create_invoice_draft",
      "prepare_invoice_payment_record",
      "record_invoice_payment",
      "prepare_quote_send",
      "send_quote",
      "prepare_variation_send",
      "send_variation",
      "prepare_invoice_send",
      "send_invoice"
    ],
    "declared": {
      "tools": [
        {
          "name": "discover_calculators",
          "title": "Discover QuoteBuild calculators",
          "description": "Finds the narrowest deterministic QuoteBuild calculator for a UK building task.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "query": {
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "prepare_calculation",
          "title": "Prepare a calculation",
          "description": "Returns the exact questions and typed inputs required before a deterministic calculation can run.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "calculatorId"
            ],
            "properties": {
              "supplied": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "calculatorId": {
                "enum": [
                  "bathroom",
                  "kitchen",
                  "extension",
                  "flatRoof",
                  "boarding",
                  "room",
                  "patio"
                ],
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "run_calculation",
          "title": "Run a QuoteBuild calculation",
          "description": "Runs one versioned QuoteBuild formula. Missing inputs use disclosed example defaults; confirm them and labour inclusion before drafting. Rates are baseline allowances. The model must not calculate monetary totals itself.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "calculatorId",
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "pricing": {
                "type": "object",
                "properties": {
                  "marginMode": {
                    "enum": [
                      "markup",
                      "gross_margin"
                    ],
                    "type": "string",
                    "default": "markup"
                  },
                  "vatPercent": {
                    "type": "number"
                  },
                  "marginPercent": {
                    "type": "number"
                  },
                  "contingencyPercent": {
                    "type": "number"
                  }
                }
              },
              "calculatorId": {
                "enum": [
                  "bathroom",
                  "kitchen",
                  "extension",
                  "flatRoof",
                  "boarding",
                  "room",
                  "patio"
                ],
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "compare_calculations",
          "title": "Compare calculation scenarios",
          "description": "Runs and compares up to five scenarios using the same versioned QuoteBuild formula.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "calculatorId",
              "scenarios"
            ],
            "properties": {
              "scenarios": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "values"
                  ],
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "values": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    },
                    "pricing": {
                      "type": "object",
                      "properties": {
                        "marginMode": {
                          "enum": [
                            "markup",
                            "gross_margin"
                          ],
                          "type": "string",
                          "default": "markup"
                        },
                        "vatPercent": {
                          "type": "number"
                        },
                        "marginPercent": {
                          "type": "number"
                        },
                        "contingencyPercent": {
                          "type": "number"
                        }
                      }
                    }
                  }
                }
              },
              "calculatorId": {
                "enum": [
                  "bathroom",
                  "kitchen",
                  "extension",
                  "flatRoof",
                  "boarding",
                  "room",
                  "patio"
                ],
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "review_estimate_scope",
          "title": "Review estimate scope",
          "description": "Checks line completeness, unresolved scope and zero rates without changing the estimate. This does not establish construction scope completeness or readiness to quote.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "items"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "trade",
                    "description",
                    "quantity",
                    "unit",
                    "rate",
                    "category"
                  ],
                  "properties": {
                    "rate": {
                      "type": "number"
                    },
                    "unit": {
                      "type": "string"
                    },
                    "trade": {
                      "type": "string"
                    },
                    "category": {
                      "enum": [
                        "materials",
                        "labour",
                        "hire"
                      ],
                      "type": "string"
                    },
                    "quantity": {
                      "type": "number"
                    },
                    "description": {
                      "type": "string"
                    },
                    "scopeStatus": {
                      "enum": [
                        "included",
                        "excluded",
                        "optional",
                        "provisional_sum",
                        "client_supplied",
                        "contractor_supplied",
                        "by_others",
                        "to_be_confirmed"
                      ],
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "list_jobs",
          "title": "List jobs",
          "description": "Lists the signed-in user’s jobs. Client contact details and full addresses are omitted unless clients:read is granted.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "number",
                "default": 25
              },
              "status": {
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "get_job",
          "title": "Get job",
          "description": "Gets one owned job with client data redacted unless clients:read is granted.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "jobId"
            ],
            "properties": {
              "jobId": {
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "get_estimate",
          "title": "Get estimate",
          "description": "Gets the latest or requested immutable estimate version for one owned job.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "jobId"
            ],
            "properties": {
              "jobId": {
                "type": "string"
              },
              "versionNumber": {
                "type": "number"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "get_quote",
          "title": "Get quote",
          "description": "Gets one owned quote and its recipient-visible pack data.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "quoteId"
            ],
            "properties": {
              "quoteId": {
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "get_job_financials",
          "title": "Get job financials",
          "description": "Returns current estimate, quote, cost, variation and invoice totals for one owned job.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "jobId"
            ],
            "properties": {
              "jobId": {
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "list_variations",
          "title": "List variations",
          "description": "Lists variations belonging to one owned job.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "jobId"
            ],
            "properties": {
              "jobId": {
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "list_invoices",
          "title": "List invoices",
          "description": "Lists invoices belonging to one owned job.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "jobId"
            ],
            "properties": {
              "jobId": {
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "list_job_files",
          "title": "List job files",
          "description": "Lists job photos and files without exposing private storage credentials.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "jobId"
            ],
            "properties": {
              "jobId": {
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "get_business_report",
          "title": "Get business report",
          "description": "Returns aggregate business and margin totals for an owned date range.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "from",
              "to"
            ],
            "properties": {
              "to": {
                "type": "string"
              },
              "from": {
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "get_billing_status",
          "title": "Get billing status",
          "description": "Returns subscription and trial entitlement status, never payment-card data.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "create_job",
          "title": "Create job draft",
          "description": "Creates an owned job draft. This does not contact the client.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "idempotencyKey",
              "name",
              "clientName",
              "jobType"
            ],
            "properties": {
              "name": {
                "type": "string"
              },
              "notes": {
                "type": "string"
              },
              "address": {
                "type": "string"
              },
              "jobType": {
                "type": "string"
              },
              "clientName": {
                "type": "string"
              },
              "clientEmail": {
                "type": "string"
              },
              "clientPhone": {
                "type": "string"
              },
              "idempotencyKey": {
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "save_estimate_draft",
          "title": "Save estimate version",
          "description": "Creates a new immutable estimate version; it never overwrites the last valid version.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "idempotencyKey",
              "jobId",
              "items"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "trade",
                    "description",
                    "quantity",
                    "unit",
                    "rate",
                    "category"
                  ],
                  "properties": {
                    "rate": {
                      "type": "number"
                    },
                    "unit": {
                      "type": "string"
                    },
                    "trade": {
                      "type": "string"
                    },
                    "category": {
                      "enum": [
                        "materials",
                        "labour",
                        "hire"
                      ],
                      "type": "string"
                    },
                    "quantity": {
                      "type": "number"
                    },
                    "description": {
                      "type": "string"
                    },
                    "scopeStatus": {
                      "enum": [
                        "included",
                        "excluded",
                        "optional",
                        "provisional_sum",
                        "client_supplied",
                        "contractor_supplied",
                        "by_others",
                        "to_be_confirmed"
                      ],
                      "type": "string"
                    }
                  }
                }
              },
              "jobId": {
                "type": "string"
              },
              "label": {
                "type": "string"
              },
              "notes": {
                "type": "string"
              },
              "vatRate": {
                "type": "number",
                "default": 20
              },
              "vatEnabled": {
                "type": "boolean",
                "default": false
              },
              "marginLabour": {
                "type": "number",
                "default": 30
              },
              "idempotencyKey": {
                "type": "string"
              },
              "expectedVersion": {
                "type": "string"
              },
              "marginMaterials": {
                "type": "number",
                "default": 20
              },
              "contingencyPercent": {
                "type": "number",
                "default": 0
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "create_quote_draft",
          "title": "Create quote draft",
          "description": "Creates an unsent quote from an owned, versioned estimate and recalculates every monetary total inside QuoteBuild.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "idempotencyKey",
              "jobId",
              "expectedVersion",
              "quoteNumber"
            ],
            "properties": {
              "jobId": {
                "type": "string"
              },
              "notes": {
                "type": "string"
              },
              "validUntil": {
                "type": "string"
              },
              "quoteNumber": {
                "type": "string"
              },
              "idempotencyKey": {
                "type": "string"
              },
              "expectedVersion": {
                "type": "string"
              },
              "estimateVersionNumber": {
                "type": "number"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "add_job_cost",
          "title": "Add live job cost",
          "description": "Adds one actual or forecast job cost to an owned job.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "idempotencyKey",
              "jobId",
              "trade",
              "description",
              "itemType",
              "quantity",
              "unit",
              "unitCost"
            ],
            "properties": {
              "unit": {
                "type": "string"
              },
              "jobId": {
                "type": "string"
              },
              "notes": {
                "type": "string"
              },
              "trade": {
                "type": "string"
              },
              "itemType": {
                "enum": [
                  "materials",
                  "labour",
                  "subcontractor",
                  "hire",
                  "other"
                ],
                "type": "string"
              },
              "quantity": {
                "type": "number"
              },
              "unitCost": {
                "type": "number"
              },
              "actualCost": {
                "type": "number"
              },
              "description": {
                "type": "string"
              },
              "expenseDate": {
                "type": "string"
              },
              "idempotencyKey": {
                "type": "string"
              },
              "expectedVersion": {
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "prepare_job_evidence_upload",
          "title": "Prepare receipt or payment-proof upload",
          "description": "Creates a one-time, ten-minute secure image upload for a supplier receipt, customer payment proof or job evidence. Uploading proof never marks an invoice as paid.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "idempotencyKey",
              "jobId",
              "kind",
              "fileName",
              "mimeType",
              "fileSize"
            ],
            "properties": {
              "kind": {
                "enum": [
                  "supplier_receipt",
                  "customer_payment_proof",
                  "job_evidence"
                ],
                "type": "string"
              },
              "note": {
                "type": "string"
              },
              "jobId": {
                "type": "string"
              },
              "fileName": {
                "type": "string"
              },
              "fileSize": {
                "type": "number"
              },
              "mimeType": {
                "enum": [
                  "image/jpeg",
                  "image/png",
                  "image/webp"
                ],
                "type": "string"
              },
              "invoiceId": {
                "type": "string"
              },
              "costItemId": {
                "type": "string"
              },
              "idempotencyKey": {
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "attach_job_file",
          "title": "Attach job file",
          "description": "Registers a host-provided file after upload reservation validation. It never performs OCR or plan reading.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "idempotencyKey",
              "jobId",
              "fileName",
              "mimeType",
              "fileSize",
              "hostFileUrl"
            ],
            "properties": {
              "jobId": {
                "type": "string"
              },
              "fileName": {
                "type": "string"
              },
              "fileSize": {
                "type": "number"
              },
              "mimeType": {
                "type": "string"
              },
              "hostFileUrl": {
                "type": "string"
              },
              "idempotencyKey": {
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "create_variation_draft",
          "title": "Create variation draft",
          "description": "Creates an unsent variation draft and calculates its amount from the supplied reviewed lines inside QuoteBuild.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "idempotencyKey",
              "jobId",
              "description",
              "items"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "trade",
                    "description",
                    "quantity",
                    "unit",
                    "rate",
                    "category"
                  ],
                  "properties": {
                    "rate": {
                      "type": "number"
                    },
                    "unit": {
                      "type": "string"
                    },
                    "trade": {
                      "type": "string"
                    },
                    "category": {
                      "enum": [
                        "materials",
                        "labour",
                        "hire"
                      ],
                      "type": "string"
                    },
                    "quantity": {
                      "type": "number"
                    },
                    "description": {
                      "type": "string"
                    },
                    "scopeStatus": {
                      "enum": [
                        "included",
                        "excluded",
                        "optional",
                        "provisional_sum",
                        "client_supplied",
                        "contractor_supplied",
                        "by_others",
                        "to_be_confirmed"
                      ],
                      "type": "string"
                    }
                  }
                }
              },
              "jobId": {
                "type": "string"
              },
              "notes": {
                "type": "string"
              },
              "quoteId": {
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "idempotencyKey": {
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "create_invoice_draft",
          "title": "Create invoice draft",
          "description": "Creates an unsent invoice draft and calculates its amount from the supplied reviewed lines inside QuoteBuild.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "idempotencyKey",
              "jobId",
              "invoiceNumber",
              "items"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "trade",
                    "description",
                    "quantity",
                    "unit",
                    "rate",
                    "category"
                  ],
                  "properties": {
                    "rate": {
                      "type": "number"
                    },
                    "unit": {
                      "type": "string"
                    },
                    "trade": {
                      "type": "string"
                    },
                    "category": {
                      "enum": [
                        "materials",
                        "labour",
                        "hire"
                      ],
                      "type": "string"
                    },
                    "quantity": {
                      "type": "number"
                    },
                    "description": {
                      "type": "string"
                    },
                    "scopeStatus": {
                      "enum": [
                        "included",
                        "excluded",
                        "optional",
                        "provisional_sum",
                        "client_supplied",
                        "contractor_supplied",
                        "by_others",
                        "to_be_confirmed"
                      ],
                      "type": "string"
                    }
                  }
                }
              },
              "jobId": {
                "type": "string"
              },
              "notes": {
                "type": "string"
              },
              "dueDate": {
                "type": "string"
              },
              "quoteId": {
                "type": "string"
              },
              "invoiceNumber": {
                "type": "string"
              },
              "idempotencyKey": {
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "prepare_invoice_payment_record",
          "title": "Prepare invoice payment record",
          "description": "Shows the exact unpaid invoice and records a one-use ten-minute confirmation. It does not mark the invoice paid.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "idempotencyKey",
              "invoiceId",
              "expectedVersion",
              "paymentMethod"
            ],
            "properties": {
              "paidAt": {
                "type": "string"
              },
              "invoiceId": {
                "type": "string"
              },
              "paymentMethod": {
                "enum": [
                  "bank_transfer",
                  "cash",
                  "card",
                  "cheque",
                  "other"
                ],
                "type": "string"
              },
              "idempotencyKey": {
                "type": "string"
              },
              "paymentProofId": {
                "type": "string"
              },
              "expectedVersion": {
                "type": "string"
              },
              "paymentReference": {
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "record_invoice_payment",
          "title": "Record confirmed invoice payment",
          "description": "Marks the exact prepared invoice as paid only after an explicit, one-use confirmation. It never contacts the customer or payment provider.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "idempotencyKey",
              "invoiceId",
              "confirmationToken"
            ],
            "properties": {
              "invoiceId": {
                "type": "string"
              },
              "idempotencyKey": {
                "type": "string"
              },
              "confirmationToken": {
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "prepare_quote_send",
          "title": "Prepare quote send",
          "description": "Previews the exact current quote recipient and payload, then stores a one-use ten-minute confirmation token. This does not send.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "quoteId",
              "expectedVersion",
              "idempotencyKey"
            ],
            "properties": {
              "quoteId": {
                "type": "string"
              },
              "idempotencyKey": {
                "type": "string"
              },
              "expectedVersion": {
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "send_quote",
          "title": "Send quote",
          "description": "Sends the exact prepared quote payload after validating the one-use confirmation token.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "quoteId",
              "confirmationToken",
              "idempotencyKey"
            ],
            "properties": {
              "quoteId": {
                "type": "string"
              },
              "idempotencyKey": {
                "type": "string"
              },
              "confirmationToken": {
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "prepare_variation_send",
          "title": "Prepare variation send",
          "description": "Previews the exact current variation recipient and payload, then stores a one-use ten-minute confirmation token. This does not send.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "variationId",
              "expectedVersion",
              "idempotencyKey"
            ],
            "properties": {
              "variationId": {
                "type": "string"
              },
              "idempotencyKey": {
                "type": "string"
              },
              "expectedVersion": {
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "send_variation",
          "title": "Send variation",
          "description": "Sends the exact prepared variation payload after validating the one-use confirmation token.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "variationId",
              "confirmationToken",
              "idempotencyKey"
            ],
            "properties": {
              "variationId": {
                "type": "string"
              },
              "idempotencyKey": {
                "type": "string"
              },
              "confirmationToken": {
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "prepare_invoice_send",
          "title": "Prepare invoice send",
          "description": "Previews the exact current invoice recipient and payload, then stores a one-use ten-minute confirmation token. This does not send.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "invoiceId",
              "expectedVersion",
              "idempotencyKey"
            ],
            "properties": {
              "invoiceId": {
                "type": "string"
              },
              "idempotencyKey": {
                "type": "string"
              },
              "expectedVersion": {
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "send_invoice",
          "title": "Send invoice",
          "description": "Sends the exact prepared invoice payload after validating the one-use confirmation token.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "invoiceId",
              "confirmationToken",
              "idempotencyKey"
            ],
            "properties": {
              "invoiceId": {
                "type": "string"
              },
              "idempotencyKey": {
                "type": "string"
              },
              "confirmationToken": {
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "warnings",
              "assumptions",
              "nextActions"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {},
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "UNAUTHENTICATED",
                      "FORBIDDEN",
                      "VALIDATION_ERROR",
                      "CONFLICT",
                      "RATE_LIMITED",
                      "FEATURE_UNAVAILABLE",
                      "RETRYABLE"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "rateSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "recordVersion": {
                    "type": "string"
                  },
                  "formulaVersion": {
                    "type": "number"
                  },
                  "calculationRunId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "nextActions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "requiresConfirmation"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "requiresConfirmation": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [
        {
          "name": "ui://quotebuild/workspace.html",
          "uri": "ui://quotebuild/workspace.html",
          "mimeType": "text/html;profile=mcp-app",
          "description": "Portable calculator, estimating, quote, cost, variation, invoice, file and report workspace."
        }
      ],
      "prompts": []
    },
    "instructions": "Start with discover_calculators and prepare_calculation. Ask missing questions before running a real-job calculation; defaults are examples, not confirmed project facts. Confirm labour, rates, VAT and markup versus gross margin. Use returned totals only and show warnings, assumptions and defaulted inputs. Scope review checks line completeness only. Read records before writes and use returned versions. Reuse the same idempotency key for the same uncertain retry; read back after a conflict. Drafting never authorizes sending. Prepare the exact payload, show the recipient and document, and obtain explicit user confirmation before sending or recording payment. Never treat a receipt as proof that an invoice was paid."
  },
  "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."
}