Skip to main content
Glama

BusCalc — Business & Trade Calculations

Truck keep or replace annual cost

buscalc_truck_keep_or_replace_annual_cost
Read-onlyIdempotent

Compare the yearly cost of keeping your current truck against replacing it, counting fuel economy, repairs, downtime and resale. 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": {
        "years": 4,
        "newEnd": 82000,
        "newMpg": 7.4,
        "keepEnd": 18000,
        "keepMpg": 6.1,
        "newDown": 3,
        "dayValue": 450,
        "discount": 8,
        "keepDown": 14,
        "newMaint": 7000,
        "newValue": 165000,
        "fuelPrice": 3.85,
        "keepMaint": 24000,
        "keepValue": 52000,
        "milesYear": 110000
      }
    },
    "name": "buscalc_truck_keep_or_replace_annual_cost"
  }
}

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

A3.6/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, and closed-world behavior. The description adds useful specific context: no prices or omitted costs are looked up, no private projects or purchases are accessed, and results include formula, assumptions, method version, and source URL.

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 front-loaded in the first sentence, but the description includes filler such as 'when the task matches its inputs and scope' and 'Follow its required fields and exact choices.' The final instruction about the REST calculator field is cryptic and does not clearly earn its place.

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?

Given the rich nested schema, output schema, and annotations, the description supplies enough behavioral context for correct invocation: it identifies the return contents, closed-world constraints, inputs wrapper, and optional version field. The main remaining gap is the unspecified role of the empty units object and weak alternative-tool guidance.

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 schema documents the nested input fields in detail, and the description adds the important wrapper instruction to put tool fields inside inputs and to supply units or modelVersion only when listed. However, it does not explain the empty units object, and some instructions are generic rather than adding parameter meaning.

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?

The description states a specific verb and resource: compare the yearly cost of keeping the current truck against replacing it, and lists the included cost factors (fuel economy, repairs, downtime, resale). This clearly distinguishes the tool from adjacent fleet and truck-cost calculators.

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 the generic instruction to use the worksheet when the task matches its inputs and scope. It does not name alternatives, say when not to use it, or give concrete conditions for choosing this tool over sibling calculators.

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