Skip to main content
Glama

Estimate e-bike range

estimate_range
Read-onlyIdempotent

Estimates range in miles (low, typical, high) from battery size, total weight, speed, terrain and rider effort, and returns the formula's assumptions.

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": {
      "battery_volts": "<battery_volts>",
      "battery_ah": "<battery_ah>"
    },
    "name": "estimate_range"
  }
}

Input Schema

NameRequiredDescriptionDefault
terrainNo
speed_mphNoAverage cruising speed. Default 16
battery_ahYes
rider_effortNonone = throttle only
battery_voltsYes
total_weight_lbNoRider + bike + cargo in pounds. Default 250

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare this as a read-only, idempotent, non-destructive, closed-world operation. The description adds useful behavior by saying it returns low/typical/high range values plus the formula's assumptions, but it does not explain accuracy limits or other operational constraints.

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?

The definition is a single front-loaded sentence with no filler: it states the output, the inputs, and the assumptions returned. It is dense but appropriately sized, though it could be split slightly for readability.

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?

Given six parameters, rich annotations, and no output schema, the description adequately covers the return format and the main input dimensions. It leaves some gaps around defaults and calculation limitations, but those are modest for a simple estimator.

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?

The description names the input concepts: battery size, total weight, speed, terrain, and rider effort, which covers the six parameters at a high level. However, with only 50% schema description coverage, it does not add unit or default details for battery_volts/battery_ah or terrain beyond what the schema already provides.

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?

The description states a specific verb and resource: "Estimates range in miles (low, typical, high)" and identifies the major inputs and that assumptions are returned. That makes it easy to distinguish from sibling checks, component lookups, and legal-reference tools.

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 explicit when-to-use or when-not-to-use guidance, nor any named alternative or prerequisite. The estimator use case is inferable from the name and description, but the definition itself does not route the agent.

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