Skip to main content
Glama

x420_finance_amortization

Read-onlyIdempotent

Loan amortization schedule: Monthly payment, total interest and the full per-period schedule (interest, principal, balance; up to 480 rows, dated when a start date is given) for a fully-amortizing loan. Arithmetic only. Source: computation. Not professional, legal, insurance, engineering, medical, financial or tax advice. Price: $0.002 USDC per call (x402 on Base). This hosted tool does NOT pay and does NOT return the deliverable: it validates the input and returns payment instructions (pay_to, network, price and the x402 URL to pay at). GET the url; read PAYMENT-REQUIRED from the 402; retry with PAYMENT-SIGNATURE (x402 v2). Or run the local x420-mcp server with your own wallet key to pay automatically. Deliverable once paid: JSON: monthly_payment, total_interest, schedule[]{period, date, payment, interest, principal, balance}.

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>",
      "annual_rate_pct": "<annual_rate_pct>",
      "months": "<months>"
    },
    "name": "x420_finance_amortization"
  }
}

Input Schema

NameRequiredDescriptionDefault
startNofirst payment date YYYY-MM-DD (optional)
monthsYesterm in months, 1-600
scheduleNotrue (default) or false to omit the rows
principalYesloan amount, e.g. 250000
annual_rate_pctYesannual interest rate in percent, e.g. 6.5

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, but the description adds far more than they do: it discloses the $0.002 USDC per-call price on Base, that the call is unpaid and returns no deliverable, the exact 402/payment-signature handshake, and the row cap of 480. An agent knows precisely what a successful call yields and what obstacles to expect before invoking.

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?

Front-loaded with purpose and deliverable, then payment mechanics, then the disclaimer. Dense and mostly earning its space, though the payment-flow sentence packs several steps into a single line and the disclaimer could be shorter for the value it adds.

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

Completeness5/5

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

There is no output schema, yet the description fully specifies the returned JSON fields, the row limit, and the conditional dating behavior, plus the entire payment prerequisite. For a paid, stateless computation tool this covers everything an agent needs to call it and interpret results.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning: the schedule has up to 480 rows and rows are dated only when a start date is supplied, which clarifies the interaction between the optional 'start' and 'schedule' parameters. It also names the exact response field names so parameter intent maps to output structure.

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 first sentence names a specific artifact (loan amortization schedule for a fully-amortizing loan) and enumerates exactly what it returns: monthly payment, total interest, and a per-period interest/principal/balance schedule. 'Arithmetic only' plus the source note further pins down the scope so an agent can distinguish it from any other finance or chain tool without opening the schema.

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?

It gives clear operative guidance on how to use the tool (hosted call validates input and returns payment instructions; GET the url, read PAYMENT-REQUIRED from the 402, retry with PAYMENT-SIGNATURE, or run the local x420-mcp server with a wallet key). What is missing is when-not-to-use guidance or delegation to any alternative for the same computation, so the routing side is slightly under-specified.

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