Skip to main content
Glama

BusCalc — Business & Trade Calculations

Truck driver settlement calculator

buscalc_truck_driver_settlement_calculator
Read-onlyIdempotent

Build a driver or owner-operator settlement: base pay, extras, reimbursements, deductions, net pay and effective pay per mile and per hour. 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": {
        "basis": "mile",
        "bonus": 0,
        "stops": 2,
        "onDuty": 62,
        "detRate": 20,
        "layover": 0,
        "stopPay": 50,
        "detHours": 3,
        "emptyRate": 0.62,
        "reimburse": 120,
        "deductions": [
          {
            "label": "Fuel advance",
            "amount": 300
          },
          {
            "label": "Escrow",
            "amount": 100
          }
        ],
        "emptyMiles": 280,
        "layoverPay": 100,
        "loadedRate": 0.62,
        "loadedMiles": 2300
      }
    },
    "name": "buscalc_truck_driver_settlement_calculator"
  }
}

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. Added

TDQS

B3.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description still adds real behavioral context beyond them: it states the response includes units, formula, assumptions, method version and a source-page URL, and it discloses that no prices or omitted costs are looked up — a meaningful caveat that the agent must supply every cost itself. Minor boilerplate ('no private projects or purchases are accessed') dilutes but does not negate this.

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 and information-dense, and the return-format sentence earns its place. However, several sentences are generic BusCalc boilerplate ('when the task matches its inputs and scope', 'Do not pass the REST calculator field inside MCP arguments') that apply to every sibling and add no tool-specific value.

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 spelled out, and annotations cover the safety profile; the description correctly focuses on scope and output shape. But for a nested, conditionally-required inputs object with three mutually exclusive pay bases, the description leaves the key branching logic (mile vs percent vs hour field sets) entirely undocumented. Adequate but incomplete for the schema's complexity.

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 low (33%) and the description adds essentially no parameter meaning: it only says to put fields inside 'inputs' and to supply units/modelVersion only when listed. The most confusing part of the schema — the conditional required sets driven by basis=mile/percent/hour — is never explained in prose, so the agent must reverse-engineer the allOf branches from the schema alone. That is exactly the gap the description should have filled.

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 opening sentence names a specific verb and resource (build a driver/owner-operator settlement) and enumerates the components produced: base pay, extras, reimbursements, deductions, net pay, and effective pay per mile/hour. An agent can tell this is a settlement/payroll computation rather than a tax, lease, or routing calculator. It does not name or contrast any sibling tool, so it stops short of a 5.

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 usage guidance is 'Use this tested BusCalc worksheet when the task matches its inputs and scope,' which is circular and gives no concrete condition for selecting this tool over the many buscalc_* siblings. No alternatives are named and no when-not-to-use case is stated. The remaining sentences ('Follow its required fields and exact choices') are formatting instructions, 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