Skip to main content
Glama

BusCalc — Business & Trade Calculations

Truck appointment on time probability

buscalc_truck_appointment_on_time_probability
Read-onlyIdempotent

Estimate the chance of making a delivery appointment from miles left, speed variation, stops and the hours of service you have left. 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": {
        "delay": 20,
        "speed": 56,
        "stops": 30,
        "driveLeft": 9,
        "milesLeft": 310,
        "breakAfter": 8,
        "sinceBreak": 3,
        "windowLeft": 10,
        "variability": 12,
        "minutesToAppt": 480,
        "qualifyingStop": "no"
      }
    },
    "name": "buscalc_truck_appointment_on_time_probability"
  }
}

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. Changed2 schema fields changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "inputs": {
      -      "breakAfter": 8,
      -      "delay": 20,
      -      "driveLeft": 9,
      -      "milesLeft": 310,
      -      "minutesToAppt": 390,
      -      "qualifyingStop": "no",
      -      "sinceBreak": 3,
      -      "speed": 56,
      -      "stops": 30,
      -      "variability": 12,
      -      "windowLeft": 10
      -    }
      -  }
      -]New value: +[
      +  {
      +    "inputs": {
      +      "breakAfter": 8,
      +      "delay": 20,
      +      "driveLeft": 9,
      +      "milesLeft": 310,
      +      "minutesToAppt": 480,
      +      "qualifyingStop": "no",
      +      "sinceBreak": 3,
      +      "speed": 56,
      +      "stops": 30,
      +      "variability": 12,
      +      "windowLeft": 10
      +    }
      +  }
      +]
    • changedInput schema / properties / modelVersion / enum
      Previous value: -[
      -  "1.0.0"
      -]New value: +[
      +  "1.1.0"
      +]
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already declare this is a safe read-only, idempotent, closed-world operation. The description adds useful behavior beyond annotations by stating that it returns named results, units, formula, assumptions, method version, and a source-page URL, and by clarifying what it does not look up or access.

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

Conciseness4/5

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

The purpose is front-loaded in the first sentence and the description remains reasonably compact. Some sentences are generic boilerplate, such as following required fields and exact choices, and could be trimmed, but the overall structure is understandable.

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 covers the core purpose, return contract, input envelope, and scope exclusions well enough for invocation. The main gap is the lack of sibling differentiation among many truck-related BusCalc tools, which leaves the user to infer when this calculator is preferable to adjacent planners.

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 only 33%, so the description should compensate more than it does. It adds important packaging guidance such as putting fields inside inputs and not passing the REST calculator field in MCP arguments, but it does not explain the units object, modelVersion behavior, or most input meanings beyond what the schema already provides.

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 description gives a specific verb and resource: estimate the chance of making a delivery appointment from miles left, speed variation, stops, and remaining hours of service. It clearly identifies the task, but it does not explicitly distinguish this from similar sibling calculators such as the hours-of-service or truck trip planners.

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?

The description says to use the worksheet when the task matches its inputs and scope, and it adds exclusions around prices, omitted costs, private projects, and purchases. However, it provides no explicit when-to-use versus alternative guidance and does not name a sibling tool or decision boundary.

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