Skip to main content
Glama

Unit Converter MCP

by zazencodes
MIT License
3
  • Apple

convert_mass

Convert weight measurements between units like grams, kilograms, ounces, pounds, and more. Input a value, select source and target units, and get precise results instantly.

Instructions

Convert weight between units.

Input Schema

NameRequiredDescriptionDefault
from_unitYesSource unit
to_unitYesTarget unit
valueYesWeight value to convert

Input Schema (JSON Schema)

{ "properties": { "from_unit": { "description": "Source unit", "enum": [ "carat", "decagram", "hectogram", "gram", "milligram", "microgram", "nanogram", "picogram", "femtogram", "grain", "ounce", "troy ounce", "pound", "stone", "short ton (US)", "long ton (UK)", "tonne", "kilotonne", "megatonne", "kilogram" ], "title": "From Unit", "type": "string" }, "to_unit": { "description": "Target unit", "enum": [ "carat", "decagram", "hectogram", "gram", "milligram", "microgram", "nanogram", "picogram", "femtogram", "grain", "ounce", "troy ounce", "pound", "stone", "short ton (US)", "long ton (UK)", "tonne", "kilotonne", "megatonne", "kilogram" ], "title": "To Unit", "type": "string" }, "value": { "description": "Weight value to convert", "title": "Value", "type": "number" } }, "required": [ "value", "from_unit", "to_unit" ], "type": "object" }

Other Tools from Unit Converter MCP

Related Tools

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