Skip to main content
Glama

Unit Converter MCP

by zazencodes
MIT License
2
  • Apple

convert_energy

Convert energy values between units like joules, kilowatt-hours, BTUs, and more using this tool for accurate unit transformation.

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