Skip to main content
Glama
rpint

nfyy-ckd-risk-warning-mcp

by rpint

trigger_warning_event

Trigger structured pediatric CKD risk alerts, deliver to doctor workstation and WeChat mini-program, and return delivery receipts.

Instructions

【北向 Mock 工具②】生成结构化预警报文,抛出至北向接口与消息队列,返回投递回执。

完整流程:拉取模拟 LIS 数据 -> 硬规则研判 -> 组装 CKD-ALERT/1.0 报文 -> 投递至医生工作站 / 家长端微信小程序 -> 返回带 offset 的 MQ 回执。

若 agent_suggested_level 与规则引擎判定不一致,以规则引擎为准, 并在回执 level_correction 字段中记录纠偏,用于防止小模型误判等级。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
channelsNo推送通道,逗号分隔,如 "doctor_workstation,wechat_miniprogram"。留空按等级自动选择。
extra_noteNo附加备注,会写入报文 trigger_note 字段。
patient_idYes患儿编号,如 C_8801。
trigger_sourceNo触发来源,如 manual_review(医生研判)、lis_auto(检验自动触发)、followup(随访)。manual_review
agent_suggested_levelNoAgent 自行判断的等级(L0/L1/L2/L3),选填,仅用于一致性校验。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden. It discloses key behaviors: pulling simulated LIS data, performing hard rule assessment, prioritizing the rule engine over agent_suggested_level, and recording level_correction in the receipt. It also mentions the return receipt with offset, providing useful transparency without contradictions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately sized, with a summary sentence, a flow diagram, and a behavioral note. It is front-loaded with the main purpose and every sentence adds value, though the flow could be slightly more compact.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the presence of an output schema and complete parameter descriptions, the description is sufficient. It explains the tool's role, the full process, and a critical correction behavior, leaving no major gaps in understanding.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description adds some context, especially for agent_suggested_level (used for consistency check and correction) and relates channels to delivery targets, but it does not systematically enrich parameter understanding beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool generates structured warning messages, sends them to the northbound interface and message queue, and returns a delivery receipt. This is a specific verb+resource+outcome, and it is distinct from sibling tools like list_mock_patients or evaluate_risk_rules, which serve different functions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context by outlining the complete flow (pull LIS data -> rule assessment -> assemble message -> deliver -> return receipt), which implies when the tool should be used. However, it does not explicitly specify when not to use it or name alternatives, so it lacks exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rpint/nfyy-ckd-risk-warning-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server