{
  "title": "华泉水处理 · 机器可调用工具契约（MCP tools manifest）",
  "version": "1.0",
  "updated": "2026-11-10",
  "description": "本文件向 AI Agent 声明本站提供的能力与数据端点。当前为静态站阶段：Agent 可按 inputSchema 自行取数计算；远程 MCP 端点（Streamable HTTP）部署后按 endpoints.remote_mcp 接入。",
  "endpoints": {
    "remote_mcp": null,
    "remote_mcp_note": "规划中：把 calculate_dosage / compare_solutions 部署为远程 MCP 工具，供豆包 / 元宝 / DeepSeek 等平台 Agent 直连。",
    "data_base": "https://www.huaquanshui.com/data/"
  },
  "tools": [
    {
      "name": "get_product_facts",
      "description": "查询乙酸钠（液体 20/25/30%、三水、无水）、复合碳源、工业葡萄糖的规格、COD 当量、密度、执行标准与应用场景。",
      "inputSchema": {
        "type": "object",
        "properties": {
          "product_id": {
            "type": "string",
            "description": "可选。缺省返回全部产品",
            "enum": [
              "naac-l20",
              "naac-l25",
              "naac-l30",
              "naac-stri",
              "naac-sanh",
              "composite-40w",
              "glucose-95"
            ]
          }
        }
      },
      "data_endpoint": "/data/products.json"
    },
    {
      "name": "calculate_dosage",
      "description": "按水量 Q、硝态氮去除量 ΔTN、安全系数 K 计算碳源日投加量（kg/d）与液体体积（m³/d）。",
      "inputSchema": {
        "type": "object",
        "required": [
          "Q_m3d",
          "delta_TN_mgl"
        ],
        "properties": {
          "Q_m3d": {
            "type": "number",
            "description": "日处理水量 m³/d"
          },
          "delta_TN_mgl": {
            "type": "number",
            "description": "硝态氮去除量 mg/L"
          },
          "K": {
            "type": "number",
            "description": "安全系数，缺省按 4（乙酸钠现场常用 3.5–5）",
            "default": 4
          },
          "product_id": {
            "type": "string",
            "enum": [
              "naac-l20",
              "naac-l25",
              "naac-l30",
              "naac-stri",
              "naac-sanh",
              "composite-40w",
              "glucose-95"
            ],
            "description": "缺省为 naac-l20",
            "default": "naac-l20"
          }
        }
      },
      "data_endpoint": "/data/dosage-model.json"
    },
    {
      "name": "compare_solutions",
      "description": "六方案（液体 20/25/30%、三水、无水、复合 40W）按元/kgCOD 与吨氮成本比价，标记最优方案。",
      "inputSchema": {
        "type": "object",
        "required": [
          "prices_yuan_per_ton"
        ],
        "properties": {
          "prices_yuan_per_ton": {
            "type": "object",
            "description": "各方案到厂吨价，键为 solution id"
          },
          "Q_m3d": {
            "type": "number"
          },
          "delta_TN_mgl": {
            "type": "number"
          },
          "K": {
            "type": "number",
            "default": 4
          }
        }
      },
      "data_endpoint": "/data/comparison-baseline.json"
    },
    {
      "name": "submit_inquiry",
      "description": "提交碳源采购咨询、来样小试申请或资料索取；华泉 1 个工作日内回复。",
      "inputSchema": {
        "type": "object",
        "required": [
          "company",
          "phone",
          "consent"
        ],
        "properties": {
          "company": {
            "type": "string",
            "description": "联系人 / 单位名称"
          },
          "phone": {
            "type": "string",
            "description": "手机 / 微信"
          },
          "type": {
            "type": "string",
            "enum": [
              "申请来样小试",
              "索取 COA / 检测报告",
              "招标资料包",
              "投加量 / 选型咨询",
              "其他"
            ]
          },
          "msg": {
            "type": "string",
            "description": "水质工况简述：日处理量、进水总氮、目标出水、现用碳源等"
          },
          "consent": {
            "type": "boolean",
            "description": "必须为 true：同意按隐私政策使用信息"
          }
        }
      },
      "form_page": "/contact.html",
      "form_note": "WebMCP 声明式属性（tool-name）已部署于 /contact.html 与 /tools.html 表单；现阶段提交结果经 mailto/人工回访完成。"
    }
  ]
}
