Skip to content
Eden Engine

Unit Converter (Length, Weight, Volume, Temperature, Area, Speed, Data Storage)

omnial/x402-unit-convert

Given a numeric value, a source unit, and a target unit, converts between units of length, weight, volume, temperature, area, speed, or data storage and returns the converted result along with the formula used.

activeper callv3

Price

Up to $0.0325 per call; you pay what the call used

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

Eden Engine

Computed by Eden Engine from the inputs you provide.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/x402-unit-convert" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/x402-unit-convert" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/x402-unit-convert", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/x402-unit-convert", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0325
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "from_unit",
    "to_unit",
    "value"
  ],
  "properties": {
    "value": {
      "type": "number",
      "description": "Value to convert"
    },
    "to_unit": {
      "type": "string",
      "description": "Target unit (e.g. mi, kg, °F)"
    },
    "from_unit": {
      "type": "string",
      "description": "Source unit (e.g. km, lb, °C)"
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "value",
    "from_unit",
    "to_unit",
    "result",
    "formula",
    "category"
  ],
  "properties": {
    "value": {
      "type": "number",
      "description": "The input value exactly as submitted, echoed back."
    },
    "result": {
      "type": "number",
      "description": "The converted value in the target unit."
    },
    "formula": {
      "type": "string",
      "description": "Human-readable description of the conversion path, e.g. 'km → m → mi' or '°F = °C × 9/5 + 32'. Observed as either a chained-unit path or an explicit math expression depending on category."
    },
    "to_unit": {
      "type": "string",
      "description": "The target unit, possibly lowercased (e.g. '°F' submitted, '°f' returned) -- do not assume the returned casing matches what was submitted."
    },
    "category": {
      "type": "string",
      "description": "The unit category resolved for this conversion, e.g. 'length', 'temperature'."
    },
    "from_unit": {
      "type": "string",
      "description": "The source unit, possibly lowercased (e.g. '°C' submitted, '°c' returned) -- do not assume the returned casing matches what was submitted."
    }
  },
  "description": "The unit conversion result.",
  "additionalProperties": false
}