---
name: agentgate-production-eb21.up.railway.app
description: This host exposes a single endpoint that computes the future value of a lump-sum investment using annual compound interest. It accepts a principal amount, annual interest rate, and time horizon in years, and returns the computed future value along with the echoed inputs and a timestamp.
host: agentgate-production-eb21.up.railway.app
---

# agentgate-production-eb21.up.railway.app

agentgate-production-eb21.up.railway.app is a minimal financial calculation host serving agents that need a straightforward compound interest future value computation. It is purpose-built for one operation: FV = P(1 + r)^t with annual compounding. It does not offer a broader suite of financial tools.

## When to use this host

Use this host when an agent needs to calculate the future value of a one-time investment under annual compound interest and only requires the final value. Do not use it for amortization or loan repayment schedules, continuously compounded interest (e.g., e^rt), periodic contributions (annuities), or any other financial modeling. For those needs, route to a host with broader financial math capabilities. This host is appropriate only for the specific case of discrete annual compounding on a lump sum.

## Capabilities

### Compound Interest Calculation

Computes the future value of a lump-sum principal under annual compound interest given a fixed rate and time horizon in years.

- **`fetch-compound-interest-future-value`** — Calculates compound interest future value given a principal amount, annual interest rate, and number of years, returning the computed result and echoed inputs.

## Skill reference

### `fetch-compound-interest-future-value`

**Future Value Quote** — Calculates compound interest future value given a principal amount, annual interest rate, and number of years, returning the computed result and echoed inputs.

*Use when:* Use when an agent needs to compute the future value of a lump-sum investment under compound interest, given a starting principal, a fixed annual rate, and a time horizon in years.

*Not for:* Do not use for amortization schedules, loan repayment calculations, or continuously compounded interest — this endpoint applies annual compounding only.

**Inputs:**

- `principal` (number) — Starting amount in dollars. Defaults to 1000.
- `rate` (number) — Annual interest rate as a decimal (e.g. 0.05 for 5%). Defaults to 0.05.
- `years` (number) — Number of years over which to compound. Defaults to 10.

**Returns:** Returns the echoed principal, rate, and years alongside the computed future_value (e.g. 1628.89) and a Unix timestamp ts.

**Example:** `GET https://agentgate-production-eb21.up.railway.app/quote?principal=1000&rate=0.05&years=10`

---
