Skip to main content
Glama

finance amortization

finance_amortization
Read-only

Loan and mortgage schedule: level payment, total interest and total paid for a principal, annual rate and term (years or months, any payments-per-year), optional extra payment per period with interest and payments saved, payoff date, yearly totals and the full period-by-period schedule (dates from an optional start date). $0.002. Costs $0.002 USDC per call (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>"
    },
    "name": "finance_amortization"
  }
}

Input Schema

NameRequiredDescriptionDefault
rateYesannual %, e.g. 6.5
yearsNo
monthsNo
scheduleNofalse to omit the rows
principalYes
start_dateNo
extra_paymentNo
payments_per_yearNo12 default; 26 biweekly; 52 weekly

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuinely useful behavioral context beyond annotations: the x402 payment requirement and cost ($0.002 USDC per call), i.e. an auth/payment precondition.

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?

It is a single long run-on sentence with the resource front-loaded, but it wastes space by stating the price twice: '$0.002.' followed by 'Costs $0.002 USDC per call (x402).' That redundancy and the dense clause stacking hurt 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 must describe returns, and it does so thoroughly (level payment, totals, payoff date, yearly totals, full schedule). For an 8-parameter financial calculator it covers inputs and outputs well, leaving only minor edge-case detail unspecified.

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 description coverage is only 38%, so the description carries extra burden and largely meets it: it explains principal, annual rate, term in years or months, any payments-per-year, optional extra payment, optional start date, and the schedule output. Minor gaps remain (no units/format detail for start_date or extra_payment).

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?

States a specific verb+resource: computes a loan/mortgage amortization schedule. It clearly enumerates the outputs (level payment, total interest, payoff date, period-by-period schedule). It does not explicitly name the sibling finance_npv to differentiate, so it stops 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 Guidelines2/5

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

The description frames the tool as a loan/mortgage schedule, which implies its domain, but gives no explicit when-to-use or when-not guidance and never names an alternative (e.g., finance_npv or a generic calc tool). The agent must infer applicability.

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