好啦体检 MCP is an MCP server published by cn.com.ihaola, hosted at ai.ihaola.com.cn. When last checked on 2026-11-24 it was working: it answers and lists its tools. It declares 25 tools, including vendor_list, vendor_brands, order_list, welfare_list, corp_inquiry.
企业团检分档报价与企业咨询、个人体检方案推荐、门店查询、体检预约、订单与体检件查询、体检常见问题。合作体检机构 800+ 门店,覆盖 240+ 城市,其中 540+ 门店支持 AI 直接查询与预约。
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
[匿名可调用] 查门店地址并获取具体 hospitalCode。支持三种方式,至少传一种:1) hospitalCode(可带 vendorids,按第一个品牌查);2) longitude+latitude(可带 radius 米,默认 50000,可带 vendorids);3) province/city/district(可带 vendorids)。外部调用仅支持 vendor.brands 返回的乙方;chain 和 hospital 两类主体都通过本工具获取 hospitalCode。不确定乙方和覆盖城市时先用 vendor.brands。
| Parameter | Type | Description |
|---|---|---|
| city | string | |
| radius | number | |
| district | string | |
| latitude | number | |
| province | string | |
| longitude | number | |
| vendorids | array |
| hospitalCode | string |
{
"name": "vendor_list",
"title": "vendor.list",
"description": "[匿名可调用] 查门店地址并获取具体 hospitalCode。支持三种方式,至少传一种:1) hospitalCode(可带 vendorids,按第一个品牌查);2) longitude+latitude(可带 radius 米,默认 50000,可带 vendorids);3) province/city/district(可带 vendorids)。外部调用仅支持 vendor.brands 返回的乙方;chain 和 hospital 两类主体都通过本工具获取 hospitalCode。不确定乙方和覆盖城市时先用 vendor.brands。",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"city": {
"type": "string"
},
"radius": {
"type": "number"
},
"district": {
"type": "string"
},
"latitude": {
"type": "number"
},
"province": {
"type": "string"
},
"longitude": {
"type": "number"
},
"vendorids": {
"type": "array",
"items": {
"type": "string"
}
},
"hospitalCode": {
"type": "string"
}
}
}
}[匿名可调用] 本工具无入参,查对外乙方、城市覆盖及主体类型。返回项中的 type=chain 为连锁品牌,vendorid 用于 vendor.list 查询旗下门店;type=hospital 为医院主体,仍需通过 vendor.list 获取具体 hospitalCode 后再预约。慈铭是美年旗下品牌,health100 同时对应美年和慈铭属于正常情况。
No parameters.
{
"name": "vendor_brands",
"title": "vendor.brands",
"description": "[匿名可调用] 本工具无入参,查对外乙方、城市覆盖及主体类型。返回项中的 type=chain 为连锁品牌,vendorid 用于 vendor.list 查询旗下门店;type=hospital 为医院主体,仍需通过 vendor.list 获取具体 hospitalCode 后再预约。慈铭是美年旗下品牌,health100 同时对应美年和慈铭属于正常情况。",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
}
}[需要登录] 查订单。返回当前登录身份可访问的订单。filter 支持 $gte/$lte 日期范围、$in/$or 多值匹配。 鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。
| Parameter | Type | Description |
|---|---|---|
| page | number | |
| limit | number | |
| filter | object |
{
"name": "order_list",
"title": "order.list",
"description": "[需要登录] 查订单。返回当前登录身份可访问的订单。filter 支持 $gte/$lte 日期范围、$in/$or 多值匹配。\n\n鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "number"
},
"limit": {
"type": "number"
},
"filter": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
}
}
}[需要登录] 查当前登录用户的体检件。 鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。
| Parameter | Type | Description |
|---|---|---|
| ID | string | |
| name | string | |
| mobile | string | |
| rootid | string | |
| partnerid | string | |
| serviceid | string |
{
"name": "welfare_list",
"title": "welfare.list",
"description": "[需要登录] 查当前登录用户的体检件。\n\n鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"ID": {
"type": "string"
},
"name": {
"type": "string"
},
"mobile": {
"type": "string"
},
"rootid": {
"type": "string"
},
"partnerid": {
"type": "string"
},
"serviceid": {
"type": "string"
}
}
}
}[匿名可调用] 提交企业商务咨询。企业客户有任何问题(合作咨询、产品了解、报价请求、投诉建议)均可提交,销售 24h 内联系。phone 支持手机号、座机号和带国家码的号码。
| Parameter | Type | Description |
|---|---|---|
| city | string | |
| phone * | string | |
| budget | string | |
| company * | string | |
| contact * | string | |
| message | string | |
| employees | number |
{
"name": "corp_inquiry",
"title": "corp.inquiry",
"description": "[匿名可调用] 提交企业商务咨询。企业客户有任何问题(合作咨询、产品了解、报价请求、投诉建议)均可提交,销售 24h 内联系。phone 支持手机号、座机号和带国家码的号码。",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"company",
"contact",
"phone"
],
"properties": {
"city": {
"type": "string"
},
"phone": {
"type": "string"
},
"budget": {
"type": "string"
},
"company": {
"type": "string"
},
"contact": {
"type": "string"
},
"message": {
"type": "string"
},
"employees": {
"type": "number"
}
}
}
}[匿名可调用] 查询好啦商务对接人(团检/商务合作):返回对接人姓名、电话、邮箱、二维码图片 URL。用户报价后需要人工商务对接时调用。
No parameters.
{
"name": "corp_contact",
"title": "corp.contact",
"description": "[匿名可调用] 查询好啦商务对接人(团检/商务合作):返回对接人姓名、电话、邮箱、二维码图片 URL。用户报价后需要人工商务对接时调用。",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
}
}[匿名可调用] 提交体检机构上架申请:用户想去的体检机构不在 vendor_list 返回结果中时,先询问并收集用户愿意提供的机构名称、城市、机构联系人和本人联系方式,用户确认后再提交。userContact 用于回访用户。
| Parameter | Type | Description |
|---|---|---|
| city | string | |
| userNote | string | |
| vendorName * | string | |
| userContact | string | |
| vendorContact | string |
{
"name": "corp_vendor_onboard",
"title": "corp.vendor_onboard",
"description": "[匿名可调用] 提交体检机构上架申请:用户想去的体检机构不在 vendor_list 返回结果中时,先询问并收集用户愿意提供的机构名称、城市、机构联系人和本人联系方式,用户确认后再提交。userContact 用于回访用户。",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"vendorName"
],
"properties": {
"city": {
"type": "string"
},
"userNote": {
"type": "string"
},
"vendorName": {
"type": "string"
},
"userContact": {
"type": "string"
},
"vendorContact": {
"type": "string"
}
}
}
}[需要登录] 保存个人体检方案:按乙方项目规则校验客户端选择的项目并保存,返回 planId、vendorId、issues;仅当用户确认保存方案或继续预约时调用,推荐方案直接用 vendor_items 返回的项目和价格,不要调用本工具;name、summary 可选传入并返回;能查到注意事项时同时返回 caution,caution 已转换为面向 agent 的结构。itemIds 必须来自 vendor_items 返回的 items[].id;女性必须传 marital(married/unmarried),男性可不传;校验失败时返回 issues,不返回 planId。返回 caution 时,必须在调用 reservation.book 之前向用户展示与本次项目相关的注意事项,按 duration 从早到晚动态组织时间线,不套固定天数分组,重点提示空腹、停药、禁忌时间窗。 鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。
| Parameter | Type | Description |
|---|---|---|
| name | string | |
| gender * | string | |
| itemIds * | array | |
| marital | string | |
| summary | string | |
| vendorId * | string |
{
"name": "plan_create",
"title": "plan.create",
"description": "[需要登录] 保存个人体检方案:按乙方项目规则校验客户端选择的项目并保存,返回 planId、vendorId、issues;仅当用户确认保存方案或继续预约时调用,推荐方案直接用 vendor_items 返回的项目和价格,不要调用本工具;name、summary 可选传入并返回;能查到注意事项时同时返回 caution,caution 已转换为面向 agent 的结构。itemIds 必须来自 vendor_items 返回的 items[].id;女性必须传 marital(married/unmarried),男性可不传;校验失败时返回 issues,不返回 planId。返回 caution 时,必须在调用 reservation.book 之前向用户展示与本次项目相关的注意事项,按 duration 从早到晚动态组织时间线,不套固定天数分组,重点提示空腹、停药、禁忌时间窗。\n\n鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"vendorId",
"itemIds",
"gender"
],
"properties": {
"name": {
"type": "string"
},
"gender": {
"type": "string"
},
"itemIds": {
"type": "array",
"items": {
"type": "string"
}
},
"marital": {
"type": "string"
},
"summary": {
"type": "string"
},
"vendorId": {
"type": "string"
}
}
}
}[匿名可调用] 按需查询领域知识。外部可用 URI: enums(状态码) / objects/contact(联系人) / objects/contact-profile(健康画像) / objects/checkup-proposal(企业团检方案顾问引导词)。企业团检报价先调用 vendor_items 获取项目、规则与价格,再读取该引导词组织方案。查 action 参数用 help()
| Parameter | Type | Description |
|---|---|---|
| uri | string |
{
"name": "knowledge_get",
"title": "knowledge.get",
"description": "[匿名可调用] 按需查询领域知识。外部可用 URI: enums(状态码) / objects/contact(联系人) / objects/contact-profile(健康画像) / objects/checkup-proposal(企业团检方案顾问引导词)。企业团检报价先调用 vendor_items 获取项目、规则与价格,再读取该引导词组织方案。查 action 参数用 help()",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"uri": {
"type": "string"
}
}
}
}[匿名可调用] 三级帮助系统。无参列出本体;传 ontology 列出该本体下工具;传 ontology 和 sub_action 查看参数,sub_action 用完整名称,如 vendor.list、plan.create。
| Parameter | Type | Description |
|---|---|---|
| ontology | string | |
| sub_action | string |
{
"name": "help",
"title": "help",
"description": "[匿名可调用] 三级帮助系统。无参列出本体;传 ontology 列出该本体下工具;传 ontology 和 sub_action 查看参数,sub_action 用完整名称,如 vendor.list、plan.create。",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"ontology": {
"type": "string"
},
"sub_action": {
"type": "string"
}
}
}
}[需要登录] 查询指定福利的详细内容,包括检查项目列表、规则说明、适用机构等。 鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。
| Parameter | Type | Description |
|---|---|---|
| vendorid | string | |
| welfareid * | string |
{
"name": "welfare_detail",
"title": "welfare.detail",
"description": "[需要登录] 查询指定福利的详细内容,包括检查项目列表、规则说明、适用机构等。\n\n鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"welfareid"
],
"properties": {
"vendorid": {
"type": "string"
},
"welfareid": {
"type": "string"
}
}
}
}[需要登录] 查询单个订单完整详情,包括预约信息、医院信息、套餐项目、支付状态。 鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。
| Parameter | Type | Description |
|---|---|---|
| serviceid * | string |
{
"name": "order_detail",
"title": "order.detail",
"description": "[需要登录] 查询单个订单完整详情,包括预约信息、医院信息、套餐项目、支付状态。\n\n鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"serviceid"
],
"properties": {
"serviceid": {
"type": "string"
}
}
}
}[需要登录] 按 relation/gender 查询当前用户的联系人,用于用户单独查询联系人或保存家属画像。预约使用 reservation_book 返回的联系人列表。唯一候选可直接使用 contactid,多个候选请用户选择,未选定时禁止保存画像。 鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。
| Parameter | Type | Description |
|---|---|---|
| gender | string | |
| relation | string |
{
"name": "contact_list",
"title": "contact.list",
"description": "[需要登录] 按 relation/gender 查询当前用户的联系人,用于用户单独查询联系人或保存家属画像。预约使用 reservation_book 返回的联系人列表。唯一候选可直接使用 contactid,多个候选请用户选择,未选定时禁止保存画像。\n\n鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"gender": {
"type": "string"
},
"relation": {
"type": "string"
}
}
}
}[需要登录] 查询指定体检人的完整信息(含脱敏证件号)。 鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。
| Parameter | Type | Description |
|---|---|---|
| contactId | string | |
| contactid | string |
{
"name": "contact_get",
"title": "contact.get",
"description": "[需要登录] 查询指定体检人的完整信息(含脱敏证件号)。\n\n鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"contactId": {
"type": "string"
},
"contactid": {
"type": "string"
}
}
}
}[需要登录] 创建家属临时联系人。relation 必填,self 由系统创建;姓名、手机号、证件号可后补。 鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。
| Parameter | Type | Description |
|---|---|---|
| IDType | string | |
| gender | string | |
| marital | string | |
| birthday | string | |
| relation * | string | |
| customerID | string | |
| customerName | string | |
| customerMobile | string |
{
"name": "contact_create",
"title": "contact.create",
"description": "[需要登录] 创建家属临时联系人。relation 必填,self 由系统创建;姓名、手机号、证件号可后补。\n\n鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"relation"
],
"properties": {
"IDType": {
"type": "string"
},
"gender": {
"type": "string"
},
"marital": {
"type": "string"
},
"birthday": {
"type": "string"
},
"relation": {
"type": "string"
},
"customerID": {
"type": "string"
},
"customerName": {
"type": "string"
},
"customerMobile": {
"type": "string"
}
}
}
}[需要登录] 更新体检人信息(姓名、手机号等)。 鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。
| Parameter | Type | Description |
|---|---|---|
| IDType | string | |
| gender | string | |
| marital | string | |
| birthday | string | |
| contactId | string | |
| contactid | string | |
| customerID | string | |
| customerName | string | |
| customerMobile | string |
{
"name": "contact_update",
"title": "contact.update",
"description": "[需要登录] 更新体检人信息(姓名、手机号等)。\n\n鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"IDType": {
"type": "string"
},
"gender": {
"type": "string"
},
"marital": {
"type": "string"
},
"birthday": {
"type": "string"
},
"contactId": {
"type": "string"
},
"contactid": {
"type": "string"
},
"customerID": {
"type": "string"
},
"customerName": {
"type": "string"
},
"customerMobile": {
"type": "string"
}
}
}
}[需要登录] 按 contactid 查询联系人的结构化健康画像。不传 contactid 时读取当前用户本人。 鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。
| Parameter | Type | Description |
|---|---|---|
| contactId | string | |
| contactid | string |
{
"name": "contact_profile_get",
"title": "contact.profile.get",
"description": "[需要登录] 按 contactid 查询联系人的结构化健康画像。不传 contactid 时读取当前用户本人。\n\n鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"contactId": {
"type": "string"
},
"contactid": {
"type": "string"
}
}
}
}[需要登录] 仅在用户明确要求保存或更新长期健康画像时调用;仅推荐方案不得调用。本人不传 contactid,家人必须先解析唯一 contactid,禁止把家人信息写入本人档案。返回更新后的完整画像与 created。 鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。
| Parameter | Type | Description |
|---|---|---|
| contactId | string | |
| contactid | string | |
| lifestyle | object | |
| surgeries | array | |
| medications | array | |
| demographics | object | |
| examinations | array | |
| measurements | array | |
| problem_list | array | |
| family_history | array | |
| allergy_intolerance | object | |
| preferences_constraints | object |
{
"name": "contact_profile_save",
"title": "contact.profile.save",
"description": "[需要登录] 仅在用户明确要求保存或更新长期健康画像时调用;仅推荐方案不得调用。本人不传 contactid,家人必须先解析唯一 contactid,禁止把家人信息写入本人档案。返回更新后的完整画像与 created。\n\n鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"contactId": {
"type": "string"
},
"contactid": {
"type": "string"
},
"lifestyle": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"surgeries": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"medications": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"demographics": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"examinations": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"measurements": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"problem_list": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"family_history": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"allergy_intolerance": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"preferences_constraints": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
}
}
}[需要登录] 纠正联系人健康画像中的错误记录。只删除时 contactid 指定源联系人,本人不传;迁移时额外传 targetContactid。entries.path 指定模块或子字段,entries.match 指定必须唯一命中的字段。匹配不到或多条命中都会失败,不修改数据。 鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。
| Parameter | Type | Description |
|---|---|---|
| entries * | array | |
| contactId | string | |
| contactid | string | |
| targetContactId | string | |
| targetContactid | string |
{
"name": "contact_profile_correct",
"title": "contact.profile.correct",
"description": "[需要登录] 纠正联系人健康画像中的错误记录。只删除时 contactid 指定源联系人,本人不传;迁移时额外传 targetContactid。entries.path 指定模块或子字段,entries.match 指定必须唯一命中的字段。匹配不到或多条命中都会失败,不修改数据。\n\n鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"entries"
],
"properties": {
"entries": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"contactId": {
"type": "string"
},
"contactid": {
"type": "string"
},
"targetContactId": {
"type": "string"
},
"targetContactid": {
"type": "string"
}
}
}
}[需要登录] 体检预约:已有体检人时传 planId、hospitalCode、vendorid、appointmentDate、contactId,不传 customerName、customerID、customerMobile;没有 contactId 时根据返回的 contacts 选择或新建体检人。支持 elicitation form 的客户端返回 contactChoice,不支持表单时返回 data.contacts 或 contactRequired。收到 contactRequired 后按字段逐项询问,每次只问一项,用户确认后把字段、contactDraftId 和 consent=true 一起传回。证件号可能被客户端记录,提交后不要复述或回显,只引用 contactId。H5 方式返回 contactEntryUrl,用户添加体检人后重新调用。体检项目只来自 planId,客户端不提交项目。预约前通过 input_required 展示协议;非表单客户端返回 consentRequired,用户确认后把确认话术原文作为 consentText 传入。返回 caution 时补充展示。返回 contactId、serviceid 和 orderEntryUrl;需要支付时返回 payUrl。payUrl 有效期为 30 分钟。status 表示支付状态,预约状态以 rsvStatus 为准。失败后不要自动重试。按 message/msg、data、subCode 的明确提示执行;只有 401、会话失效或明确可重试时才重试一次。 鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。
| Parameter | Type | Description |
|---|---|---|
| IDType | string | |
| gender | string | |
| planId * | string | |
| consent | boolean | |
| marital | string | |
| payType | string | |
| birthday | string | |
| relation | string | |
| timespan | string | |
| vendorid * | string | |
| contactId | string | |
| contactid | string | |
| customerID | string | |
| consentText | string | |
| customerName | string | |
| hospitalCode * | string | |
| contactMethod | string | |
| contactDraftId | string | |
| customerMobile | string | |
| appointmentDate * | string |
{
"name": "reservation_book",
"title": "reservation.book",
"description": "[需要登录] 体检预约:已有体检人时传 planId、hospitalCode、vendorid、appointmentDate、contactId,不传 customerName、customerID、customerMobile;没有 contactId 时根据返回的 contacts 选择或新建体检人。支持 elicitation form 的客户端返回 contactChoice,不支持表单时返回 data.contacts 或 contactRequired。收到 contactRequired 后按字段逐项询问,每次只问一项,用户确认后把字段、contactDraftId 和 consent=true 一起传回。证件号可能被客户端记录,提交后不要复述或回显,只引用 contactId。H5 方式返回 contactEntryUrl,用户添加体检人后重新调用。体检项目只来自 planId,客户端不提交项目。预约前通过 input_required 展示协议;非表单客户端返回 consentRequired,用户确认后把确认话术原文作为 consentText 传入。返回 caution 时补充展示。返回 contactId、serviceid 和 orderEntryUrl;需要支付时返回 payUrl。payUrl 有效期为 30 分钟。status 表示支付状态,预约状态以 rsvStatus 为准。失败后不要自动重试。按 message/msg、data、subCode 的明确提示执行;只有 401、会话失效或明确可重试时才重试一次。\n\n鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"planId",
"hospitalCode",
"vendorid",
"appointmentDate"
],
"properties": {
"IDType": {
"type": "string"
},
"gender": {
"type": "string"
},
"planId": {
"type": "string"
},
"consent": {
"type": "boolean"
},
"marital": {
"type": "string"
},
"payType": {
"type": "string"
},
"birthday": {
"type": "string"
},
"relation": {
"type": "string"
},
"timespan": {
"type": "string"
},
"vendorid": {
"type": "string"
},
"contactId": {
"type": "string"
},
"contactid": {
"type": "string"
},
"customerID": {
"type": "string"
},
"consentText": {
"type": "string"
},
"customerName": {
"type": "string"
},
"hospitalCode": {
"type": "string"
},
"contactMethod": {
"type": "string"
},
"contactDraftId": {
"type": "string"
},
"customerMobile": {
"type": "string"
},
"appointmentDate": {
"type": "string"
}
}
}
}[需要登录] 取消预约:按预约号取消;已支付订单会同时发起退款。预约号取自 reservation.book 返回的 serviceid。 鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。
| Parameter | Type | Description |
|---|---|---|
| serviceid * | string |
{
"name": "reservation_cancel",
"title": "reservation.cancel",
"description": "[需要登录] 取消预约:按预约号取消;已支付订单会同时发起退款。预约号取自 reservation.book 返回的 serviceid。\n\n鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"serviceid"
],
"properties": {
"serviceid": {
"type": "string"
}
}
}
}[需要登录] 更改预约日期:按预约号改期。 鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。
| Parameter | Type | Description |
|---|---|---|
| serviceid * | string | |
| appointmentDate * | string |
{
"name": "reservation_modify",
"title": "reservation.modify",
"description": "[需要登录] 更改预约日期:按预约号改期。\n\n鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"serviceid",
"appointmentDate"
],
"properties": {
"serviceid": {
"type": "string"
},
"appointmentDate": {
"type": "string"
}
}
}
}[需要登录] 根据卡号查卡密及兑换使用情况。welfareId 为空=未兑换,非空时串联福利和订单。 鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。
| Parameter | Type | Description |
|---|---|---|
| limit | number | |
| cardId * | string |
{
"name": "card_list",
"title": "card.list",
"description": "[需要登录] 根据卡号查卡密及兑换使用情况。welfareId 为空=未兑换,非空时串联福利和订单。\n\n鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"cardId"
],
"properties": {
"limit": {
"type": "number"
},
"cardId": {
"type": "string"
}
}
}
}[匿名可调用] 个人体检按指定人群查询某体检机构在当前合同下的可下单项目、价格和下单规则。population 必填:man=男性、girl=未婚女性、lady=已婚女性;返回当前人群适用的 items 和 rules。项目 id 用于后续方案设计,bundled、conflicts、eitherOr 和 restrictions 表示其余项目规则。
| Parameter | Type | Description |
|---|---|---|
| vendorId * | string | |
| population * | string |
{
"name": "vendor_items",
"title": "vendor.items",
"description": "[匿名可调用] 个人体检按指定人群查询某体检机构在当前合同下的可下单项目、价格和下单规则。population 必填:man=男性、girl=未婚女性、lady=已婚女性;返回当前人群适用的 items 和 rules。项目 id 用于后续方案设计,bundled、conflicts、eitherOr 和 restrictions 表示其余项目规则。",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"vendorId",
"population"
],
"properties": {
"vendorId": {
"type": "string"
},
"population": {
"type": "string"
}
}
}
}[匿名可调用] 长耗时任务进度上报。agent 每完成一个阶段调用一次,text 为给用户看的可读进度,如「报告解析中,预计 10 秒」。
| Parameter | Type | Description |
|---|---|---|
| text * | string | |
| stage | string | |
| percent | number |
{
"name": "progress_report",
"title": "progress.report",
"description": "[匿名可调用] 长耗时任务进度上报。agent 每完成一个阶段调用一次,text 为给用户看的可读进度,如「报告解析中,预计 10 秒」。",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"text"
],
"properties": {
"text": {
"type": "string"
},
"stage": {
"type": "string"
},
"percent": {
"type": "number"
}
}
}
}# 好啦体检服务(haola-pe)MCP 使用指南 ## 授权(先读这一节) 本服务使用 OAuth 2.1 + PKCE。未授权时 tools/call 返回 HTTP 401,响应头带: WWW-Authenticate: Bearer resource_metadata="<resource_metadata 地址>" 部分工具在已通过鉴权但缺少用户身份时返回 403 且 msg 为"缺少用户身份",同样需要走下面的授权流程。 收到 401 后按顺序执行,不要跳过: 1. GET 上面的 resource_metadata,取 authorization_servers[0] 与 resource(resource 后面必须原样使用) 2. GET <issuer>/.well-known/oauth-authorization-server,取 authorization_endpoint、token_endpoint、registration_endpoint 3. POST registration_endpoint 做动态客户端注册:redirect_uris=["http://127.0.0.1:<port>/callback"]、token_endpoint_auth_method="none"、application_type="native"、client_name=<你的客户端名称> 4. 生成 code_verifier 与 code_challenge(S256),拼 authorize URL。以下参数缺一不可:response_type=code、client_id、redirect_uri、resource、code_challenge、code_challenge_method=S256、state。resource 用第 1 步拿到的原值,缺失或改写会返回 400 "resource 无效"。按下面「授权链接怎么展示」发给用户并请其登录授权 5. 在 127.0.0.1:<port> 监听 /callback 收 code;POST token_endpoint 换 access_token,参数为 grant_type=authorization_code、code、client_id、redirect_uri、code_verifier、resource(必须与第 4 步一致,否则返回 invalid_target) 6. 带 Authorization: Bearer <token> 重试原调用 ## 授权链接怎么展示(重要) authorize URL 含 client_id、code_challenge、state 等随机参数,长度通常在 250–400 字符,直接贴给用户极难阅读,还可能被聊天框折行截断。规则: - 正文不出现原始 URL。用一句话说明用途,再用 Markdown 链接把 URL 藏在锚文本里,例如: [👉 点这里登录好啦账号完成授权](<authorize URL>) - 链接文字只写"在哪做、做什么"(如"点这里登录好啦账号完成授权"),不要写域名,也不要粘贴参数。 - 给链接前后各加一句上下文:为什么需要登录(如保存方案、预约需要登录身份)、预计耗时、授权完成后会自动继续原本的任务,用户不用重说一遍。 - 宿主支持表单或按钮时,优先用按钮或 elicitation 承载,正文不再提链接。 - 只支持纯文本、无法渲染 Markdown 的宿主,先给一行可点击链接,再单独用代码块给出完整链接让用户复制,方便长 URL 被折行时仍可完整取用。 - 用户反馈链接点不开时,退回"复制这段链接到浏览器打开",并继续监听回调、等待重试,不要放弃。 禁止行为: - 不要向用户索要 token —— 用户没有 token,token 由第 3–5 步产生 - 不要把 401 当作"接口不可用""服务异常"或"功能未开通" - 不要在宿主不支持 OAuth 时放弃:宿主只支持静态 header 时,用 HTTP 客户端(curl 等)手工执行 1–5,再把 token 放进请求头 - URL 不得截断、缩写或用省略号代替,缺一个字符就会授权失败;也不要向用户复述、朗读原始 URL 的各个参数 - 同一轮对话内链接只给一次,用户点过之后不要重复贴出整条 URL ## 多步推理 - 不确定参数与取值时,先用 help 查看工具入参说明,再调用业务工具。 - 甲方归属使用当前登录身份,不要自行填写甲方 ID。 - 品牌名→短码用 vendor_brands 查询,不要拼造。 - 选机构时先看 vendor_brands 返回的 type:chain 是连锁品牌,hospital 是医院主体;两类都要调用 vendor_list 获取具体 hospitalCode,不能直接拿 vendorid 预约。 - 宽接口 + filter:同一工具用不同过滤条件覆盖多种查询,不要把可用过滤当成缺失端点。 ## 体检套餐设计与预约流程 - 个人套餐设计用 vendor_items:按 vendorId 和 population 查 items 和 rules;population 取 man=男性、girl=未婚女性、lady=已婚女性;返回当前人群适用的项目,以及必选、捆绑、互斥和替代关系。 - 选好项目后调用 plan_create:传 vendorId、项目 ids 数组 itemIds、gender 和 marital,可选传 name、summary;女性必须传 marital(married/unmarried),男性可不传。返回 planId、vendorId,能查到注意事项时同时返回 caution。校验失败时按返回的 issues 修改 itemIds 后重试。 - caution.cautions[].duration 使用 startDaysBeforeExam 和 endDaysBeforeExam 表示体检前天数,0 表示体检当天;description 可直接展示。没有 duration 表示没有日期限制。空条目不会返回;checkItems[].cautionids 与 cautions[].id 用于关联项目与注意事项。 - 个人体检预约顺序:plan_create → 展示 caution 并确认用户已知晓 → 用户确认协议 → reservation_book。 - 个人体检保存方案需要登录身份。plan_create 返回 401,或返回 403 且 msg 为"缺少用户身份"时,说明用户未登录或登录态已过期,此时按「授权」一节走 OAuth 流程,用「点这里登录好啦账号完成授权」这类 Markdown 链接请用户登录,拿到 token 后重试 plan_create。不要当作"功能未开放""服务异常",也不要把登录步骤说成可选。 - plan_create 返回的 agentPrompt 是给用户的下一步建议,拿到 planId 后按 agentPrompt 主动询问用户,不要静默吞掉。 - plan_create 返回 caution 时,必须在调用 reservation_book 之前向用户展示与本次项目相关的注意事项,按 duration 从早到晚动态组织时间线展示。不要套固定天数分组,也不要直接贴全文;重点提示空腹、停药、禁忌时间窗。孕期、备孕、月经期这类禁忌单独强调,因为它们会直接影响项目能不能做。 - reservation_book 返回 caution 时,如果预约前尚未展示过,需要补充展示。这是兜底,不能替代预约前的展示。 - 预约参数:已有体检人时传 planId、hospitalCode、vendorid、appointmentDate、contactId,不传 customerName、customerID、customerMobile;没有 contactId 时传 planId、hospitalCode、vendorid、appointmentDate,再根据返回的 contacts 选择或新建体检人。reservation_book 返回体检人信息不完整错误时,调用 contact_update 补齐后重试。 - 客户端不支持 elicitation form 时,reservation_book 同时返回 contactMethodRequired、contacts 和 contactEntryUrl。contacts 是当前用户的常用体检人列表;让用户选择已有体检人、在对话中填写,或直接打开 contactEntryUrl,不要强制跳转 H5。选择已有体检人后把对应 contactid 作为 contactId 传回;选择对话填写后带 contactMethod:"conversation" 重新调用。 - 用户选择在对话中填写时,reservation_book 返回 contactRequired、待填字段和 contactDraftId。按字段逐项询问,每次只问一项,用户确认后把各字段、contactDraftId 和 consent=true 一起传回。证件号会出现在当前对话中,可能被客户端记录;该隐私提示只提示一次,提交后不复述、不回显证件号,只引用 contactId。 - 用户选择 H5 时,直接打开已返回的 contactEntryUrl。用户添加体检人后重新调用 reservation_book
Names, descriptions and schemas were written by the server and are shown as data.