Skip to main content
Glama

BusCalc — Business & Trade Calculations

Truck preventive maintenance due schedule

buscalc_truck_preventive_maintenance_due_schedule
Read-onlyIdempotent

See which service items are overdue or coming due, by miles or days, what they will cost in the weeks ahead and the reserve per mile to fund them. 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": {
        "items": [
          {
            "cost": 520,
            "label": "Oil and filters",
            "interval": 30000,
            "lastMile": 312000,
            "daysSince": 40,
            "intervalDays": 0
          },
          {
            "cost": 90,
            "label": "Chassis lube",
            "interval": 15000,
            "lastMile": 330000,
            "daysSince": 20,
            "intervalDays": 0
          },
          {
            "cost": 250,
            "label": "Annual inspection",
            "interval": 0,
            "lastMile": 0,
            "daysSince": 330,
            "intervalDays": 365
          },
          {
            "cost": 180,
            "label": "Air dryer cartridge",
            "interval": 100000,
            "lastMile": 250000,
            "daysSince": 300,
            "intervalDays": 365
          },
          {
            "cost": 450,
            "label": "Coolant service",
            "interval": 300000,
            "lastMile": 60000,
            "daysSince": 600,
            "intervalDays": 0
          },
          {
            "cost": 1300,
            "label": "Steer tires",
            "interval": 120000,
            "lastMile": 236000,
            "daysSince": 280,
            "intervalDays": 0
          }
        ],
        "perWeek": 2500,
        "odometer": 342000,
        "lookWeeks": 13
      }
    },
    "name": "buscalc_truck_preventive_maintenance_due_schedule"
  }
}

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.3/5.0
Behavior4/5

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

Annotations already state readOnly, idempotent, non-destructive and openWorld=false, so the bar is lower. The description still adds real context: it returns named results, units, formula, assumptions, method version and a source-page URL, and it discloses that no prices or omitted costs are looked up and no private projects are accessed — consistent with openWorldHint=false. It does not cover limits like the 20-item cap or how overdue is computed, 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.

Conciseness3/5

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

The purpose is correctly front-loaded, but several sentences are boilerplate that consume space without information ("Use this tested BusCalc worksheet when the task matches its inputs and scope", "Follow its required fields and exact choices"). The remaining sentences about return values and argument placement do earn their place.

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 the description's contract details (units, formula, assumptions, source URL) are adequate. However, for a nested, 20-item-array tool with a 3-parameter top level, it omits limits, unit expectations for odometer/miles, and computation behavior for overdue vs upcoming items.

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?

Schema coverage is about 33% at the top level, but the nested field descriptions (interval, intervalDays with 0 semantics, lastMile, daysSince, perWeek, odometer, lookWeeks) are already detailed in the schema. The description adds the non-obvious wrapping rule (all tool fields go inside "inputs") and clarifies that units/modelVersion are optional and that a REST-only field must not be passed, but it does not explain field semantics or interactions itself.

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: it shows which service items are overdue or coming due by miles or days, plus forward cost and reserve per mile. That is concrete enough to distinguish it from the sibling truck tools (trip planning, settlements, lease-vs-purchase). It stops short of naming an alternative for overlapping cases such as keep-or-replace annual cost.

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?

"Use this tested BusCalc worksheet when the task matches its inputs and scope" is circular and gives no real when-to-use condition. The only actionable constraints are structural (put fields inside inputs, supply units or modelVersion only when in inputSchema, don't pass the REST calculator field), not guidance on choosing this tool over a sibling.

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