Skip to main content
Glama

Loan / mortgage payments and schedule

loan_calculator
Read-only

Loan / mortgage payments and schedule. Calculate loan or mortgage. Monthly payment, total interest and full amortization schedule for loans and mortgages. Down payment, extra payments, weekly/biweekly/monthly frequency and yearly summaries.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rateYesAnnual interest rate in % (e.g. 4.5) (e.g. 4.5)
priceNoProperty price (mortgages)
yearsNoTerm in years (or months) (e.g. 30)
amountNoLoan amount (or use price + down_payment) (e.g. 200000)
monthsNoTerm in months (instead of years)
scheduleNosummary (default), yearly or full (e.g. yearly)
frequencyNomonthly (default), biweekly, weekly, quarterly or annually (e.g. monthly)
down_paymentNoDown payment (with price)
extra_paymentNoExtra principal paid every period (e.g. 0)
monthly_costsNoOptional monthly insurance/taxes added to the payment

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description usefully adds the output shape (payment, interest, full schedule) and supported options (down payment, extra payments, frequencies), but says nothing about error conditions or input constraints.

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?

The four sentences are front-loaded with the core purpose, but 'Loan / mortgage payments and schedule,' 'Calculate loan or mortgage,' and 'for loans and mortgages' restate the same subject three times, making the opening redundant rather than tight.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 10-parameter calculator with no output schema, the description conveys the main results and several input options, which is adequate. Still, it does not explain the schedule/return structure or how the many term/amount parameters interact, leaving room for ambiguity.

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 coverage is 100%, so the schema already documents all 10 parameters with examples. The description references some of them (down payment, extra payments, frequency, yearly summaries) but adds no syntax or constraint detail beyond the schema, so baseline 3 applies.

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 clear verb ('Calculate') and resource ('loan or mortgage') and enumerates the concrete outputs (monthly payment, total interest, amortization schedule). It is easily distinguishable from the diverse set of sibling utility tools, though it does not name any sibling explicitly.

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?

There is no guidance on when to use this tool versus alternatives, no prerequisites, and no exclusions. Since the tool is single-purpose this is less damaging, but the description gives no usage context beyond what it computes.

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.