Skip to main content
Glama

SBA Express Loans

Merchant cash advance cost and APR

calculate_mca_true_cost
Read-onlyIdempotent

Turns a merchant cash advance's factor rate and payment schedule into total payback, dollar cost and APR, and shows how the APR moves if it is repaid faster or slower. An estimate from the inputs, not a quote.

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": {
      "advance": "<advance>",
      "factor": "<factor>",
      "months": "<months>"
    },
    "name": "calculate_mca_true_cost"
  }
}

Input Schema

NameRequiredDescriptionDefault
feesNoFees taken from the advance, in dollars (optional)
factorYesFactor rate, e.g. 1.3
monthsYesExpected months to repay, up to 60
advanceYesAdvance amount in dollars
scheduleNoPayment schedule. Default daily (252 business days a year)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish that this is a read-only, idempotent, non-destructive, closed-world calculation. The description adds that the output is an estimate and that it shows APR sensitivity to faster or slower repayment, which is meaningful behavioral context beyond the annotations.

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?

The description is two tightly written sentences with the core purpose and output front-loaded. The estimate caveat follows efficiently, and no wording is redundant.

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 moderately complex calculator with full schema descriptions and no output schema, the description adequately explains what will be returned: total payback, dollar cost, APR, and APR sensitivity. It does not detail APR methodology or assumptions, but those are minor gaps given the schema and annotations.

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 100%, so the schema already documents all five parameters, including factor rate, advance, months, fees, and schedule. The description mentions factor rate and payment schedule but adds no parameter format, default, or constraint beyond what the schema 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 states a specific transformation: it converts an MCA's factor rate and payment schedule into total payback, dollar cost, and APR. It is clear what the tool does, but it does not explicitly distinguish itself from sibling calculators such as calculate_invoice_factoring_cost or calculate_business_loan_payment.

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 includes the useful caveat that the result is an estimate from the inputs rather than a quote, which gives some usage context. However, it does not say when to choose this MCA calculator over sibling tools or note any exclusions or prerequisites.

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