Skip to main content
Glama

BRAINIAC Identifiers & Validators

Convert UCUM units

identifiers_unit-ucum-convert
Read-onlyIdempotent

Convert a numeric value between a small bundled UCUM / alias unit subset (length, mass, volume, time, temperature). Incommensurable units return converted=null. Price $0.02 USDC. POST /api/v1/identifiers/unit-ucum-convert. An unpaid call returns the x402 payment terms and does not run.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "value": "<value>",
      "from": "<from>",
      "to": "<to>"
    },
    "name": "identifiers_unit-ucum-convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesto, string, length 1 to 32. Required.
fromYesfrom, string, length 1 to 32. Required.
valueYesvalue, number. Required.

Output Schema

NameRequiredDescriptionDefault
toNoto. String.
fromNofrom. String.
valueNovalue. Number.
reasonNoreason. Null.
sourcesNosources. Array.
toLabelNotoLabel. String.
quantityNoquantity. String.
convertedNoconverted. Number.
fromLabelNofromLabel. String.
supportedNosupported. Boolean.
limitationsNolimitations. Array.
retrievedAtNoretrievedAt. String.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources