Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Arteon Tools. If you published it, claim ownership there.

Convert units

convert_units
Read-onlyIdempotent

Convert a number between any two units of the same quantity. Covers about 1,200 units, the same as the unit converters on arteontools.com: length, mass and weight, volume, area, speed and pace, pressure, screen and print pixels (px, dp, pt at a DPI), typography (pt, pica, em, rem, Didot), data size (bit to quettabyte, KiB, MiB) and data transfer speed (Mbps, MB/s, USB and Wi-Fi links). Units can be symbols (cm, ft, lb, kPa, mph, MB/s), English names ("square feet", "US gallon", "nautical mile") or names in the chosen language, including historic units such as the Roman foot or the Polish ell. Results between exactly defined units are exact to 15 significant digits; "approximate": true marks units without one exact value. If both units exist in several quantities, the answer names the one used and lists otherQuantities; pass quantity to choose.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "value": "<value>",
      "from": "<from>",
      "to": "<to>"
    },
    "name": "convert_units"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesTarget unit symbol, name or id from list_units, for example in.
dpiNoPixels per inch for device pixels (quantity pixels), 1 to 2400, default 96.
fromYesSource unit symbol, name or id from list_units, for example cm.
valueYesThe number to convert, for example 12.5.
localeNoLanguage of the returned tool page link and of the text rules, one of: pl, en, de, es, fr, pt, it, cs, ar, id, tr, el, uk, ro, th, ja, vi, hi. Defaults to en.
quantityNoQuantity to use when both units exist in several, for example pixels or typography for cm to pt.
temperatureNoAir temperature in °C for Mach numbers (quantity speed), -90 to 60, default 15.
dataStandardNoFor KB, MB, GB and their speeds: binary counts in steps of 1024 like Windows, decimal in steps of 1000 like drive makers. Defaults: binary for data size, decimal for transfer speed.
rootFontSizeNoFont size of the html element in px for rem (quantity typography), 1 to 100, default 16.
parentFontSizeNoFont size of the parent element in px for em (quantity typography), 1 to 200, default 16.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare a safe, idempotent, closed-world read, so the description's job is to add outcome detail — and it does: results are exact to 15 significant digits for defined units, 'approximate': true marks units lacking one exact value, and ambiguous conversions name the quantity used and list otherQuantities. It does not describe the tool page link or error behavior, keeping it short of a 5.

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?

Purpose is front-loaded in the first sentence, followed by scope and edge-case caveats. The long catalog of quantity categories is dense but earns its place by helping an agent decide whether a given unit pair is in scope; a bulleted structure would read better than the run-on sentence.

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?

For a 10-parameter tool with no output schema, the description covers the important return semantics (approximate flag, otherQuantities, quantity naming) and the unit-input formats. Remaining parameters are fully documented in the schema, so an agent has enough to call it correctly; only error/failure behavior is unaddressed.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: 'from'/'to' accept symbols, English names, localized names, and historic units like the Roman foot or Polish ell, and it explains the DPI context for pixel units and the role of quantity. It does not elaborate on locale, temperature, or the two font-size parameters, which remain schema-only.

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?

States a specific verb and resource (convert a number between two units of the same quantity) and then enumerates the quantities covered, which separates it cleanly from convert_color and convert_roman_numerals. An agent can tell exactly what domain this tool handles without opening the schema.

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?

Gives one conditional instruction — 'pass quantity to choose' when both units exist in several quantities — which is genuine routing guidance for the ambiguous case. It offers no explicit when-not or pointer to list_units for discovering valid units, so usage is implied rather than fully framed.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources