Skip to main content
Glama

Alomo: Developer utilities

Convert units (length, mass, volume, temperature and more)

convert_units
Read-onlyIdempotent

Converts a value between units in one category: length, mass, volume (US and imperial), area, speed, temperature, data (decimal KB/MB and binary KiB/MiB), time, energy and pressure. Accepts symbols or names ('lb', 'pounds', 'sq ft', '°F'). Uses exact definitions where they exist.

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
toYesOne or more target units, e.g. ['km', 'm'].
fromYesUnit to convert from, e.g. 'mi'.
valueYesThe number to convert.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, so the safety profile is covered. The description adds genuinely useful context — alias acceptance ('lb', 'pounds') and the use of exact definitions — but does not clarify the puzzling openWorldHint=true on what is a pure computation, nor whether cross-category requests fail.

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

Conciseness5/5

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

Two dense sentences with the capability and the category scope front-loaded, followed by input-format detail. No filler, no restatement of the title or name.

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?

Covers the supported domain and input flexibility well, which is most of what an agent needs for a stateless conversion tool. Minor gap: with no output schema and up to 10 targets, the description never says the result is a list of converted values, leaving the return shape to be discovered.

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

Parameters3/5

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

Schema coverage is 100%, so the schema already documents all three parameters including the multi-target array. The description adds two pieces of meaning beyond it: that unit aliases/names are accepted, and that from/to must belong to a single category — a real constraint not expressed in the schema.

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

Purpose4/5

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

States a specific verb ('Converts') and resource ('a value between units in one category') and enumerates the supported categories, which implicitly separates it from convert_currency. It stops short of explicitly naming which sibling to use instead, so an agent must infer that currency and time-zone conversions are out of scope.

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?

Usage is implied by the category list rather than stated: an agent can deduce this tool handles physical/measurement units, not currency or clock time zones. There is no explicit when-to-use/when-not-to-use guidance and no reference to convert_currency or convert_time_zones as alternatives.

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