Skip to main content
Glama
regaing

devbelt-mcp

by regaing

unit_convert

Convert values between units across 14 categories such as length, area, volume, speed, pressure, and temperature. Provide category, value, source unit, and target unit to get the result.

Instructions

单位换算。category 可选:length(长度:km/m/dm/cm/mm/um/nm/mile/yd/ft/inch/nmi/li/zhang/chi/cun);area(面积:km2/m2/dm2/cm2/mm2/ha/mu/acre/ft2/inch2/yd2);volume(体积容量:m3/dm3/cm3/L/mL/hL/dL/cL/barrel/gal_us/gal_uk/qt_us/pint_us/ft3/in3);speed(速度:m/s/km/h/mph/knot/ft/s/mach/c);pressure(压力:Pa/kPa/MPa/hPa/bar/mbar/atm/kgf_cm2/mmHg/torr/psi/mmH2O);power(功率:W/kW/MW/hp/ps/kcal_s/J/s/N·m/s);heat(热量:J/kJ/cal/kcal/kWh/Btu);force(力:N/kN/kgf/dyn/lbf);time(时间:ms/s/min/h/day/week/year/month);data(数据大小:bit/B/KB/MB/GB/TB/KiB/MiB/GiB);angle(角度:deg/rad/grad/arcmin/arcsec/mil/turn);density(密度:g/cm3/kg/m3/g/L/kg/dm3/g/mL/lb/ft3);temperature(温度:C/F/K/R/Re)。温度单位:C=摄氏度 F=华氏度 K=开氏度 R=兰氏度 Re=列氏度

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYes目标单位
fromYes源单位
valueYes
categoryYes单位类别
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Since no annotations are provided, the description must carry the behavioral disclosure burden. It states conversion and lists all units, but does not disclose return format, error handling, or that it is a pure side-effect-free operation beyond the verb '换算'.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description opens with a one-line purpose and then uses a dense, well-organized category/unit list. It is lengthy due to the exhaustive unit enumeration, but every item is necessary and nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the high complexity of units and no output schema, the description covers all supported categories and unit symbols plus temperature unit details. It does not explicitly explain how value/from/to relate or what the result looks like, but the schema fills the parameter relationship and return is implied for a converter.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema only defines category with an enum and describes from/to as generic strings. The description adds enormous value by listing every valid unit string for each category and explaining temperature unit abbreviations, which is essential for correct invocation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool performs unit conversion (单位换算) and then exhaustively lists every supported category and unit. This specific verb+resource scope distinguishes it from sibling tools like color_convert or encode_*.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance, nor any mention of alternatives. However, the tool's domain is so self-contained and the category list so complete that the intended use is implied: use when converting among the listed units.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

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/regaing/devbelt-mcp'

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