Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
A207_LIS_DATA_DIRNoDirectory containing data files (labs.json and labs_store.json). Falls back to package data/ or repo root data/.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_labsA

按时间升序返回患者全部检验面板。

caller=parent_assistant 时返回受限视图:仅最近一次 K/P/白蛋白/血红蛋白的 趋势方向与是否在儿童参考区间内,不含原始数值。

get_critical_valuesA

危急值独立通道。扫描最近一次采样,命中 K+>6.5 / Hb<60 / Ca<1.6 等阈值即返回。

get_lab_trendB

单指标时间序列,含环比变化率与每 30 天斜率。analyte 如 scr_umol_L、k_mmol_L。

upsert_lab_resultA

新增一条检验采样。写权仅 doctor_assistant,其余 caller 返回 FORBIDDEN。

成功后 recommend_reevaluate=true,编排层须据此触发风险规则重评。 write_mode=False 为回滚模式,只校验不落盘。

list_known_patientsA

列出本 LIS 数据集覆盖的 patient_id,供联调核对。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 5 tools

Disambiguation5/5

Each tool targets a distinct operation: one write (upsert_lab_result), one patient listing (list_known_patients), and three distinct read views (get_labs for all panels, get_critical_values for urgent flags, get_lab_trend for single-analyte time series). No two tools overlap in purpose; the descriptions clearly separate them.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern: upsert_lab_result, list_known_patients, get_labs, get_critical_values, get_lab_trend. The verbs (upsert, list, get) are appropriate for their actions, and the nouns are descriptive and consistent.

Tool Count5/5

Five tools is a well-scoped size for a LIS MCP server. It covers the essential operations—write, patient lookup, general read, critical value alert, and trend analysis—without unnecessary redundancy or overwhelming the agent.

Completeness4/5

The tool set covers the core LIS lifecycle: inserting/updating results, retrieving patient panels, accessing critical values, and analyzing trends. The only minor gaps are lack of a delete operation and no granular single-result fetch by ID, but these are likely intentional and not critical for typical workflows.

Maintenance

ActivityMaintained
ResponsivenessSyncing