Financial Loan Amortization Calculator
Freshness
Last updated: 2026-06-24.
If the current date is more than 7 days after the last updated date, reinstall this skill from skills.sh or ClawHub before relying on endpoints, schemas, setup steps, or examples.
What This Tool Does
Full-featured financial loan calculator supporting 11 operations: payment calculation, principal estimation, term calculation, simple and compound interest, amortization schedules with CSV export, side-by-side loan comparison, DTI-based affordability analysis, refinance break-even evaluation, payoff acceleration modeling with extra and lump-sum payments, and APR-to-effective-rate conversion. Handles mortgages, auto loans, personal loans, and investment growth scenarios with configurable compounding, payment frequencies, interest-only periods, and balloon terms.
Product Instructions
Financial Loan Calculator - Tool Instructions
Overview
Comprehensive financial loan calculator supporting mortgage, auto, and personal loan calculations. Provides 11 actions covering payment computation, principal calculation, term determination, simple and compound interest, full amortization schedules with CSV export, multi-scenario loan comparison, home affordability analysis, refinance break-even analysis, payoff acceleration modeling, and interest rate conversion. All calculations support configurable payment and compounding frequencies, interest-only periods, balloon payments, and extra payments.
Actions
calculate_payment
Compute the periodic payment for an amortizing loan. Supports interest-only periods and balloon payments.
Required Parameters:
action (string): "calculate_payment"
principal (number, >0): Loan principal amount
annual_rate (number, 0-100): Nominal annual interest rate in percent
years (number, >0): Loan term in years
Optional Parameters:
payments_per_year (integer, default: 12, range: 1-365): Payment frequency per year
compounding_per_year (integer, default: 12, range: 1-365): Compounding frequency per year
future_value (number, default: 0): Target future value after final payment
balloon_payment (number, default: 0): Balloon amount due at maturity
interest_only_periods (integer, default: 0): Number of interest-only payment periods at the start
Example:
{
"action": "calculate_payment",
"principal": 350000,
"annual_rate": 6.25,
"years": 30,
"payments_per_year": 12,
"compounding_per_year": 12
}
Response fields: payment_per_period, interest_only_payment_per_period, periodic_rate_percent, total_periods, amortizing_periods
calculate_loan_principal
Calculate the maximum loan principal supported by a given payment amount.
Required Parameters:
action (string): "calculate_loan_principal"
payment_amount (number, >0): Periodic payment amount
annual_rate (number, 0-100): Nominal annual interest rate in percent
years (number, >0) or target_periods (integer, >=1): Loan term (one or both required)
Optional Parameters:
payments_per_year (integer, default: 12)
compounding_per_year (integer, default: 12)
future_value (number, default: 0)
balloon_payment (number, default: 0)
Example:
{
"action": "calculate_loan_principal",
"payment_amount": 2200,
"annual_rate": 6.1,
"years": 30
}
Response fields: max_principal, periods, periodic_rate_percent
calculate_term
Calculate the number of periods required to pay off a loan given principal, rate, and payment.
Required Parameters:
action (string): "calculate_term"
principal (number, >0): Loan principal
annual_rate (number, 0-100): Nominal annual rate in percent
payment_amount (number, >0): Periodic payment amount
Optional Parameters:
payments_per_year (integer, default: 12)
compounding_per_year (integer, default: 12)
Example:
{
"action": "calculate_term",
"principal": 42000,
"annual_rate": 7.9,
"payment_amount": 850
}
Response fields: required_periods, required_years, periodic_rate_percent
Note: Returns an error if the payment amount is too low to amortize the loan (i.e., less than or equal to the interest-only payment).
simple_interest
Calculate simple (non-compounded) interest totals.
Required Parameters:
action (string): "simple_interest"
principal (number, >0): Principal amount
annual_rate (number, 0-100): Annual interest rate in percent
years (number, >0): Duration in years
Example:
{
"action": "simple_interest",
"principal": 10000,
"annual_rate": 5,
"years": 3
}
Response fields: principal, interest, total_amount, annual_rate_percent, years
compound_interest
Calculate compound interest growth, optionally with periodic contributions.
Required Parameters:
action (string): "compound_interest"
principal (number, >0): Initial principal amount
annual_rate (number, 0-100): Annual interest rate in percent
years (number, >0): Investment duration in years
Optional Parameters:
compounding_per_year (integer, default: 12): Compounding frequency
periodic_contribution (number, default: 0): Amount added each contribution period
contribution_frequency_per_year (integer, default: 12, range: 1-365): How often contributions are made
contribution_timing (string, default: "end"): "end" or "beginning" of each period
Example:
{
"action": "compound_interest",
"principal": 15000,
"annual_rate": 7,
"years": 10,
"compounding_per_year": 12,
"periodic_contribution": 300,
"contribution_frequency_per_year": 12,
"contribution_timing": "end"
}
Response fields: future_value, principal_growth_component, contribution_growth_component, total_contributions, interest_earned, effective_annual_rate_percent, contribution_rate_percent
amortization_schedule
Build a full amortization table with support for extra payments and optional CSV file export.
Required Parameters:
action (string): "amortization_schedule"
principal (number, >0): Loan principal
annual_rate (number, 0-100): Nominal annual rate in percent
years (number, >0): Loan term in years
Optional Parameters:
payments_per_year (integer, default: 12)
compounding_per_year (integer, default: 12)
future_value (number, default: 0)
balloon_payment (number, default: 0)
interest_only_periods (integer, default: 0)
extra_payment (number, default: 0): Recurring extra principal each period
extra_payment_start_period (integer, default: 1): Period to begin recurring extra payments
one_time_extra_payments (array): List of one-time extra payments, each with period (integer, >=1) and amount (number, >0)
start_date (string): Schedule start date in YYYY-MM-DD format; adds date column to each row
return_schedule (boolean, default: true): Include schedule rows in response
max_schedule_rows (integer, default: 5000, range: 1-50000): Maximum rows to return
store_schedule_file (boolean, default: false): Upload schedule as CSV to cloud storage
expiration_days (integer, default: 7, range: 1-7): Cloud file expiration in days
Example:
{
"action": "amortization_schedule",
"principal": 280000,
"annual_rate": 6.4,
"years": 30,
"extra_payment": 200,
"store_schedule_file": true,
"expiration_days": 7
}
Response fields: summary (object with principal, rates, periods, payment, totals, paid_off_early flag), schedule (array of period rows with payment/principal/interest/extra_payment/balance/cumulative fields), schedule_truncated (boolean). When store_schedule_file is true: schedule_file with file_id, signed_url, expiration_date, size_bytes.
Each schedule row contains: period, date (if start_date provided), payment, principal, interest, extra_payment, balance, cumulative_interest, cumulative_paid.
compare_loans
Compare multiple loan scenarios side-by-side and rank by a selected metric.
Required Parameters:
action (string): "compare_loans"
compare_scenarios (array, minimum 2 items): Each scenario object requires:
name (string): Scenario label
principal (number, >0): Loan principal
annual_rate (number, 0-100): Annual rate in percent
years (number, >0): Term in years
Optional per-scenario fields: payments_per_year (default: 12), compounding_per_year (default: 12), extra_payment (default: 0), balloon_payment (default: 0), interest_only_periods (default: 0)
Optional Parameters:
comparison_metric (string, default: "lowest_total_cost"): Ranking method. One of: "lowest_payment", "lowest_interest", "lowest_total_cost"
Example:
{
"action": "compare_loans",
"comparison_metric": "lowest_total_cost",
"compare_scenarios": [
{"name": "30Y Fixed", "principal": 320000, "annual_rate": 6.5, "years": 30},
{"name": "15Y Fixed", "principal": 320000, "annual_rate": 5.8, "years": 15}
]
}
Response fields: comparison_metric, ranked_scenarios (array sorted by metric, each with name/principal/annual_rate_percent/years/payment_per_period/total_interest/total_paid/actual_periods), best_scenario
affordability_analysis
Estimate affordable monthly payment, maximum loan principal, and maximum home price based on income and debts.
Required Parameters:
action (string): "affordability_analysis"
annual_income (number, >0): Gross annual income
annual_rate (number, 0-100): Expected mortgage rate in percent
years (number, >0): Loan term in years
Optional Parameters:
monthly_debts (number, default: 0): Recurring monthly debt obligations
monthly_expenses (number, default: 0): Additional recurring monthly expenses
front_end_ratio (number, default: 0.28, range: 0-1): Maximum housing expense ratio
back_end_ratio (number, default: 0.36, range: 0-1): Maximum total debt ratio
property_tax_monthly (number, default: 0)
insurance_monthly (number, default: 0)
hoa_monthly (number, default: 0)
down_payment (number, default: 0): Down payment amount (added to max principal for max home price)
payments_per_year (integer, default: 12)
compounding_per_year (integer, default: 12)
Example:
{
"action": "affordability_analysis",
"annual_income": 145000,
"monthly_debts": 850,
"annual_rate": 6.2,
"years": 30,
"down_payment": 60000
}
Response fields: monthly_income, front_end_limit, back_end_limit, gross_housing_budget, net_housing_budget_for_pi, max_loan_principal, max_home_price_with_down_payment, assumptions
Note: Returns an error if deductions (taxes, insurance, HOA, expenses) exceed the available housing budget.
refinance_break_even
Estimate payment savings, break-even period, and net lifetime benefit of refinancing.
Required Parameters:
action (string): "refinance_break_even"
current_balance (number, >0): Current remaining loan balance
current_rate (number, 0-100): Current annual rate in percent
current_remaining_term_months (integer, >=1): Remaining months on current loan
new_rate (number, 0-100): New annual rate in percent
new_term_months (integer, >=1): New loan term in months
closing_costs (number, >=0): Refinance closing costs
Optional Parameters:
current_payment (number, >0): Current monthly payment. If omitted, calculated automatically from balance/rate/term.
Example:
{
"action": "refinance_break_even",
"current_balance": 295000,
"current_rate": 7.1,
"current_remaining_term_months": 312,
"new_rate": 6.1,
"new_term_months": 360,
"closing_costs": 5500
}
Response fields: current_payment, new_payment, monthly_savings, closing_costs, break_even_months, current_remaining_interest, new_total_interest, interest_savings, lifetime_net_benefit_after_costs, recommendation ("favorable" or "not_favorable")
The recommendation is "favorable" when break-even occurs within the remaining term and the lifetime net benefit is positive.
payoff_acceleration
Model interest and term savings from recurring and one-time extra payments by comparing baseline vs accelerated scenarios.
Required Parameters:
action (string): "payoff_acceleration"
principal (number, >0): Loan principal
annual_rate (number, 0-100): Nominal annual rate in percent
years (number, >0): Original loan term in years
Optional Parameters:
payments_per_year (integer, default: 12)
compounding_per_year (integer, default: 12)
extra_payment (number, default: 0): Recurring extra principal each period
extra_payment_start_period (integer, default: 1): Period to begin extra payments
one_time_extra_payments (array): One-time extra payments, each with period and amount
future_value (number, default: 0)
balloon_payment (number, default: 0)
interest_only_periods (integer, default: 0)
start_date (string): Optional start date in YYYY-MM-DD
Example:
{
"action": "payoff_acceleration",
"principal": 250000,
"annual_rate": 6.0,
"years": 30,
"extra_payment": 300,
"one_time_extra_payments": [{"period": 24, "amount": 5000}]
}
Response fields: baseline (summary without extra payments), accelerated (summary with extra payments), periods_saved, years_saved, interest_saved
rate_conversion
Convert a nominal annual percentage rate (APR) into effective annual and payment-period rates.
Required Parameters:
action (string): "rate_conversion"
annual_rate (number, 0-100): Nominal annual rate in percent
Optional Parameters:
compounding_per_year (integer, default: 12): Compounding frequency
payments_per_year (integer, default: 12): Payment frequency
Example:
{
"action": "rate_conversion",
"annual_rate": 8.0,
"compounding_per_year": 12,
"payments_per_year": 26
}
Response fields: nominal_annual_rate_percent, effective_annual_rate_percent, payment_period_rate_percent, daily_effective_rate_percent, assumptions
Workflows
- Home Purchase Planning - Use
affordability_analysis to determine budget, then calculate_payment to see exact payments, then amortization_schedule with store_schedule_file: true for a downloadable payment plan.
- Loan Comparison Shopping - Use
compare_loans with multiple scenarios (e.g., 15Y vs 30Y, different rates) ranked by lowest_total_cost or lowest_payment.
- Refinance Decision - Use
refinance_break_even to see if refinancing makes sense, check recommendation field and break_even_months.
- Early Payoff Strategy - Use
payoff_acceleration to model the impact of extra payments on term and interest savings.
- Investment Growth Projection - Use
compound_interest with periodic_contribution to project savings/investment growth over time.
- Rate Analysis - Use
rate_conversion to compare APR vs effective rates across different compounding frequencies.
Notes
- All monetary results are rounded to 2 decimal places. Rate percentages are rounded to 6 decimal places.
- The
interest_only_periods value must be less than the total number of payment periods.
- When
compounding_per_year differs from payments_per_year, the tool correctly converts the nominal rate to the appropriate periodic rate using the effective rate method.
- Amortization schedules can be very large. Use
max_schedule_rows to cap output size (default 5000, max 50000). If truncated, schedule_truncated is true.
- Set
return_schedule: false to get only the summary without period-by-period rows.
- CSV file uploads via
store_schedule_file expire in 1-7 days (configurable via expiration_days).
- The
calculate_term action will error if the payment is too low to amortize the loan (payment <= interest-only amount).
- For
refinance_break_even, if current_payment is not provided, it is automatically calculated from the current balance, rate, and remaining term.
- The
compare_loans action requires at least 2 scenarios.
- All date fields use
YYYY-MM-DD format. Invalid formats return a validation error.
When To Use
- Use this skill for
Financial Loan Amortization Calculator on AgentPMT.
- Use it when an agent needs this specific tool's behavior, schema, inputs, outputs, and invocation shape.
- Search and activation keywords: financial loan amortization calculator, financial loan calculator, mortgage payment planning, auto loan payment estimation, amortization schedule download, debt payoff acceleration analysis, affordability analysis, annual income.
- Supported action names:
affordability_analysis, amortization_schedule, calculate_loan_principal, calculate_payment, calculate_term, compare_loans, compound_interest, payoff_acceleration, rate_conversion, refinance_break_even, simple_interest.
Use Cases
- Mortgage payment planning
- Auto loan payment estimation
- Amortization schedule download
- Debt payoff acceleration analysis
- Refinance break-even evaluation
- Simple and compound interest projection
- Debt-to-income affordability checks
- Balloon payment scenario modeling
- Interest-only period planning
- Loan comparison analysis
Related Product Skills
Categories And Industries
No categories or industry tags are published for this tool.
Actions And Schema
Complete generated action schema: ./schema.md.
Supported action count: 11.
x402 availability: not enabled for this product.
affordability_analysis (action slug: affordability-analysis): Estimate affordable monthly payment, maximum loan principal, and maximum home price based on income, debts, and DTI ratios. Price: 5 credits. Parameters: annual_income, annual_rate, back_end_ratio, compounding_per_year, down_payment, front_end_ratio, hoa_monthly, insurance_monthly, plus 5 more.
amortization_schedule (action slug: amortization-schedule): Build a full amortization table with support for extra payments, one-time lump sums, interest-only periods, balloon payments, and optional CSV file export to cloud storage. Price: 5 credits. Parameters: annual_rate, balloon_payment, compounding_per_year, expiration_days, extra_payment, extra_payment_start_period, future_value, interest_only_periods, plus 8 more.
calculate_loan_principal (action slug: calculate-loan-principal): Calculate the maximum loan principal supported by a given periodic payment amount. Price: 5 credits. Parameters: annual_rate, balloon_payment, compounding_per_year, future_value, payment_amount, payments_per_year, target_periods, years.
calculate_payment (action slug: calculate-payment): Compute the periodic payment for an amortizing loan. Supports interest-only periods, balloon payments, and configurable payment/compounding frequencies. Price: 5 credits. Parameters: annual_rate, balloon_payment, compounding_per_year, future_value, interest_only_periods, payments_per_year, principal, years.
calculate_term (action slug: calculate-term): Calculate the number of periods and years required to pay off a loan given principal, rate, and payment amount. Price: 5 credits. Parameters: annual_rate, compounding_per_year, payment_amount, payments_per_year, principal.
compare_loans (action slug: compare-loans): Compare multiple loan scenarios side-by-side and rank by selected metric (lowest payment, lowest interest, or lowest total cost). Price: 5 credits. Parameters: compare_scenarios, comparison_metric.
compound_interest (action slug: compound-interest): Calculate compound interest growth over time, optionally with periodic contributions. Supports configurable compounding frequency and contribution timing. Price: 5 credits. Parameters: annual_rate, compounding_per_year, contribution_frequency_per_year, contribution_timing, periodic_contribution, principal, years.
payoff_acceleration (action slug: payoff-acceleration): Model interest and term savings from recurring and one-time extra payments by comparing baseline vs accelerated payoff scenarios. Price: 5 credits. Parameters: annual_rate, balloon_payment, compounding_per_year, extra_payment, extra_payment_start_period, future_value, interest_only_periods, one_time_extra_payments, plus 4 more.
rate_conversion (action slug: rate-conversion): Convert a nominal annual percentage rate (APR) into effective annual, payment-period, and daily effective rates. Price: 5 credits. Parameters: annual_rate, compounding_per_year, payments_per_year.
refinance_break_even (action slug: refinance-break-even): Estimate payment savings, break-even period, and net lifetime benefit of refinancing a loan. Price: 5 credits. Parameters: closing_costs, current_balance, current_payment, current_rate, current_remaining_term_months, new_rate, new_term_months.
simple_interest (action slug: simple-interest): Calculate simple (non-compounded) interest totals for a given principal, rate, and duration. Price: 5 credits. Parameters: annual_rate, principal, years.
Live Schema And Examples
Use the compact schema above for ordinary calls. Before a new production integration, or whenever parameters, enum values, nested objects, outputs, or examples are unclear, fetch live details first.
- Exact schema: call
agentpmt-tool-search-and-execution with action: "get_schema", and tool_id: "financial-loan-calculator".
- Detailed examples: call
agentpmt-tool-search-and-execution with action: "get_instructions" and tool_id: "financial-loan-calculator", or call this product with action: "get_instructions" when the product tool is already selected.
- Treat returned live schema and instructions as more specific than this generated summary.
MCP schema lookup through the main AgentPMT MCP server:
{
"method": "tools/call",
"params": {
"name": "AgentPMT-Tool-Search-and-Execution",
"arguments": {
"action": "get_schema",
"tool_id": "financial-loan-calculator"
}
}
}
For live examples, keep the same MCP tool and use these arguments:
{
"action": "get_instructions",
"tool_id": "financial-loan-calculator"
}
Authenticated AgentPMT REST schema lookup body:
{
"name": "agentpmt-tool-search-and-execution",
"parameters": {
"action": "get_schema",
"tool_id": "financial-loan-calculator"
}
}
Authenticated AgentPMT REST live examples body:
{
"name": "agentpmt-tool-search-and-execution",
"parameters": {
"action": "get_instructions",
"tool_id": "financial-loan-calculator"
}
}
Call This Tool
Product slug: financial-loan-calculator
Marketplace page: https://www.agentpmt.com/marketplace/financial-loan-calculator
- AgentPMT account route: first use
../agentpmt-account-mcp-rest-api-setup to connect the main MCP server or REST API for an Agent Group where this tool is enabled.
- x402 route: not enabled for this product.
- AgentPMT overview: use
../what-is-agentpmt for marketplace, Agent Group, workflow, MCP, REST, and payment concepts.
If those setup skills are not installed beside this product skill, use the downloads below.
Core AgentPMT setup skills:
- What AgentPMT is: ../what-is-agentpmt
- AgentPMT account MCP/REST setup: ../agentpmt-account-mcp-rest-api-setup
skills.sh install script:
npx skills add AgentPMT/agent-skills --skill what-is-agentpmt
npx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setup
MCP call shape after the main AgentPMT MCP server is connected:
{
"method": "tools/call",
"params": {
"name": "Financial-Loan-Amortization-Calculator",
"arguments": {
"action": "affordability_analysis",
"annual_income": 0,
"annual_rate": 0,
"back_end_ratio": 0.36,
"compounding_per_year": 12,
"down_payment": 0,
"front_end_ratio": 0.28,
"hoa_monthly": 0,
"insurance_monthly": 0
}
}
}
Use the exact tool name returned by tools/list; the name above is the expected readable form.
Authenticated AgentPMT REST call body:
{
"name": "financial-loan-calculator",
"parameters": {
"action": "affordability_analysis",
"annual_income": 0,
"annual_rate": 0,
"back_end_ratio": 0.36,
"compounding_per_year": 12,
"down_payment": 0,
"front_end_ratio": 0.28,
"hoa_monthly": 0,
"insurance_monthly": 0
}
}
Use the setup skill for the account connection details before making REST calls.
Response Handling
- Treat the returned JSON as the source of truth for this tool call.
- If the response includes warnings or correction targets, apply them before retrying.
- If the response includes a
passed or success-style boolean, use it as the workflow gate.
- If validation fails or the response shape is unclear, call
get_schema or get_instructions before retrying.
- If
affordability_analysis fails, preserve the request parameters and retry only after fixing schema, auth, or payment errors.
Security
- Do not place account secrets, wallet private keys, mnemonics, signatures, or payment headers in prompts or logs.
- Keep tool inputs scoped to the minimum content needed for the task.
- Use the setup skills for credential handling; this product skill only defines product-specific behavior.
AgentPMT Reference
1---2name: financial-loan-amortization-calculator3description: "Financial Loan Amortization Calculator: Use this tool for any loan math or mortgage calculation. Use when an agent needs financial loan amortization calculator, financial loan calculator, mortgage payment planning, auto loan payment estimation, amortization schedule download, debt payoff acceleration analysis, affordability analysis, annual income through AgentPMT-hosted remote tool calls. Discovery terms: financial loan amortization calculator, financial loan calculator."4version: 1.0.05homepage: https://www.agentpmt.com/marketplace/financial-loan-calculator6compatibility: "Agent instructions for AgentPMT-hosted remote tool calls. Follow this skill body for supported account, wallet, and setup routes. No local command runtime is declared."7metadata: {"author":"agentpmt","openclaw":{"homepage":"https://www.agentpmt.com/marketplace/financial-loan-calculator"}}8---910# Financial Loan Amortization Calculator1112## Freshness13Last updated: `2026-06-24`.1415If the current date is more than 7 days after the last updated date, reinstall this skill from skills.sh or ClawHub before relying on endpoints, schemas, setup steps, or examples.1617## What This Tool Does18Full-featured financial loan calculator supporting 11 operations: payment calculation, principal estimation, term calculation, simple and compound interest, amortization schedules with CSV export, side-by-side loan comparison, DTI-based affordability analysis, refinance break-even evaluation, payoff acceleration modeling with extra and lump-sum payments, and APR-to-effective-rate conversion. Handles mortgages, auto loans, personal loans, and investment growth scenarios with configurable compounding, payment frequencies, interest-only periods, and balloon terms.1920## Product Instructions21### Financial Loan Calculator - Tool Instructions2223#### Overview24Comprehensive financial loan calculator supporting mortgage, auto, and personal loan calculations. Provides 11 actions covering payment computation, principal calculation, term determination, simple and compound interest, full amortization schedules with CSV export, multi-scenario loan comparison, home affordability analysis, refinance break-even analysis, payoff acceleration modeling, and interest rate conversion. All calculations support configurable payment and compounding frequencies, interest-only periods, balloon payments, and extra payments.2526---2728#### Actions2930##### calculate_payment31Compute the periodic payment for an amortizing loan. Supports interest-only periods and balloon payments.3233**Required Parameters:**34- `action` (string): `"calculate_payment"`35- `principal` (number, >0): Loan principal amount36- `annual_rate` (number, 0-100): Nominal annual interest rate in percent37- `years` (number, >0): Loan term in years3839**Optional Parameters:**40- `payments_per_year` (integer, default: 12, range: 1-365): Payment frequency per year41- `compounding_per_year` (integer, default: 12, range: 1-365): Compounding frequency per year42- `future_value` (number, default: 0): Target future value after final payment43- `balloon_payment` (number, default: 0): Balloon amount due at maturity44- `interest_only_periods` (integer, default: 0): Number of interest-only payment periods at the start4546**Example:**47```json48{49 "action": "calculate_payment",50 "principal": 350000,51 "annual_rate": 6.25,52 "years": 30,53 "payments_per_year": 12,54 "compounding_per_year": 1255}56```5758**Response fields:** `payment_per_period`, `interest_only_payment_per_period`, `periodic_rate_percent`, `total_periods`, `amortizing_periods`5960---6162##### calculate_loan_principal63Calculate the maximum loan principal supported by a given payment amount.6465**Required Parameters:**66- `action` (string): `"calculate_loan_principal"`67- `payment_amount` (number, >0): Periodic payment amount68- `annual_rate` (number, 0-100): Nominal annual interest rate in percent69- `years` (number, >0) or `target_periods` (integer, >=1): Loan term (one or both required)7071**Optional Parameters:**72- `payments_per_year` (integer, default: 12)73- `compounding_per_year` (integer, default: 12)74- `future_value` (number, default: 0)75- `balloon_payment` (number, default: 0)7677**Example:**78```json79{80 "action": "calculate_loan_principal",81 "payment_amount": 2200,82 "annual_rate": 6.1,83 "years": 3084}85```8687**Response fields:** `max_principal`, `periods`, `periodic_rate_percent`8889---9091##### calculate_term92Calculate the number of periods required to pay off a loan given principal, rate, and payment.9394**Required Parameters:**95- `action` (string): `"calculate_term"`96- `principal` (number, >0): Loan principal97- `annual_rate` (number, 0-100): Nominal annual rate in percent98- `payment_amount` (number, >0): Periodic payment amount99100**Optional Parameters:**101- `payments_per_year` (integer, default: 12)102- `compounding_per_year` (integer, default: 12)103104**Example:**105```json106{107 "action": "calculate_term",108 "principal": 42000,109 "annual_rate": 7.9,110 "payment_amount": 850111}112```113114**Response fields:** `required_periods`, `required_years`, `periodic_rate_percent`115116Note: Returns an error if the payment amount is too low to amortize the loan (i.e., less than or equal to the interest-only payment).117118---119120##### simple_interest121Calculate simple (non-compounded) interest totals.122123**Required Parameters:**124- `action` (string): `"simple_interest"`125- `principal` (number, >0): Principal amount126- `annual_rate` (number, 0-100): Annual interest rate in percent127- `years` (number, >0): Duration in years128129**Example:**130```json131{132 "action": "simple_interest",133 "principal": 10000,134 "annual_rate": 5,135 "years": 3136}137```138139**Response fields:** `principal`, `interest`, `total_amount`, `annual_rate_percent`, `years`140141---142143##### compound_interest144Calculate compound interest growth, optionally with periodic contributions.145146**Required Parameters:**147- `action` (string): `"compound_interest"`148- `principal` (number, >0): Initial principal amount149- `annual_rate` (number, 0-100): Annual interest rate in percent150- `years` (number, >0): Investment duration in years151152**Optional Parameters:**153- `compounding_per_year` (integer, default: 12): Compounding frequency154- `periodic_contribution` (number, default: 0): Amount added each contribution period155- `contribution_frequency_per_year` (integer, default: 12, range: 1-365): How often contributions are made156- `contribution_timing` (string, default: `"end"`): `"end"` or `"beginning"` of each period157158**Example:**159```json160{161 "action": "compound_interest",162 "principal": 15000,163 "annual_rate": 7,164 "years": 10,165 "compounding_per_year": 12,166 "periodic_contribution": 300,167 "contribution_frequency_per_year": 12,168 "contribution_timing": "end"169}170```171172**Response fields:** `future_value`, `principal_growth_component`, `contribution_growth_component`, `total_contributions`, `interest_earned`, `effective_annual_rate_percent`, `contribution_rate_percent`173174---175176##### amortization_schedule177Build a full amortization table with support for extra payments and optional CSV file export.178179**Required Parameters:**180- `action` (string): `"amortization_schedule"`181- `principal` (number, >0): Loan principal182- `annual_rate` (number, 0-100): Nominal annual rate in percent183- `years` (number, >0): Loan term in years184185**Optional Parameters:**186- `payments_per_year` (integer, default: 12)187- `compounding_per_year` (integer, default: 12)188- `future_value` (number, default: 0)189- `balloon_payment` (number, default: 0)190- `interest_only_periods` (integer, default: 0)191- `extra_payment` (number, default: 0): Recurring extra principal each period192- `extra_payment_start_period` (integer, default: 1): Period to begin recurring extra payments193- `one_time_extra_payments` (array): List of one-time extra payments, each with `period` (integer, >=1) and `amount` (number, >0)194- `start_date` (string): Schedule start date in `YYYY-MM-DD` format; adds date column to each row195- `return_schedule` (boolean, default: true): Include schedule rows in response196- `max_schedule_rows` (integer, default: 5000, range: 1-50000): Maximum rows to return197- `store_schedule_file` (boolean, default: false): Upload schedule as CSV to cloud storage198- `expiration_days` (integer, default: 7, range: 1-7): Cloud file expiration in days199200**Example:**201```json202{203 "action": "amortization_schedule",204 "principal": 280000,205 "annual_rate": 6.4,206 "years": 30,207 "extra_payment": 200,208 "store_schedule_file": true,209 "expiration_days": 7210}211```212213**Response fields:** `summary` (object with principal, rates, periods, payment, totals, paid_off_early flag), `schedule` (array of period rows with payment/principal/interest/extra_payment/balance/cumulative fields), `schedule_truncated` (boolean). When `store_schedule_file` is true: `schedule_file` with `file_id`, `signed_url`, `expiration_date`, `size_bytes`.214215Each schedule row contains: `period`, `date` (if start_date provided), `payment`, `principal`, `interest`, `extra_payment`, `balance`, `cumulative_interest`, `cumulative_paid`.216217---218219##### compare_loans220Compare multiple loan scenarios side-by-side and rank by a selected metric.221222**Required Parameters:**223- `action` (string): `"compare_loans"`224- `compare_scenarios` (array, minimum 2 items): Each scenario object requires:225 - `name` (string): Scenario label226 - `principal` (number, >0): Loan principal227 - `annual_rate` (number, 0-100): Annual rate in percent228 - `years` (number, >0): Term in years229230**Optional per-scenario fields:** `payments_per_year` (default: 12), `compounding_per_year` (default: 12), `extra_payment` (default: 0), `balloon_payment` (default: 0), `interest_only_periods` (default: 0)231232**Optional Parameters:**233- `comparison_metric` (string, default: `"lowest_total_cost"`): Ranking method. One of: `"lowest_payment"`, `"lowest_interest"`, `"lowest_total_cost"`234235**Example:**236```json237{238 "action": "compare_loans",239 "comparison_metric": "lowest_total_cost",240 "compare_scenarios": [241 {"name": "30Y Fixed", "principal": 320000, "annual_rate": 6.5, "years": 30},242 {"name": "15Y Fixed", "principal": 320000, "annual_rate": 5.8, "years": 15}243 ]244}245```246247**Response fields:** `comparison_metric`, `ranked_scenarios` (array sorted by metric, each with name/principal/annual_rate_percent/years/payment_per_period/total_interest/total_paid/actual_periods), `best_scenario`248249---250251##### affordability_analysis252Estimate affordable monthly payment, maximum loan principal, and maximum home price based on income and debts.253254**Required Parameters:**255- `action` (string): `"affordability_analysis"`256- `annual_income` (number, >0): Gross annual income257- `annual_rate` (number, 0-100): Expected mortgage rate in percent258- `years` (number, >0): Loan term in years259260**Optional Parameters:**261- `monthly_debts` (number, default: 0): Recurring monthly debt obligations262- `monthly_expenses` (number, default: 0): Additional recurring monthly expenses263- `front_end_ratio` (number, default: 0.28, range: 0-1): Maximum housing expense ratio264- `back_end_ratio` (number, default: 0.36, range: 0-1): Maximum total debt ratio265- `property_tax_monthly` (number, default: 0)266- `insurance_monthly` (number, default: 0)267- `hoa_monthly` (number, default: 0)268- `down_payment` (number, default: 0): Down payment amount (added to max principal for max home price)269- `payments_per_year` (integer, default: 12)270- `compounding_per_year` (integer, default: 12)271272**Example:**273```json274{275 "action": "affordability_analysis",276 "annual_income": 145000,277 "monthly_debts": 850,278 "annual_rate": 6.2,279 "years": 30,280 "down_payment": 60000281}282```283284**Response fields:** `monthly_income`, `front_end_limit`, `back_end_limit`, `gross_housing_budget`, `net_housing_budget_for_pi`, `max_loan_principal`, `max_home_price_with_down_payment`, `assumptions`285286Note: Returns an error if deductions (taxes, insurance, HOA, expenses) exceed the available housing budget.287288---289290##### refinance_break_even291Estimate payment savings, break-even period, and net lifetime benefit of refinancing.292293**Required Parameters:**294- `action` (string): `"refinance_break_even"`295- `current_balance` (number, >0): Current remaining loan balance296- `current_rate` (number, 0-100): Current annual rate in percent297- `current_remaining_term_months` (integer, >=1): Remaining months on current loan298- `new_rate` (number, 0-100): New annual rate in percent299- `new_term_months` (integer, >=1): New loan term in months300- `closing_costs` (number, >=0): Refinance closing costs301302**Optional Parameters:**303- `current_payment` (number, >0): Current monthly payment. If omitted, calculated automatically from balance/rate/term.304305**Example:**306```json307{308 "action": "refinance_break_even",309 "current_balance": 295000,310 "current_rate": 7.1,311 "current_remaining_term_months": 312,312 "new_rate": 6.1,313 "new_term_months": 360,314 "closing_costs": 5500315}316```317318**Response fields:** `current_payment`, `new_payment`, `monthly_savings`, `closing_costs`, `break_even_months`, `current_remaining_interest`, `new_total_interest`, `interest_savings`, `lifetime_net_benefit_after_costs`, `recommendation` (`"favorable"` or `"not_favorable"`)319320The recommendation is `"favorable"` when break-even occurs within the remaining term and the lifetime net benefit is positive.321322---323324##### payoff_acceleration325Model interest and term savings from recurring and one-time extra payments by comparing baseline vs accelerated scenarios.326327**Required Parameters:**328- `action` (string): `"payoff_acceleration"`329- `principal` (number, >0): Loan principal330- `annual_rate` (number, 0-100): Nominal annual rate in percent331- `years` (number, >0): Original loan term in years332333**Optional Parameters:**334- `payments_per_year` (integer, default: 12)335- `compounding_per_year` (integer, default: 12)336- `extra_payment` (number, default: 0): Recurring extra principal each period337- `extra_payment_start_period` (integer, default: 1): Period to begin extra payments338- `one_time_extra_payments` (array): One-time extra payments, each with `period` and `amount`339- `future_value` (number, default: 0)340- `balloon_payment` (number, default: 0)341- `interest_only_periods` (integer, default: 0)342- `start_date` (string): Optional start date in `YYYY-MM-DD`343344**Example:**345```json346{347 "action": "payoff_acceleration",348 "principal": 250000,349 "annual_rate": 6.0,350 "years": 30,351 "extra_payment": 300,352 "one_time_extra_payments": [{"period": 24, "amount": 5000}]353}354```355356**Response fields:** `baseline` (summary without extra payments), `accelerated` (summary with extra payments), `periods_saved`, `years_saved`, `interest_saved`357358---359360##### rate_conversion361Convert a nominal annual percentage rate (APR) into effective annual and payment-period rates.362363**Required Parameters:**364- `action` (string): `"rate_conversion"`365- `annual_rate` (number, 0-100): Nominal annual rate in percent366367**Optional Parameters:**368- `compounding_per_year` (integer, default: 12): Compounding frequency369- `payments_per_year` (integer, default: 12): Payment frequency370371**Example:**372```json373{374 "action": "rate_conversion",375 "annual_rate": 8.0,376 "compounding_per_year": 12,377 "payments_per_year": 26378}379```380381**Response fields:** `nominal_annual_rate_percent`, `effective_annual_rate_percent`, `payment_period_rate_percent`, `daily_effective_rate_percent`, `assumptions`382383---384385#### Workflows3863871. **Home Purchase Planning** - Use `affordability_analysis` to determine budget, then `calculate_payment` to see exact payments, then `amortization_schedule` with `store_schedule_file: true` for a downloadable payment plan.3882. **Loan Comparison Shopping** - Use `compare_loans` with multiple scenarios (e.g., 15Y vs 30Y, different rates) ranked by `lowest_total_cost` or `lowest_payment`.3893. **Refinance Decision** - Use `refinance_break_even` to see if refinancing makes sense, check `recommendation` field and `break_even_months`.3904. **Early Payoff Strategy** - Use `payoff_acceleration` to model the impact of extra payments on term and interest savings.3915. **Investment Growth Projection** - Use `compound_interest` with `periodic_contribution` to project savings/investment growth over time.3926. **Rate Analysis** - Use `rate_conversion` to compare APR vs effective rates across different compounding frequencies.393394---395396#### Notes397398- All monetary results are rounded to 2 decimal places. Rate percentages are rounded to 6 decimal places.399- The `interest_only_periods` value must be less than the total number of payment periods.400- When `compounding_per_year` differs from `payments_per_year`, the tool correctly converts the nominal rate to the appropriate periodic rate using the effective rate method.401- Amortization schedules can be very large. Use `max_schedule_rows` to cap output size (default 5000, max 50000). If truncated, `schedule_truncated` is true.402- Set `return_schedule: false` to get only the summary without period-by-period rows.403- CSV file uploads via `store_schedule_file` expire in 1-7 days (configurable via `expiration_days`).404- The `calculate_term` action will error if the payment is too low to amortize the loan (payment <= interest-only amount).405- For `refinance_break_even`, if `current_payment` is not provided, it is automatically calculated from the current balance, rate, and remaining term.406- The `compare_loans` action requires at least 2 scenarios.407- All date fields use `YYYY-MM-DD` format. Invalid formats return a validation error.408409## When To Use410- Use this skill for `Financial Loan Amortization Calculator` on AgentPMT.411- Use it when an agent needs this specific tool's behavior, schema, inputs, outputs, and invocation shape.412- Search and activation keywords: financial loan amortization calculator, financial loan calculator, mortgage payment planning, auto loan payment estimation, amortization schedule download, debt payoff acceleration analysis, affordability analysis, annual income.413- Supported action names: `affordability_analysis`, `amortization_schedule`, `calculate_loan_principal`, `calculate_payment`, `calculate_term`, `compare_loans`, `compound_interest`, `payoff_acceleration`, `rate_conversion`, `refinance_break_even`, `simple_interest`.414415## Use Cases416- Mortgage payment planning417- Auto loan payment estimation418- Amortization schedule download419- Debt payoff acceleration analysis420- Refinance break-even evaluation421- Simple and compound interest projection422- Debt-to-income affordability checks423- Balloon payment scenario modeling424- Interest-only period planning425- Loan comparison analysis426427## Related Product Skills428- File Management: ../file-management (ClawHub: `file-management`, page: https://clawhub.ai/agentpmt/file-management; skills.sh: `npx skills add AgentPMT/agent-skills --skill file-management`)429430## Categories And Industries431No categories or industry tags are published for this tool.432433## Actions And Schema434Complete generated action schema: `./schema.md`.435Supported action count: `11`.436x402 availability: not enabled for this product.437438- `affordability_analysis` (action slug: `affordability-analysis`): Estimate affordable monthly payment, maximum loan principal, and maximum home price based on income, debts, and DTI ratios. Price: `5` credits. Parameters: `annual_income`, `annual_rate`, `back_end_ratio`, `compounding_per_year`, `down_payment`, `front_end_ratio`, `hoa_monthly`, `insurance_monthly`, plus 5 more.439- `amortization_schedule` (action slug: `amortization-schedule`): Build a full amortization table with support for extra payments, one-time lump sums, interest-only periods, balloon payments, and optional CSV file export to cloud storage. Price: `5` credits. Parameters: `annual_rate`, `balloon_payment`, `compounding_per_year`, `expiration_days`, `extra_payment`, `extra_payment_start_period`, `future_value`, `interest_only_periods`, plus 8 more.440- `calculate_loan_principal` (action slug: `calculate-loan-principal`): Calculate the maximum loan principal supported by a given periodic payment amount. Price: `5` credits. Parameters: `annual_rate`, `balloon_payment`, `compounding_per_year`, `future_value`, `payment_amount`, `payments_per_year`, `target_periods`, `years`.441- `calculate_payment` (action slug: `calculate-payment`): Compute the periodic payment for an amortizing loan. Supports interest-only periods, balloon payments, and configurable payment/compounding frequencies. Price: `5` credits. Parameters: `annual_rate`, `balloon_payment`, `compounding_per_year`, `future_value`, `interest_only_periods`, `payments_per_year`, `principal`, `years`.442- `calculate_term` (action slug: `calculate-term`): Calculate the number of periods and years required to pay off a loan given principal, rate, and payment amount. Price: `5` credits. Parameters: `annual_rate`, `compounding_per_year`, `payment_amount`, `payments_per_year`, `principal`.443- `compare_loans` (action slug: `compare-loans`): Compare multiple loan scenarios side-by-side and rank by selected metric (lowest payment, lowest interest, or lowest total cost). Price: `5` credits. Parameters: `compare_scenarios`, `comparison_metric`.444- `compound_interest` (action slug: `compound-interest`): Calculate compound interest growth over time, optionally with periodic contributions. Supports configurable compounding frequency and contribution timing. Price: `5` credits. Parameters: `annual_rate`, `compounding_per_year`, `contribution_frequency_per_year`, `contribution_timing`, `periodic_contribution`, `principal`, `years`.445- `payoff_acceleration` (action slug: `payoff-acceleration`): Model interest and term savings from recurring and one-time extra payments by comparing baseline vs accelerated payoff scenarios. Price: `5` credits. Parameters: `annual_rate`, `balloon_payment`, `compounding_per_year`, `extra_payment`, `extra_payment_start_period`, `future_value`, `interest_only_periods`, `one_time_extra_payments`, plus 4 more.446- `rate_conversion` (action slug: `rate-conversion`): Convert a nominal annual percentage rate (APR) into effective annual, payment-period, and daily effective rates. Price: `5` credits. Parameters: `annual_rate`, `compounding_per_year`, `payments_per_year`.447- `refinance_break_even` (action slug: `refinance-break-even`): Estimate payment savings, break-even period, and net lifetime benefit of refinancing a loan. Price: `5` credits. Parameters: `closing_costs`, `current_balance`, `current_payment`, `current_rate`, `current_remaining_term_months`, `new_rate`, `new_term_months`.448- `simple_interest` (action slug: `simple-interest`): Calculate simple (non-compounded) interest totals for a given principal, rate, and duration. Price: `5` credits. Parameters: `annual_rate`, `principal`, `years`.449450## Live Schema And Examples451Use the compact schema above for ordinary calls. Before a new production integration, or whenever parameters, enum values, nested objects, outputs, or examples are unclear, fetch live details first.452453- Exact schema: call `agentpmt-tool-search-and-execution` with `action: "get_schema"`, and `tool_id: "financial-loan-calculator"`.454- Detailed examples: call `agentpmt-tool-search-and-execution` with `action: "get_instructions"` and `tool_id: "financial-loan-calculator"`, or call this product with `action: "get_instructions"` when the product tool is already selected.455- Treat returned live schema and instructions as more specific than this generated summary.456457MCP schema lookup through the main AgentPMT MCP server:458459```json460{461 "method": "tools/call",462 "params": {463 "name": "AgentPMT-Tool-Search-and-Execution",464 "arguments": {465 "action": "get_schema",466 "tool_id": "financial-loan-calculator"467 }468 }469}470```471472For live examples, keep the same MCP tool and use these arguments:473474```json475{476 "action": "get_instructions",477 "tool_id": "financial-loan-calculator"478}479```480481Authenticated AgentPMT REST schema lookup body:482483```json484{485 "name": "agentpmt-tool-search-and-execution",486 "parameters": {487 "action": "get_schema",488 "tool_id": "financial-loan-calculator"489 }490}491```492493Authenticated AgentPMT REST live examples body:494495```json496{497 "name": "agentpmt-tool-search-and-execution",498 "parameters": {499 "action": "get_instructions",500 "tool_id": "financial-loan-calculator"501 }502}503```504505## Call This Tool506Product slug: `financial-loan-calculator`507508Marketplace page: https://www.agentpmt.com/marketplace/financial-loan-calculator509510- AgentPMT account route: first use `../agentpmt-account-mcp-rest-api-setup` to connect the main MCP server or REST API for an Agent Group where this tool is enabled.511- x402 route: not enabled for this product.512- AgentPMT overview: use `../what-is-agentpmt` for marketplace, Agent Group, workflow, MCP, REST, and payment concepts.513514If those setup skills are not installed beside this product skill, use the downloads below.515516Core AgentPMT setup skills:517- What AgentPMT is: ../what-is-agentpmt518 - ClawHub page: https://clawhub.ai/agentpmt/what-is-agentpmt519 - OpenClaw install: `openclaw skills install what-is-agentpmt`520 - skills.sh install: `npx skills add AgentPMT/agent-skills --skill what-is-agentpmt`521- AgentPMT account MCP/REST setup: ../agentpmt-account-mcp-rest-api-setup522 - ClawHub page: https://clawhub.ai/agentpmt/agentpmt-account-mcp-rest-api-setup523 - OpenClaw install: `openclaw skills install agentpmt-account-mcp-rest-api-setup`524 - skills.sh install: `npx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setup`525526skills.sh install script:527528```bash529npx skills add AgentPMT/agent-skills --skill what-is-agentpmt530npx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setup531```532533MCP call shape after the main AgentPMT MCP server is connected:534535```json536{537 "method": "tools/call",538 "params": {539 "name": "Financial-Loan-Amortization-Calculator",540 "arguments": {541 "action": "affordability_analysis",542 "annual_income": 0,543 "annual_rate": 0,544 "back_end_ratio": 0.36,545 "compounding_per_year": 12,546 "down_payment": 0,547 "front_end_ratio": 0.28,548 "hoa_monthly": 0,549 "insurance_monthly": 0550 }551 }552}553```554555Use the exact tool name returned by `tools/list`; the name above is the expected readable form.556557Authenticated AgentPMT REST call body:558559```json560{561 "name": "financial-loan-calculator",562 "parameters": {563 "action": "affordability_analysis",564 "annual_income": 0,565 "annual_rate": 0,566 "back_end_ratio": 0.36,567 "compounding_per_year": 12,568 "down_payment": 0,569 "front_end_ratio": 0.28,570 "hoa_monthly": 0,571 "insurance_monthly": 0572 }573}574```575576Use the setup skill for the account connection details before making REST calls.577578## Response Handling579- Treat the returned JSON as the source of truth for this tool call.580- If the response includes warnings or correction targets, apply them before retrying.581- If the response includes a `passed` or success-style boolean, use it as the workflow gate.582- If validation fails or the response shape is unclear, call `get_schema` or `get_instructions` before retrying.583- If `affordability_analysis` fails, preserve the request parameters and retry only after fixing schema, auth, or payment errors.584585## Security586- Do not place account secrets, wallet private keys, mnemonics, signatures, or payment headers in prompts or logs.587- Keep tool inputs scoped to the minimum content needed for the task.588- Use the setup skills for credential handling; this product skill only defines product-specific behavior.589590## AgentPMT Reference591- What AgentPMT is: ../what-is-agentpmt (ClawHub: `what-is-agentpmt`, page: https://clawhub.ai/agentpmt/what-is-agentpmt; skills.sh: `npx skills add AgentPMT/agent-skills --skill what-is-agentpmt`)592- AgentPMT account MCP/REST setup: ../agentpmt-account-mcp-rest-api-setup (ClawHub: `agentpmt-account-mcp-rest-api-setup`, page: https://clawhub.ai/agentpmt/agentpmt-account-mcp-rest-api-setup; skills.sh: `npx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setup`)593- Marketplace product: https://www.agentpmt.com/marketplace/financial-loan-calculator594- AgentPMT main MCP server: https://api.agentpmt.com/mcp/595- AgentPMT REST invoke endpoint: https://api.agentpmt.com/products/purchase