Skip to main content
Glama

BusCalc — Business & Trade Calculations

Truck trip hours of service planner

buscalc_truck_trip_hours_of_service_planner
Read-onlyIdempotent

Plan a multi-day property-carrying trip under the federal driving, duty-window, break, rest and cycle limits and get an arrival time and stop schedule. Use this tested BusCalc worksheet when the task matches its inputs and scope. Returns named results, units, formula, assumptions, method version and a source-page URL. No prices or omitted costs are looked up; no private projects or purchases are accessed. Put tool fields inside inputs. Supply units or modelVersion only when listed in inputSchema. Follow its required fields and exact choices. Do not pass the REST calculator field inside MCP arguments.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "inputs": {
        "cycle": "70",
        "speed": 55,
        "adverse": "no",
        "fuelMin": 20,
        "restart": "restart",
        "breakMin": 30,
        "offHours": 10,
        "apptHours": 0,
        "cycleUsed": 32,
        "fuelEvery": 500,
        "loadHours": 1.5,
        "startHour": 6,
        "tripMiles": 1150,
        "breakAfter": 8,
        "driveLimit": 11,
        "preTripMin": 15,
        "unloadHours": 1,
        "windowLimit": 14,
        "adverseExtra": 2,
        "restartHours": 34
      }
    },
    "name": "buscalc_truck_trip_hours_of_service_planner"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitsNo
inputsYes
modelVersionNoOptional expected method version; a mismatch is rejected.

Output Schema

NameRequiredDescriptionDefault
unitsNo
inputsYes
receiptYes
resultsYes
sourceURLYes
calculatorYes
modelVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / modelVersion / enum
      Previous value: -[
      -  "1.0.0"
      -]New value: +[
      +  "1.1.0"
      +]
  2. Added

TDQS

C2.9/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is covered. The description adds some useful context beyond that: it says the tool returns named results, units, formula, assumptions, method version and a source URL, and it states scope exclusions (no prices or omitted costs looked up, no private projects or purchases). These are relevant but generic for a calculator.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is well front-loaded, but the remaining sentences are boilerplate or negative scope ('Use this tested BusCalc worksheet...', 'No prices or omitted costs are looked up...'). Several sentences could be dropped without losing information.

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?

An output schema exists, so return values need not be explained. For a 17-parameter, nested, multi-day HOS planning tool, the description is incomplete on decision guidance (when to use this vs. sibling truck planners) and on the meaning of domain inputs, though the rich input schema picks up much of the slack.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 33%, and the description supplies no semantics for any of the 17 nested inputs (tripMiles, cycle, speed, breakAfter, adverseExtra, etc.). The schema provides bounds and enums, but the description doesn't compensate for the coverage gap. It only explains structural wiring (put fields inside inputs; supply units or modelVersion only when listed), which barely helps the agent understand the domain inputs.

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 first sentence states a specific verb and resource: plan a multi-day property-carrying trip under federal driving, duty-window, break, rest and cycle limits, and it names the concrete outputs (arrival time, stop schedule). It doesn't name or distinguish a sibling such as buscalc_map_truck_trip_plan, so an agent must infer the boundary itself.

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?

The only routing guidance is the circular line 'Use this tested BusCalc worksheet when the task matches its inputs and scope', which tells the agent nothing about when to choose this tool over alternatives. The 'Do not pass the REST calculator field inside MCP arguments' line is a wiring caveat, not usage guidance.

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