Ucum
ucum"Unit of measure code for [X]" / "standard UCUM unit for [Y]" / "mg/dL code", search UCUM (the Unified Code for Units of Measure, used by FHIR, LOINC, and most modern health-IT systems). Returns codes like "mg/dL", "[in_i]" (inch). Use when normalizing lab result units or rendering measurements.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"count": 3,
"terms": "mg/dL"
},
"name": "ucum"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| df | No | Comma-separated display fields to use in the `displays` array. Default varies per table; usually the canonical name. | |
| ef | No | Comma-separated extra fields to include per match. Field names vary per table; check NLM docs at clinicaltables.nlm.nih.gov. | |
| count | No | Maximum matches to return. Default 7, max 500. Use 1-3 for typeahead UX, 20-50 for browsing. | |
| terms | Yes | Search query, prefix/contains match against canonical names. Whitespace-split into AND tokens. Example: "mg/dL". |