Skip to main content
Glama

Unit Converter MCP

by zazencodes
MIT License
3
  • Apple

convert_energy

Convert energy values between units such as joules, watt hours, BTUs, and more. Simplify calculations for scientific, engineering, or everyday use with precise unit conversions.

Instructions

Convert energy between units.

Input Schema

NameRequiredDescriptionDefault
from_unitYesSource unit
to_unitYesTarget unit
valueYesEnergy value to convert

Input Schema (JSON Schema)

{ "properties": { "from_unit": { "description": "Source unit", "enum": [ "joule", "kilojoule", "megajoule", "gigajoule", "terajoule", "petajoule", "exajoule", "watt hour", "kilowatt hour", "megawatt hour", "gigawatt hour", "terawatt hour", "Btu", "calorie", "kilocalorie", "therm", "foot‑pound force", "inch‑pound force", "erg", "electron volt" ], "title": "From Unit", "type": "string" }, "to_unit": { "description": "Target unit", "enum": [ "joule", "kilojoule", "megajoule", "gigajoule", "terajoule", "petajoule", "exajoule", "watt hour", "kilowatt hour", "megawatt hour", "gigawatt hour", "terawatt hour", "Btu", "calorie", "kilocalorie", "therm", "foot‑pound force", "inch‑pound force", "erg", "electron volt" ], "title": "To Unit", "type": "string" }, "value": { "description": "Energy value to convert", "title": "Value", "type": "number" } }, "required": [ "value", "from_unit", "to_unit" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zazencodes/unit-converter-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server