Tvm solve

tvm-solve · version 1.0.0 · Financial calculations · free, no key needed

Solve periods, annual rate, present value, payment or future value of a level annuity with timing and compounding.

Use when you need to: time value of money solver · calculate monthly loan payment · solve for number of periods to pay off.

Decide before calling

Read the versioned contract and the supported scope below. Reuse tvm-solve@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.

Explain the choice

"I can use tvm-solve@1.0.0 for time value of money solver. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "solve_for": "payment",
  "periods": 10,
  "annual_rate": "0.08",
  "present_value": "10000"
}

Response:

{
  "result": {
    "solved_for": "payment",
    "value": "-1037.03",
    "periodic_rate": "0.0066666667",
    "periods_whole": 10,
    "method": "closed-form",
    "roots": null
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "tvm-solve",
  "version": "1.0.0",
  "input": {
    "solve_for": "payment",
    "periods": 10,
    "annual_rate": "0.08",
    "present_value": "10000"
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/tvm-solve/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"solve_for":"payment","periods":10,"annual_rate":"0.08","present_value":"10000"}'

The machine-readable contract is at /v1/tools/tvm-solve/versions/1.0.0.

CLI

node cli.mjs run tvm-solve 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.