Skip to main content
Glama

Benchline

Convert units

convert_units
Read-onlyIdempotent

Convert length, mass, volume, temperature, area, speed, time, and data size. Decimal bytes (kB, MB) and binary bytes (KiB, MiB) are separate categories.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesTarget unit id from the same category.
fromYesSource unit id, such as m, C, MB, or MiB.
valueYes
categoryYes
precisionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rowsYes
resultYes

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 readOnlyHint=true, idempotentHint=true, and openWorldHint=false, so safety behavior is fully covered structurally. The description adds only the decimal-vs-binary category caveat and says nothing about rounding behavior or how the precision default (6) affects results — useful but thin on top of the annotations.

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 short sentences, zero filler, with the scope enumeration front-loaded and the disambiguating caveat immediately after. Every clause carries information.

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?

An output schema exists, so return values need not be described, and annotations carry the safety profile; the description covers scope and the tricky data-size split. The remaining gap is behavioral detail on precision/rounding, which an agent would need to produce predictable output.

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 only 40%: 'to' and 'from' are documented in the schema, while 'value' (string|number), 'category', and 'precision' are not. The description partially compensates by disambiguating the two data-size categories, which is the highest-risk parameter choice, but it says nothing about precision, rounding, or the accepted value formats.

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 (Convert) plus the resource (units) and enumerates the nine supported categories, which cleanly separates it from look-alike siblings such as convert_data_format, convert_color, and convert_unix_timestamp. It stops short of naming which sibling to prefer for adjacent tasks, so it is clear but not sibling-routing.

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/when-not statement, but the category list implies the applicability surface, and the note that decimal (kB, MB) and binary (KiB, MiB) bytes are separate categories is real selection guidance that prevents a common category mistake. Still, nothing tells the agent how to choose between this tool and e.g. calculate_programmer or convert_data_format.

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