Skip to main content
Glama

unit_convert

Convert between units: length (mm/cm/m/km/in/ft/yd/mi), weight (mg/g/kg/oz/lb), temperature (c/f/k), data (b/kb/mb/gb/tb).

Input Schema

NameRequiredDescriptionDefault
toYes
fromYes
valueYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It usefully discloses the accepted input vocabulary (the exact unit abbreviations per category), but says nothing about failure behavior for incompatible categories, case sensitivity of tokens, rounding/precision, or the shape of the returned value. For a low-risk pure-computation tool this is a moderate but not fatal gap.

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?

One well-formed sentence, front-loaded with the core action, then the supported domains. Every token earns its place and there is no restatement of the tool name or filler.

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

Completeness3/5

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

With no output schema and no annotations, the description should also indicate the return format and how invalid or cross-category conversions are handled; it does neither. The enumerated unit vocabulary partially compensates, but an agent still has to guess at output type and error semantics.

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 description coverage is 0%, so the schema gives only the names 'from', 'to', and 'value'. The description compensates well by enumerating the legal string values for the two unit parameters, which is the single most important missing piece. It does not explicitly tie those lists to the 'from'/'to' params, nor state that both must belong to the same category or that 'value' is the numeric quantity.

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 (Convert) and resource (units), then enumerates the four supported measure families with concrete unit tokens. No sibling in the tool list performs conversion, so selection is unambiguous from the description alone.

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 only implied by the verb: there is no explicit 'use this when' statement, no note about what happens on cross-category requests (e.g., m to kg), and no alternative tool referenced. Because no sibling overlaps this domain, the implied usage is sufficient to route correctly, but nothing beyond that is offered.

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