Skip to main content
Glama

Top speed of a horse for a breed and its gear, on or off road

calculate_horse_speed
Read-onlyIdempotent

[Game reference] Top speed of a horse for a breed and its gear, on or off road. The game's formula (RidableHorse.GetCurrentMaxSpeed): at a gallop, (14 + road bonus + every gear speed change + boost) x breed speed multiplier. Returns gallop_kmh/gallop_ms, every gait's top speed, the extra storage_slots and stamina_seconds_full (how long a full 60 stamina gallops). 422 for an unknown breed/item or more than 4 gear items. Gear and boosts are added before the breed multiplier. km/h = m/s x 3.6. Vanilla values. Link https://rust.wiki/horses#calculator.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "calculate_horse_speed"
  }
}

Input Schema

NameRequiredDescriptionDefault
roadNoGalloping on a road or railway (+1 m/s, half the stamina use).
boostNoA gallop boost item: `apple` or `syringe.medical`.
breedNoBreed key from `/horses/breeds`, e.g. `chestnut`.white-thoroughbred
shoesNo`horse.shoes.basic` or `horse.shoes.advanced`.
armourNo`horse.armor.wood`, `horse.armor.roadsign` or `horse.armor.lny26`.
towingNoAlso return the speed limit while towing a siege weapon.
saddlebagsNoHow many saddlebags (each -1 m/s, +12 storage slots).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), and the description adds real behavioral detail beyond them: error semantics (422 for unknown breed/item or more than 4 gear items), the order of operations (gear and boosts added before the breed multiplier), and unit conversion (km/h = m/s x 3.6). It does not mention rate limits or whether unknown-but-valid gear keys degrade silently, but the added context is substantial.

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 purpose is front-loaded in the first sentence, followed by the formula, return fields, error codes and unit note in a compact block. The formula and wiki link are justified for a game-reference calculator, though the inline equation with paragraph break reads slightly dense.

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

Completeness5/5

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

With seven optional parameters, no output schema and full schema coverage, the description supplies exactly what is missing: the shape of the return value (gallop_kmh/gallop_ms, every gait's top speed, storage_slots, stamina_seconds_full), the error condition, and the computation order. An agent can call and interpret results without further context.

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 description coverage is 100%, so the schema already defines every parameter including patterns, ranges and default values; the description adds little per-parameter meaning except confirming that gear and boost contributions are summed pre-multiplier and that `towing` triggers an extra towing speed limit. That is useful but marginal, so the baseline 3 applies.

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 names a specific computed quantity (top gallop speed), the two determinants (breed and gear), and the on/off-road distinction, which separates it cleanly from the other calculate_* siblings. The underlying formula name (RidableHorse.GetCurrentMaxSpeed) leaves no ambiguity about what is being modeled.

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 rather than stated: the description ties the breed parameter to `/horses/breeds` (pointing at get_horse_breeds for key resolution) and marks output as 'Vanilla values', but never says when to prefer this over related calculators such as calculate_damage or when the wiki should be consulted instead. Adequate but leaves the agent to infer the workflow.

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