Skip to main content
Glama

BusCalc — Business & Trade Calculations

Truck trip planning screen

buscalc_map_truck_trip_plan
Read-onlyIdempotent

Screen exact mile-marker checkpoints, bridge inventory, federal weight and duty assumptions, and costs. Supply a diesel price or select an EIA region. Returns a cue sheet for planning. 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": {
        "mpg": 8,
        "axles": [
          {
            "weightPounds": 12000,
            "spacingInches": 0
          },
          {
            "weightPounds": 17000,
            "spacingInches": 192
          }
        ],
        "hours": {
          "cycle": "60-in-7",
          "segments": [
            {
              "kind": "driving",
              "minutes": 30
            }
          ],
          "priorCycleDutyMinutes": 0,
          "minutesOffDutyBeforeShift": 600
        },
        "tolls": 0,
        "heightIn": 162,
        "marginIn": 3,
        "checkpoints": [
          {
            "mile": 225,
            "route": "IH0035-KG",
            "state": "TX"
          },
          {
            "mile": 245,
            "route": "IH0035-KG",
            "state": "TX"
          }
        ],
        "dieselPrice": 4,
        "distanceMiles": 20,
        "otherCostPerMile": 0.5
      }
    },
    "name": "buscalc_map_truck_trip_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputsYes
modelVersionNo

Output Schema

NameRequiredDescriptionDefault
dutyYes
fuelYes
kindYes
bridgeYes
weightYes
cueSheetYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3/5.0
Behavior3/5

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

Annotations already carry readOnly, idempotent, openWorld, and non-destructive, so safety is covered. The description adds that it returns a cue sheet and that modelVersion/units should only be set when present in the schema, which is modestly useful. It still doesn't explain what checkpoints or HOS inputs actually do to the result beyond the output schema.

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 opening scope and return sentence are front-loaded and useful. Later sentences drift into wrapper mechanics ('Put tool fields inside inputs', 'Do not pass the REST calculator field inside MCP arguments') that read as implementation leakage rather than tool guidance. Some redundancy ('Follow its required fields and exact choices').

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

Completeness2/5

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

This is a deeply nested schema (axles geometry, HOS hour segments, checkpoints, cost inputs) and the description leaves most of it unexplained; it only covers diesel pricing, units, and modelVersion. An output schema exists so return values needn't be detailed, but the input richness far exceeds what the description addresses.

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 effectively 0%, so the description must carry the load, yet it only clarifies the dieselPrice/dieselRegion choice and modelVersion. The many nested inputs (axles, hours segments, checkpoints, heightIn, marginIn, tolls, mpg) get no explanation. Mechanical notes about the 'inputs' wrapper are not parameter semantics.

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 specific verbs and resources: screening mile-marker checkpoints, bridge inventory, federal weight and duty assumptions, and costs, plus a returns note (cue sheet). Clear what it does, but it overlaps conceptually with siblings like buscalc_map_bridge_screen and buscalc_map_marker_lookup without saying how it differs.

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?

Gives a partial rule ('Supply a diesel price or select an EIA region') for that parameter pair, but no when-to-use vs alternatives and no when-not guidance. A reader can infer it is a planning calculator, but nothing routes them here instead of the bridge or marker sibling tools.

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