Skip to main content
Glama

BusCalc — Business & Trade Calculations

Trucker per diem deduction calculator

buscalc_trucker_per_diem_deduction_calculator
Read-onlyIdempotent

Estimate the deductible meals and incidentals per diem for a driver under DOT hours-of-service rules, using the IRS transportation-industry daily rate. Use this tested BusCalc worksheet when the task matches its inputs and scope. Returns named results, units, formula, assumptions, method version, reference-value notes (official figure or your figure, with source and effective date), a check link and a source-page URL. Official reference values are prefilled when omitted; supply every other figure from the user's records. Percent fields take percent numbers. No figures 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": {
        "fullConus": 60,
        "fullOconus": 0,
        "partialConus": 8,
        "partialOconus": 0
      }
    },
    "name": "buscalc_trucker_per_diem_deduction_calculator"
  }
}

Input Schema

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

Output Schema

NameRequiredDescriptionDefault
rowsNo
notesNoReference-value notes first, then model notes and the standard limit statement.
titleNo
unitsNo
inputsYes
columnsNo
formulaNo
receiptYes
resultsYes
sealURLNoWhere a saved record of this result can be sealed with an independent timestamp.
checkURLNoLink that replays this calculation on https://buscalc.com/sumtru/verify/. Null when the inputs hold free-form text or the link would be too long.
currencyNo
sourceURLYes
calculatorYes
assumptionsNo
modelVersionYes
referenceValuesNoOne entry per official reference value in play: the official figure, the figure used, status official or user, source, effective date and the note text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's added disclosure of return contents — named results, units, formula, assumptions, method version, reference-value notes with source and effective date, check link and source-page URL — is genuinely valuable. It also states that no figures are looked up and no private projects or purchases are accessed, which clarifies side effects beyond the annotations.

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?

The purpose leads, then computation semantics, then input conventions, then negative constraints. The sentences are short and each carries a distinct instruction; the trailing boilerplate about the REST calculator field is the only mildly awkward line.

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

Completeness4/5

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

With an output schema present, return values do not need spelling out, yet the description still summarizes what comes back. It covers the main risks for a numeric estimator — prefilled official values versus user-supplied overrides, percent-vs-decimal units, and the version-pinning parameter. The only gap is behavior around the split mode, which the description never mentions even though it changes which prior-period fields are required.

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?

The description adds real plumbing meaning: put tool fields inside inputs, supply units or modelVersion only when listed in inputSchema, and percent fields use percent numbers (a non-obvious convention given deductPct/partialShare defaults of 80 and 75). Beyond that it defers entirely to the schema, which already documents the nested day, rate, and split fields in detail, so a baseline 3 fits.

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 gives a specific verb and resource: estimate deductible meals and incidentals per diem for a driver under DOT hours-of-service rules using the IRS transportation-industry daily rate. That is precise enough for an agent to recognize the task, but it never positions the tool against any sibling worksheet, so the differentiation half of the criterion is unmet.

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?

Guidance is limited to 'Use this tested BusCalc worksheet when the task matches its inputs and scope,' which is circular rather than actionable. It does add useful prerequisites — official reference values are prefilled when omitted, every other figure must come from the user's records, percent fields take percent numbers — but there is no when-not condition and no alternative named.

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