Skip to main content
Glama

finance_loan_calc

Read-only

Loan and mortgage calculator — Fixed-rate loan amortization: monthly payment, total interest, total paid, year-by-year principal / interest / balance, and how much time and interest an extra monthly payment saves. Works for mortgages, auto loans and personal loans. Price: $0.002 USDC (Base, via x402).

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": {
      "principal": "<principal>",
      "rate": "<rate>",
      "years": "<years>"
    },
    "name": "finance_loan_calc"
  }
}

Input Schema

NameRequiredDescriptionDefault
rateYesannual interest rate in percent
extraNooptional extra monthly payment
yearsYesterm in years (or months=)
principalYesloan amount

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely new operational context by disclosing that calls are paid ($0.002 USDC on Base via x402), which an agent must know before invoking. It does not state any output formatting, rounding, or currency-assumption behavior beyond the listed result fields.

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?

Purpose and output inventory are front-loaded in the first sentence, with scope and pricing in short follow-ups. The enumerated output list is long but each item is informative; little is wasted, though the sentence could be split for readability.

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?

With no output schema, the description carries the burden of describing return values, and it does so thoroughly. Pricing and payment protocol are disclosed, which matters for a metered tool. Minor gaps remain around result formatting and currency assumptions for a tool whose inputs are all strings.

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 four parameters are already documented, including the months= alternative for years. The description adds only marginal meaning beyond the schema by explaining the practical effect of the optional extra payment (time and interest saved); it says nothing about rate format, currency, or valid ranges beyond what the schema states.

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?

The description names the exact resource (fixed-rate loan amortization) and enumerates the concrete outputs: monthly payment, total interest, total paid, year-by-year principal/interest/balance, and extra-payment savings. It also scopes the loan types covered (mortgage, auto, personal), which separates it from the investment-calculator sibling without naming it.

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?

Applicability is stated clearly — fixed-rate mortgages, auto loans, personal loans — which implicitly excludes variable-rate or interest-only structures. There is no explicit "use X instead" routing to finance_invest_calc or util_calc, and no statement about what to do for variable-rate loans, so it falls short of full when/when-not 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