Skip to main content
Glama
quantumleeps

mcp-units

by quantumleeps

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

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

CapabilityDetails
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

NameDescription
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

NameDescription
convert_documentIdentify all quantities in a document and convert them.
check_calculationsVerify dimensional consistency of calculations.

Resources

Contextual data attached and managed by the client

NameDescription
systems_indexList all available unit systems (e.g., SI, imperial, US).
dimensions_indexList all physical dimensions known to the registry.

TDQS

A3.9/5.0

Scored across 5 tools

Disambiguation5/5

Each tool has a distinct, clearly defined purpose: checking compatibility, converting, listing compatible units, parsing strings, and simplifying expressions. No overlapping functionality.

Naming Consistency4/5

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.

Tool Count5/5

With 5 tools, the server is well-scoped for unit operations. Each tool addresses a core need without unnecessary bloat.

Completeness4/5

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.

Maintenance

ActivityInactive
ResponsivenessNo issues