Skip to main content
Glama

BusCalc — Business & Trade Calculations

Invoice factoring cost and effective APR

buscalc_invoice_factoring_cost_and_effective_apr
Read-onlyIdempotent

Find what factoring one invoice costs and its effective APR from the advance rate, discount fee, days outstanding and flat fees. 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": {
        "fee": 2.75,
        "days": 45,
        "invoice": 10000,
        "flatFees": 50,
        "advanceRate": 85
      }
    },
    "name": "buscalc_invoice_factoring_cost_and_effective_apr"
  }
}

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

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered structurally. The description adds genuine context beyond that – the return payload contents (formula, assumptions, method version, reference-value notes, check link, source URL) and the statement that no figures are looked up and no private projects are accessed – but it omits any note on rate limits, precision/rounding of outputs, or failure modes.

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?

Purpose is correctly front-loaded, but a noticeable share of the text is boilerplate ('Use this tested BusCalc worksheet when the task matches its inputs and scope', 'Follow its required fields and exact choices') that adds no decision value. It also describes return contents that are already implied by the existing output schema.

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 read-only, idempotent calculator with a rich nested schema and an output schema, the definition covers what an agent needs: how to nest inputs, percent conventions, reference-value behavior, and scope limits. Missing only sibling routing and any precision/rounding caveat on the APR output.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 33% at the top level, and the description compensates with structural rules an agent would otherwise get wrong: tool fields go inside 'inputs', percent fields take percent numbers (not decimals), units/modelVersion only when listed, and the REST calculator field must not be passed through MCP arguments. It does not add meaning for the enum choices (period, feeBase, rounding) beyond what the schema already documents.

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 first sentence gives a specific verb (find), a specific resource (cost of factoring one invoice and its effective APR), and enumerates the driving inputs (advance rate, discount fee, days outstanding, flat fees). It does not differentiate itself from close siblings such as buscalc_merchant_cash_advance_true_apr or buscalc_freight_factoring_true_cost_calculator, which is the only reason it falls short of a 5.

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?

Guidance is limited to the generic 'use this worksheet when the task matches its inputs and scope,' which tells an agent little it could not infer from the schema. It does give useful operational rules (official reference values prefilled when omitted, supply every other figure from user records), but it names no alternatives and sets no explicit when-not conditions.

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