MCP server for converting and normalising clinical lab values between conventional and SI units, and resolving lab-marker names across languages.
Three well-named, focused tools with clear descriptions (avg 180 chars, within baseline 194). All tools have explicit input schemas with Zod validation and typed parameters. Descriptions are domain-specific and actionable. However, output schemas are not formally documented, responses are returned as structuredContent objects without a declared schema contract. Error handling is present but minimal (no recovery guidance or categorization). No tool annotations (readOnlyHint, etc.). Tools follow single-responsibility principle and compose well (identify_analyte → convert_lab_value chain). Parameter descriptions are adequate but lack format constraints (e.g., no regex for unit strings, no enum for common analytes).
Convert a single blood-chemistry result between conventional and SI units (e.g. glucose mg/dL <-> mmol/L, HbA1c % <-> mmol/mol). The analyte can be given by name or a common synonym in English or Russian. If to_unit is omitted and the analyte has exactly two units, it converts to the other one.
Resolve a lab-report label — including an abbreviation or a non-English name — to a canonical analyte, and report the units it can be expressed in. Useful for normalising results parsed from labs that use local naming conventions.
List every analyte this server can convert, with its display name, canonical unit and the full set of units available for conversion.
Output schemas not formally documented. Tools return structuredContent objects (e.g., {analyte, value, from, to, result}) but no schema contract is declared. LLMs cannot reliably extract fields or plan downstream calls without explicit output type definitions.
Parameter constraints are implicit, not explicit. 'from_unit' and 'to_unit' accept free-form strings with no enum or pattern. LLMs may pass invalid units (e.g., 'banana' in smoke test) and rely on runtime error messages. Should declare valid units as enums or regex patterns.
Error messages lack recovery guidance. When convert_lab_value fails (e.g., invalid unit 'banana'), the response is 'Error: ...' with no suggestion to call list_analytes or identify_analyte. Should follow recovery-guide pattern.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 60 | 2025-06-18+ | v2 |
No tool annotations. Tools lack readOnlyHint (all three are read-only), idempotentHint (all are idempotent), or destructiveHint. These hints help agents reason about safety and retry logic.
identify_analyte returns 'No analyte matched' error but does not suggest calling list_analytes or offer fuzzy-match alternatives. Should enrich error with available options (e.g., 'Did you mean: glucose, gluc, glu?').