Multi-server MCP suite for local MIMIC-III clinical records exploration, clinical decision support, NIS/FHIR integration, and pharmacy safety checks. All data remains on-device.
NoteSentry provides 13 tools across clinical, MIMIC database, FHIR, and pharmacy domains. All tools have descriptions (mostly 50-200 chars, well-suited for LLM selection). Input schemas are present and properly typed with JSON Schema. However, several tools lack parameter descriptions, and output schemas are not documented. Tool naming is clear and verb-driven (assess_, get_, list_, search_, check_). Error handling guidance is minimal. Composition is sound, tools chain well (search_notes → get_note_text). No security issues detected (read-only operations, no secrets in params). Descriptions are domain-specific and actionable, but some parameter constraints are missing (e.g., limit bounds, enum values for categories).
純規則判讀成人生命徵象,標出異常與危急紅旗(deterministic,無 LLM、可重現)。作為檢傷的「安全網」:LLM 仍負責建議級別,但本工具確保危急數值不會被漏看。所有參數皆可選,只判讀有提供的項目。severity 分 critical(危急)/warning(警示)/normal。
比對「擬開立處方」與「已知過敏史」,標出可能的過敏/交叉反應衝突(查表,零幻覺)。
檢查一份藥物清單中是否有已知的藥物交互作用(確定性查表,零幻覺)。對應老師例子的「分析→警示」:給定病患用藥清單,回傳兩兩之間的交互作用警示。
依條件計算紀錄筆數。
查單一藥物的類別與注意事項(內建知識;未收錄就明說,不臆造)。
回傳某個 FHIR 資源的用途與關鍵欄位,並對應到四支柱(HIS/NIS/LIS/藥事)。用來說明任務三「如何與醫院系統以 FHIR 標準對接」。
依 ROW_ID 取得單筆紀錄的完整內文與中繼資料。
Output schemas not documented. LLMs cannot plan downstream tool calls or extract fields without knowing response structure. E.g., search_notes returns 'snippet' but format/length is undocumented.
Parameter constraints missing. search_notes 'limit' has no min/max bounds (spec says 1-50 but not enforced in schema). category/note_type enums not declared, free-form strings invite hallucinated values.
Error handling lacks recovery guidance. No documented error responses or actionable next steps. E.g., if search_notes finds no results, should LLM retry with different keywords or try list_note_categories?
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 56 | 2026-07-28+ | v2 |
取得單一病患(SUBJECT_ID)的紀錄摘要。內容包含:總筆數、各類別筆數、住院次數(不重複 HADM_ID)、紀錄日期範圍,以及最近數筆紀錄的索引(ROW_ID / 類別 / 日期),方便接著用 get_note_text 取完整內文。
回傳 SOAP 病歷的結構與各段內容指引,確保 LLM 擴寫的病歷格式一致、欄位齊全。LLM 負責把醫師輸入的關鍵字擴寫成各段內容;本工具只提供骨架與檢核要點。真實病史/檢查數據應另以資料工具(如 MIMIC 查詢、search_notes)接地,不可臆造。
回傳 TTAS 五級檢傷的判定原則(內建參考知識)。供 LLM 建議級別時依循,而非空想。
列出每個臨床紀錄類別(CATEGORY)的筆數,由多到少排序。適合回答「資料庫裡有哪些類別」「各類別各有多少筆」這類總覽問題。
全文檢索:在所有臨床紀錄的內文(TEXT)中搜尋關鍵字,回傳最相關的數筆。每筆結果含 row_id、病患、類別、日期與命中片段(snippet),可接著用 get_note_text 取完整內文。
把生命徵象轉成 HL7 FHIR R4 的 Observation(含 LOINC 代碼),以標準格式回傳一個 Bundle。示範 NIS 生命徵象資料如何以 FHIR 交換(任務三的跨系統整合與標準對接)。所有參數可選,只轉換有提供的項目。血壓回傳為含 systolic/diastolic component 的單一 Observation。
Tool descriptions lack dependency hints. E.g., get_note_text requires row_id from search_notes or get_patient_overview, but this chaining is not documented in descriptions.
Pagination not fully specified. search_notes accepts 'limit' but no 'offset' or 'cursor' parameter. Response should include total_count or next_cursor to enable multi-page iteration.