Skip to main content
Glama

Unit Converter MCP

by zazencodes
MIT License
2
  • Apple

convert_length

Convert length values between units like meters, inches, miles, and more. Simplify unit conversion for precise measurements using the MCP server's Unit Converter.

Instructions

Convert length between units.

Input Schema

NameRequiredDescriptionDefault
from_unitYesSource unit
to_unitYesTarget unit
valueYesLength value to convert

Input Schema (JSON Schema)

{ "properties": { "from_unit": { "description": "Source unit", "enum": [ "angstrom", "astronomical unit", "cable", "centimeter", "chain (surveyors)", "decimeter", "em (pica)", "fathom", "foot", "foot (US survey)", "furlong", "hand", "hectometer", "inch", "kilometer", "light year", "meter", "micrometer", "mil", "mile", "nautical mile", "nautical mile (UK)", "millimeter", "nanometer", "parsec", "picometer", "Scandinavian mile", "thou", "yard" ], "title": "From Unit", "type": "string" }, "to_unit": { "description": "Target unit", "enum": [ "angstrom", "astronomical unit", "cable", "centimeter", "chain (surveyors)", "decimeter", "em (pica)", "fathom", "foot", "foot (US survey)", "furlong", "hand", "hectometer", "inch", "kilometer", "light year", "meter", "micrometer", "mil", "mile", "nautical mile", "nautical mile (UK)", "millimeter", "nanometer", "parsec", "picometer", "Scandinavian mile", "thou", "yard" ], "title": "To Unit", "type": "string" }, "value": { "description": "Length 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