Skip to main content
Glama

BusCalc — Business & Trade Calculations

Tariff landed cost and price pass-through

buscalc_tariff_landed_cost_and_price_pass_through
Read-onlyIdempotent

Work out landed cost per unit for imported goods with stacked duty rates, MPF and HMF, and the selling price that keeps your margin. 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": {
        "lines": [
          {
            "mfn": 3.5,
            "s232": 0,
            "s301": 25,
            "other": 0,
            "price": 20,
            "units": 1000,
            "value": 10000,
            "freight": 800,
            "priorCost": 11.5
          },
          {
            "mfn": 0,
            "s232": 25,
            "s301": 0,
            "other": 0,
            "price": 55,
            "units": 200,
            "value": 6000,
            "freight": 300,
            "priorCost": 33
          }
        ],
        "broker": 175,
        "inland": 400
      }
    },
    "name": "buscalc_tariff_landed_cost_and_price_pass_through"
  }
}

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

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

Annotations already declare read-only, idempotent, closed-world, non-destructive, so the bar is lower, and the description still adds real material: named results with units, formula, assumptions, method version, per-figure reference notes citing official vs. user-supplied values with source and effective date, a check link, and a source-page URL. It also discloses that omitted reference values are prefilled and overridable and that no figures are looked up from external sources. It stops short of describing validation or error behavior for malformed lines.

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 opening sentence is front-loaded and dense with the calculation's scope, and the return-format sentence earns its length. The trailing prose ('Follow its required fields and exact choices', 'Do not pass the REST calculator field inside MCP arguments', 'Put tool fields inside inputs') reads as boilerplate that dilutes the useful content.

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?

For a nested, multi-line import-cost model with an output schema present, the definition covers inputs conventions, default overrides, provenance of reference values, and output shape. Remaining gaps are minor: the semantics of the sparse top-level 'units' object and how line ordering or maxItems limits affect results are not explained in prose.

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?

Top-level schema description coverage is only 33%, but the nested line-item and fee properties carry detailed descriptions. The description contributes the percent-number convention ('6.2 means 6.2%'), the rule that official reference values are prefilled when omitted, and that modelVersion is an optional expected version whose mismatch is rejected. It says nothing about the empty 'units' object or the line-item keys themselves, so the schema still does most of the work.

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?

States a specific verb and compound resource: landed cost per unit for imported goods with stacked duty rates, MPF and HMF, plus the margin-preserving selling price. That is concrete enough to separate it from siblings like the IEEPA refund/interest ledger or the material price escalation clause tool without opening any schema.

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?

Offers only the generic gate 'use when the task matches its inputs and scope' and never names a sibling, a when-not condition, or a prerequisite such as having a formal entry summary with broker and inland charges. The note that official reference values are prefilled and everything else must come from user records gives implied usage context, but no explicit routing guidance.

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