Skip to main content
Glama

RocketBids AI Earthwork Balance + Haul

Earthwork balance and haul

earthwork_balance_haul
Read-onlyIdempotent

Calculates a construction site's earthwork balance and trucking from quantities the user provides. Takes cut (bank cubic yards), fill (compacted cubic yards), optional strip, shrink and swell percentages, truck type and haul time or distance. Returns bank yards needed for fill, import or export volume, loose yards and tons hauled, truckloads (by volume and by weight, whichever governs), truck-hours, and haul cost if an hourly truck rate is given. Use it when someone asks whether a site imports or exports dirt, how many truckloads a dig or grading job needs, or what the haul will cost. It does not read plans or surfaces; quantities must come from the user.

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": {
      "cut_bank_cy": "<cut_bank_cy>",
      "fill_compacted_cy": "<fill_compacted_cy>"
    },
    "name": "earthwork_balance_haul"
  }
}

Input Schema

NameRequiredDescriptionDefault
truckNoTruck type. Defaults: tandem_dump 12 CY/14 t, end_dump 20 CY/24 t, belly_dump 22 CY/25 t. Default tandem_dump.
avg_mphNoAverage loaded/empty speed for one_way_miles. Default 30.
strip_cyNoTopsoil or unsuitable material stripped, bank CY. Default 0.
haul_daysNoTarget haul duration in working days. Optional; returns trucks needed.
swell_pctNoSwell from bank to loose for native soil, percent. Default 25.
shrink_pctNoShrink from bank to compacted for native soil, percent. Default 15.
cut_bank_cyYesTotal cut, in bank (in-place) cubic yards.
strip_exportNoTrue if strip is hauled off site (default), false if stockpiled on site.
hours_per_dayNoWorking hours per day. Default 10.
one_way_milesNoOne-way haul distance, miles. Used if round_trip_minutes is not given.
truck_loose_cyNoOverride heaped capacity in loose CY. Required for custom.
import_swell_pctNoSwell for imported borrow, percent. Defaults to swell_pct.
fill_compacted_cyYesTotal fill, in compacted cubic yards.
import_shrink_pctNoShrink for imported borrow, percent. Defaults to shrink_pct.
load_dump_minutesNoLoad, dump and wait time per cycle, minutes. Default 10.
truck_hourly_rateNoTruck cost per hour, dollars. Optional; enables haul cost.
round_trip_minutesNoRound-trip travel time per load, minutes. Use this or one_way_miles.
truck_payload_tonsNoOverride legal payload in tons. Required for custom.
bank_unit_weight_lb_per_cyNoIn-place unit weight, lb per bank CY. Default 3000.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds real behavioral context beyond that: it is a pure computation with no plan/surface access, the haul-cost output only appears when an hourly rate is supplied, and truckloads are reported by both volume and weight with the governing one called out. It stops short of describing unit conventions or rounding for the outputs, which keeps it from a 5.

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

Conciseness5/5

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

Four sentences ordered purpose → inputs → outputs → when to use → exclusion. The long output enumeration is dense but each item is a distinct return value an agent needs for selection, so no sentence is padding.

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 19 parameters, only 2 required, and no output schema, the description compensates by listing the returned quantities and flagging which inputs are optional or conditional. An agent can decide whether to call it and what it will get back without further inspection.

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

Parameters4/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 documents each of the 19 parameters, including defaults and units. The description still adds relational meaning the schema cannot: which parameters feed which outputs (haul time or distance drives truck-hours; hourly rate gates haul cost), and the bank/compacted/loose unit relationships that make strip, shrink and swell meaningful together.

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?

States a specific verb and resource ('Calculates a construction site's earthwork balance and trucking') and immediately names the input basis ('from quantities the user provides'). It also enumerates the returned quantities, so an agent knows exactly what question this tool answers without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives three concrete triggering questions (does the site import or export dirt, how many truckloads, what will hauling cost) plus an explicit exclusion: 'It does not read plans or surfaces; quantities must come from the user.' That is both a when-to-use and a when-not-to-use statement, which is the strongest form of routing guidance available here.

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.