Skip to main content
Glama

BusCalc — Business & Trade Calculations

Compare two BusCalc receipt revisions

buscalc_compare_receipt_revisions
Read-onlyIdempotent

Replay two receipts from the same public calculator, pinned version and unit choices, then report changed inputs, result deltas and optional threshold crossings. Use the browser tool for private receipts.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "inputs": "<inputs>"
    },
    "name": "buscalc_compare_receipt_revisions"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputsYes

Output Schema

NameRequiredDescriptionDefault
kindYes
slugYes
toolYes
inputsYes
resultsYes
currencyNoCurrency code when it is present in both original receipts.
thresholdsYes
attributionYes
modelVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. The description adds behavior the annotations cannot: it replays the calculation, requires matching calculator/version/units for comparability, and can emit threshold crossings when requested.

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?

Two sentences, zero filler, with the core operation front-loaded and the alternative routed in the final clause. Every phrase carries information.

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?

The output schema exists, so return values need not be described. However, for a nested 0%-coverage input schema, an agent still lacks any description of the receipt payload shape (string vs object) and of failure behavior when the two receipts come from different calculators or versions.

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 description coverage is 0% and the single parameter is a nested object with earlier/later (object-or-string, 6500 char cap) and thresholds. The description conveys that there are two receipts and that thresholds are optional, but it never explains what a receipt reference looks like or when to pass a string versus an object, so it only partially compensates for the coverage gap.

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 names a specific operation (replay two receipts and diff them) plus the concrete outputs: changed inputs, result deltas, and optional threshold crossings. It does not explicitly distinguish itself from buscalc_verify_receipt, so it stops short of the highest mark, but the resource and verb are unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear selection condition: public calculator receipts go here, private receipts go to the browser tool. It also implicitly requires both receipts to come from the same calculator with pinned version and unit choices, which is real usage guidance. No exclusions relative to the verify_receipt sibling are stated.

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