Skip to main content
Glama

Meter — Training Calculators

Elevation, Grade & VAM Calculator

elevation_convert
Read-onlyIdempotent

Elevation helpers: convert a climb between metres and feet, compute average grade (%) from elevation gain and distance, and estimate vertical ascent rate (VAM, m/hour) from gain and moving time. Pure arithmetic.

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": {
      "gain": "<gain>"
    },
    "name": "elevation_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
gainYesElevation gain. Must be >= 0.
minutesNoOptional moving time in minutes, for VAM.
distanceNoOptional horizontal distance, for grade.
gain_unitNometres
distance_unitNokm

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/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 covered. The description adds 'Pure arithmetic', which usefully confirms there are no external lookups or side effects. It says nothing about partial-input behaviour, such as what is returned when distance or minutes are missing, which is the main remaining behavioural question.

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?

One front-loaded list sentence plus a two-word 'Pure arithmetic.' closer; nothing is redundant. The parenthetical abbreviations are informative rather than padding. Slightly dense, but every clause maps to a distinct computation.

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, the description must carry the return-value burden; it names the units of grade and VAM but not the response shape or whether multiple results are returned together. For a simple arithmetic tool that is mostly sufficient, yet it leaves an agent unsure which outputs appear for a given input combination.

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 60% and already labels minutes as 'for VAM' and distance as 'for grade', so the description mostly restates those roles. It adds the units of the computed outputs (%, m/hour) but leaves open whether gain_unit influences the grade or VAM results and how distance_unit interacts with the distance value. Baseline 3 is appropriate given the schema carries most of the weight.

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?

The description names three specific operations with verbs and resources: unit conversion of a climb between metres and feet, average grade (%) from gain and distance, and VAM (m/hour) from gain and moving time. That is much clearer than a tautology. It does not contrast itself with unit_convert, which could plausibly overlap on the metres/feet conversion, so it stops short of full sibling differentiation.

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 pairing each computation with the inputs it needs (distance for grade, minutes for VAM), which lets an agent infer what to supply. There is no explicit statement of when to prefer this over unit_convert or pace_convert, and no exclusion such as 'grade is omitted when distance is absent'. Adequate but with real gaps.

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