mcp-units
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
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
| Capability | Details |
|---|---|
| tasks | {
"list": {},
"cancel": {},
"requests": {
"tools": {
"call": {}
},
"prompts": {
"get": {}
},
"resources": {
"read": {}
}
}
} |
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| convertA | Convert a value from one unit to another. Returns the converted value with conversion factor, or a structured error if the units are dimensionally incompatible. |
| check_compatibilityB | Check if two units are dimensionally compatible (i.e., can be converted). Returns whether the units share the same physical dimension. |
| parse_quantityA | Parse a quantity string into structured components. Accepts expressions like '100 mg/L' or '9.81 m/s²'. Returns the magnitude, units, dimensionality, and SI equivalent. |
| list_compatible_unitsA | List all units compatible with the given unit. Returns every canonical unit name that shares the same physical dimension, including imperial and US customary units. |
| simplifyA | Simplify a unit expression to its most compact form. Adjusts prefixes (e.g., 1000 Pa → 1 kPa) and reduces named units. Also provides the base SI representation. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| convert_document | Identify all quantities in a document and convert them. |
| check_calculations | Verify dimensional consistency of calculations. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| systems_index | List all available unit systems (e.g., SI, imperial, US). |
| dimensions_index | List all physical dimensions known to the registry. |
TDQS
Scored across 5 tools
Each tool has a distinct, clearly defined purpose: checking compatibility, converting, listing compatible units, parsing strings, and simplifying expressions. No overlapping functionality.
All tools use snake_case and follow a verb-based naming pattern. Most are verb_noun (check_compatibility, list_compatible_units, parse_quantity), while convert and simplify are single verbs, which is a minor inconsistency.
With 5 tools, the server is well-scoped for unit operations. Each tool addresses a core need without unnecessary bloat.
The set covers essential operations: compatibility check, conversion, listing compatible units, parsing, and simplification. A minor gap is the lack of a tool to retrieve detailed unit metadata, but this is not critical.