Skip to main content
Glama

Meter — Training Calculators

Training Unit Converter

unit_convert
Read-onlyIdempotent

Convert training units: distance (km, miles, metres, feet), elevation (metres, feet), speed (km/h, mph, m/s), temperature (°C, °F) and weight (kg, lb). Pure arithmetic on this call's inputs.

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": "unit_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
fromYes
valueYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is fully covered. The sentence 'Pure arithmetic on this call's inputs' usefully confirms determinism with no external lookups. However, it says nothing about what happens for incompatible pairs (the enums permit km to kg), which is the one real behavioral risk here.

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 sentences, front-loaded with the conversion domain and closed with the pure-arithmetic guarantee; nothing is redundant or padded.

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?

For a simple three-parameter arithmetic tool the core is covered, but with no output schema the description ought to say what is returned (a bare number, and rounding/precision) and how invalid category pairings are handled. These are the remaining gaps an agent would hit in practice.

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 0%, so the description must compensate; it does so partially by expanding the cryptic enum codes (kmh = km/h, ms = m/s) and grouping units into categories, which the bare enums do not convey. It adds no guidance on value semantics, such as negative temperatures or mixed-category requests.

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 and resource ('Convert training units') and enumerates the exact quantity families and unit codes, so an agent knows precisely what domain it covers. It stops short of differentiating from overlapping siblings such as elevation_convert and pace_convert, which fold in the same metres/feet and speed conversions.

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

Usage Guidelines2/5

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

There is no statement of when to use this versus the sibling converters, nor any exclusion such as 'for pace calculations use pace_convert'. The unit list only implies usage; an agent facing elevation_convert for a metres-to-feet question gets no routing signal.

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