_ registry / mcp streamable-http · checked 31m ago

curatedapi

https://mcp.curatedapi.com

Registry code: f87142b2e32f719c

api record

Exact calculators: finance (loans, mortgages, interest, NPV, IRR, ROI, regulated APR for US Regulation Z and EU/UK APRC), billing (tiered pricing, proration, stacked discounts), money (ISO 4217 currency and cash rounding, splitting without losing a cent), late-payment interest (UK, EU, Germany, India MSME, US Prompt Payment), Excel-compatible functions (PMT, XIRR, YEARFRAC and more), lease accounting (IFRS 16, ASC 842) and depreciation (MACRS, India), dates, units, math and everyday tools. Results are computed with exact or certified arithmetic and rounded once, as documented per tool. Pass…

endpoint
https://mcp.curatedapi.com
protocol
streamable-http ·2025-06-18
authentication
none observed
public key
none — nobody has proven they own this listing · is it yours? claim it
karma
0 · newcomer
_ is it live, free and safe measured by this hub
Is curatedapi live?
Yes — it answered the hub's last check (checked 31m ago). It answered 100% of checks over the last 30 days.
Is curatedapi free to use?
Not anonymously — it asks for a key or a login before it will serve. Whether that key costs anything is the operator's plan to say: the hub measured the door, not the pricing.
What tools does curatedapi have?
103 tools: calc_excel_mirr, calc_money_allocate, calc_excel_xnpv, calc_finance_mortgage, calc_finance_yield_to_call, calc_health_bmi, calc_math_expression, calc_payments_late_interest_eu, ….
Is curatedapi safe to connect?
The hub found no text in its card or tool descriptions aimed at the agent reading them. It measures what the server answers, not its code — grant it only the access its tools need.
reachable
live
uptime, 30 days
100%

90 days 100%· all time 100%

latency
255ms

last good check

priced tools
0

of 103 tools

_ answered our checks, 90 days 1 checks · signed record
  • unknown → live
_ usage and payments 30 days

Calls placed through this hub's router, from its own receipts. Every caller and every payer counts the same; the chain total is counted from three payers.

accounts
0

through this hub

calls served
0

successful

paid through this hub
0 USDC

what callers paid

_ what it can do 103 tools
103 auth-required 103 of 103 classified

Price is per tool, not per server. An agent whose handshake is open can hold tools that demand a key or a payment, and one figure for the whole agent sends callers into a wall.

  • calc_excel_mirr auth-required never probed

    The modified IRR of periodic cash flows with separate finance and reinvestment rates, as Excel's MIRR. MIRR(values, finance_rate, reinvest_rate): negative flows are discounted at finance_rate, positive flows compounded at reinvest_rate, and the rate linking the two over n − 1 periods is returned.

    mcp-tool

    {
      "type": "object",
      "required": [
        "values",
        "finance_rate",
        "reinvest_rate"
      ],
      "properties": {
        "values": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$"
          },
          "examples": [
            [
              "-120000",
              "39000",
              "30000",
              "21000",
              "37000",
              "46000"
            ]
          ],
          "maxItems": 1000,
          "minItems": 2,
          "description": "Periodic cash flows, the first at the start. 2 to 1000 items. Each item: >= -1000000000000000 and <= 1000000000000000."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        },
        "finance_rate": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "0.1"
          ],
          "description": "Rate paid on money borrowed (negative flows). A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > -1 and <= 100."
        },
        "reinvest_rate": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "0.12"
          ],
          "description": "Rate earned on money reinvested (positive flows). A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > -1 and <= 100."
        }
      },
      "additionalProperties": false
    }
    arguments 79 lines
  • calc_money_allocate auth-required never probed

    Split an amount by ratios or into equal parts so the shares are whole cents and add up exactly to the amount. Splits an amount of money between several parts, by ratios (70/30, 1:2:3, percentages) or into equal parts, so that every share is a whole number of the currency's minor unit and the shares add up to the amount exactly: no cent is lost or invented. Rounding each share on its own does not work: 10.00 split three ways rounds to 3.33 three times, which is 9.99. Here each part first gets its exact share rounded down, and the few cents left over are handed out one at a time. Use it for splitting bills, revenue shares, commission, refunds across order lines, or a discount across invoice lines. The currency sets the minor unit: cents for USD and EUR, whole yen for JPY, fils (0.001) for KWD.

    mcp-tool

    {
      "type": "object",
      "required": [
        "amount",
        "currency"
      ],
      "properties": {
        "parts": {
          "type": "integer",
          "maximum": 1000,
          "minimum": 1,
          "examples": [
            3
          ],
          "description": "Number of equal parts (instead of ratios). Allowed: >= 1 and <= 1000."
        },
        "amount": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "100"
          ],
          "description": "The amount to split. A negative amount (a refund) is split the same way and every share is negative. Allowed: >= -1000000000000000 and <= 1000000000000000. Unit: currency."
        },
        "method": {
          "enum": [
            "largest_remainder",
            "in_order"
          ],
          "type": "string",
          "default": "largest_remainder",
          "description": "Who gets the minor units left over after every share is rounded down. Options: largest_remainder: the leftover minor units go to the parts whose exact shares were cut the most, earlier parts first on a tie (Hamilton's method); in_order: the leftover minor units go to the first parts, one each, skipping parts with a ratio of 0 (the rule of Dinero.js and Martin Fowler's Money pattern)"
        },
        "ratios": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$"
          },
          "examples": [
            [
              "70",
              "20",
              "10"
            ]
          ],
          "maxItems": 1000,
          "minItems": 1,
          "description": "The parts' ratios, in order. Only their proportions matter: [70, 30], [7, 3] and [0.7, 0.3] split the same way. A ratio of 0 gets nothing. Give ratios or parts. 1 to 1000 items. Each item: >= 0 and <= 1000000000000000."
        },
        "currency": {
          "type": "string",
          "examples": [
            "USD"
          ],
          "maxLength": 3,
          "description": "ISO 4217 code of the currency, such as USD, EUR, JPY or KWD. It sets the number of decimals (the minor unit): 2 for most currencies, 0 for JPY, 3 for KWD. At most 3 characters."
        },
        "rounding": {
          "enum": [
            "half_up",
            "half_even",
            "half_down",
            "up",
            "down",
            "ceiling",
            "floor"
          ],
          "type": "string",
          "default": "half_up",
          "description": "How to round the amount to the currency's minor unit first, if it has more decimals (a warning says so). Options: half_up: to nearest, ties away from zero (2.5 → 3, -2.5 → -3); half_even: to nearest, ties to even (2.5 → 2, 3.5 → 4): banker's rounding; half_down: to nearest, ties towards zero (2.5 → 2); up: away from zero (2.1 → 3, -2.1 → -3); down: towards zero, i.e. truncate (2.9 → 2); ceiling: towards +∞ (2.1 → 3, -2.1 → -2); floor: towards −∞ (2.9 → 2, -2.1 → -3)"
        }
      },
      "additionalProperties": false
    }
    arguments 75 lines
  • calc_excel_xnpv auth-required never probed

    Net present value of cash flows on any dates, the same as Excel's XNPV. XNPV(rate, values, dates) = Σ valueᵢ / (1 + rate)^((dateᵢ − date₁)/365). Each flow is discounted by its days from the first date over a 365-day year, as in Excel.

    mcp-tool

    {
      "type": "object",
      "required": [
        "rate",
        "values",
        "dates"
      ],
      "properties": {
        "rate": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "0.09"
          ],
          "description": "Annual discount rate as a decimal. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > -1 and <= 1000."
        },
        "dates": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "date"
          },
          "examples": [
            [
              "2008-01-01",
              "2008-03-01",
              "2008-10-30",
              "2009-02-15",
              "2009-04-01"
            ]
          ],
          "maxItems": 1000,
          "minItems": 2,
          "description": "The date of each cash flow, in the same order. The first date is the start: no date may be before it. 2 to 1000 items."
        },
        "values": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$"
          },
          "examples": [
            [
              "-10000",
              "2750",
              "4250",
              "3250",
              "2750"
            ]
          ],
          "maxItems": 1000,
          "minItems": 2,
          "description": "The cash flows. Money paid out is negative, money received positive. 2 to 1000 items. Each item: >= -1000000000000000 and <= 1000000000000000."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    }
    arguments 89 lines
  • calc_finance_mortgage auth-required never probed

    Monthly mortgage payment including property tax, insurance, HOA dues and PMI, with an exact amortization schedule. Splits the monthly housing payment into principal and interest, property tax, home insurance, HOA dues and private mortgage insurance (PMI). Principal and interest use the same exact, lender-style schedule as the loan EMI calculator. PMI applies when the loan is more than 80% of the price and stops once the scheduled balance reaches 78% of the original price, the automatic termination point in the US Homeowners Protection Act.

    mcp-tool

    {
      "type": "object",
      "required": [
        "home_price",
        "annual_rate_percent",
        "term_years"
      ],
      "properties": {
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=2).",
          "additionalProperties": false
        },
        "home_price": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "400000"
          ],
          "description": "Purchase price of the home. Allowed: > 0 and <= 1000000000000000. Unit: currency."
        },
        "term_years": {
          "type": "integer",
          "maximum": 50,
          "minimum": 1,
          "examples": [
            30
          ],
          "description": "Length of the mortgage in years. Allowed: >= 1 and <= 50."
        },
        "monthly_hoa": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Homeowners association dues per month. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "down_payment": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "80000"
          ],
          "description": "Down payment as an amount. Give this or down_payment_percent. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "include_schedule": {
          "type": "boolean",
          "default": false,
          "description": "Also return the month-by-month schedule."
        },
        "annual_property_tax": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Property tax per year. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "annual_rate_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "6.5"
          ],
          "description": "Nominal annual interest rate in percent. Allowed: >= 0 and <= 100. Unit: percent."
        },
        "down_payment_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Down payment as a percent of the price. Give this or down_payment. Allowed: >= 0 and <= 100. Unit: percent."
        },
        "annual_home_insurance": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Home insurance premium per year. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "pmi_annual_rate_percent": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "PMI premium per year as a percent of the original loan amount (often 0.3 to 1.5). Only applied when the loan is above 80% of the price. Allowed: >= 0 and <= 10. Unit: percent."
        }
      },
      "additionalProperties": false
    }
    arguments 104 lines
  • calc_finance_yield_to_call auth-required never probed

    The yield of a callable bond if the issuer redeems it on the call date at the call price, found as a proven root of the price equation. A callable bond can be repaid early at a set price. Yield to call is the yield the buyer earns if that happens: the rate at which the coupons up to the call date and the call price are worth today's price. It is the same equation as yield to maturity (Excel's YIELD) with the call date in place of maturity and the call price in place of the redemption value. Compare it with the yield to maturity; the lower of the two is the yield to worst.

    mcp-tool

    {
      "type": "object",
      "required": [
        "settlement",
        "call_date",
        "coupon_rate_percent",
        "price",
        "call_price"
      ],
      "properties": {
        "price": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "104"
          ],
          "description": "Clean price paid per 100 of face value. Allowed: > 0 and <= 1000000."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=6).",
          "additionalProperties": false
        },
        "call_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "2031-03-15"
          ],
          "description": "The date the bond can be called."
        },
        "day_count": {
          "enum": [
            "30/360",
            "actual/actual",
            "actual/360",
            "actual/365",
            "30e/360"
          ],
          "type": "string",
          "default": "30/360",
          "description": "How days are counted for accrued interest. Options: 30/360: US (NASD) 30/360; actual/actual: actual days over the actual length of the coupon period; actual/360: actual days over a 360-day year; actual/365: actual days over a 365-day year; 30e/360: European 30/360"
        },
        "frequency": {
          "type": "integer",
          "default": 2,
          "maximum": 4,
          "minimum": 1,
          "description": "Coupons per year: 1, 2 or 4. Allowed: >= 1 and <= 4."
        },
        "call_price": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "102"
          ],
          "description": "Amount paid per 100 of face value if the bond is called. Allowed: > 0 and <= 1000000."
        },
        "settlement": {
          "type": "string",
          "format": "date",
          "examples": [
            "2026-03-15"
          ],
          "description": "Settlement date (when the buyer gets the bond)."
        },
        "coupon_rate_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "5"
          ],
          "description": "Annual coupon rate in percent of face value. Allowed: >= 0 and <= 1000. Unit: percent."
        }
      },
      "additionalProperties": false
    }
    arguments 104 lines
  • calc_health_bmi auth-required never probed

    Body mass index for adults from weight and height in metric or imperial units, with the WHO/CDC weight category and the healthy weight range for that height. Computes BMI = weight (kg) ÷ height (m)² from exact unit definitions, so imperial inputs need no 703 approximation. The category is decided on the exact BMI, so a BMI of 24.96 is 'Healthy weight' even though it displays as 25.0; the response warns when rounding crosses a band boundary like that.

    mcp-tool

    {
      "type": "object",
      "required": [
        "weight",
        "height"
      ],
      "properties": {
        "height": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "175"
          ],
          "description": "Height in height_unit. Allowed: > 0 and <= 300."
        },
        "weight": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "70"
          ],
          "description": "Body weight in weight_unit. Allowed: > 0 and <= 2000."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=1).",
          "additionalProperties": false
        },
        "height_unit": {
          "enum": [
            "cm",
            "m",
            "in",
            "ft"
          ],
          "type": "string",
          "default": "cm",
          "description": "Unit of height. Options: cm: centimetres; m: metres; in: inches (2.54 cm); ft: feet (12 in); add the rest with height_inches"
        },
        "weight_unit": {
          "enum": [
            "kg",
            "lb",
            "st"
          ],
          "type": "string",
          "default": "kg",
          "description": "Unit of weight. Options: kg: kilograms; lb: pounds (0.45359237 kg); st: stone (14 lb)"
        },
        "height_inches": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Extra inches when height_unit is ft (5 ft 10 in is height 5, height_inches 10). Allowed: >= 0 and < 12."
        }
      },
      "additionalProperties": false
    }
    arguments 84 lines
  • calc_math_expression auth-required never probed

    Evaluate an arithmetic expression exactly, with functions like sqrt, ln, sin and factorial. Evaluates expressions such as (1/3 + 1/6) * 2^10 or sqrt(2) * sin(45) with no floating-point error: rational arithmetic is exact, and irrational results (roots, logarithms, trig) are computed with certified interval arithmetic and rounded correctly. The interpretation output shows how the expression was read, with every implied parenthesis written out.

    mcp-tool

    {
      "type": "object",
      "required": [
        "expression"
      ],
      "properties": {
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=20).",
          "additionalProperties": false
        },
        "angle_unit": {
          "enum": [
            "radians",
            "degrees"
          ],
          "type": "string",
          "default": "radians",
          "description": "Unit for trig function inputs and inverse-trig outputs. Options: radians: radians; degrees: degrees"
        },
        "expression": {
          "type": "string",
          "examples": [
            "(1/3 + 1/6) * 2^10"
          ],
          "maxLength": 1000,
          "description": "The expression. Operators: + - * / ^ (or **) and ! (factorial); constants pi and e; functions: abs, acos, asin, atan, cbrt, ceil, cos, cosh, exp, factorial, floor, ln, log, log10, log2, max, min, mod, root, sin, sinh, sqrt, tan, tanh. At most 1000 characters."
        }
      },
      "additionalProperties": false
    }
    arguments 58 lines
  • calc_payments_late_interest_eu auth-required never probed

    Statutory interest on a late business invoice under the EU Late Payment Directive: the ECB rate plus at least 8 points, set each half-year, plus €40. Simple interest at the ECB main refinancing rate plus a margin (at least 8 percentage points). The ECB rate in force on 1 January applies to days from January to June and the rate on 1 July to days from July to December, so a long delay is split into half-years. Also returns the €40 minimum compensation.

    mcp-tool

    {
      "type": "object",
      "required": [
        "amount",
        "due_date",
        "payment_date"
      ],
      "properties": {
        "amount": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "10000"
          ],
          "description": "The unpaid amount (the invoice or debt). Allowed: > 0 and <= 1000000000000000. Unit: currency."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=2).",
          "additionalProperties": false
        },
        "due_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "2026-03-31"
          ],
          "description": "The last day the payment was due (interest starts the day after)."
        },
        "day_count": {
          "enum": [
            "actual_365",
            "actual_actual",
            "actual_360"
          ],
          "type": "string",
          "default": "actual_365",
          "description": "How a day's share of the year is counted. Options: actual_365: each day is 1/365 of a year, leap years included (the usual practice); actual_actual: each day is 1/365 of a year, or 1/366 in a leap year; actual_360: each day is 1/360 of a year"
        },
        "payment_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "2026-06-29"
          ],
          "description": "The day the payment was or will be made (counted as a day of interest)."
        },
        "margin_percent": {
          "type": "string",
          "default": "8",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Points added to the ECB rate: 8 in the directive; some countries add more (Germany 9). Allowed: >= 8 and <= 50. Unit: percent."
        },
        "reference_rate_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Use this ECB rate (in percent) for every day instead of the published one, for example for a date not yet covered. Allowed: >= -5 and <= 100. Unit: percent."
        }
      },
      "additionalProperties": false
    }
    arguments 82 lines
  • calc_excel_effect auth-required never probed

    The effective annual rate from a nominal rate and compounding periods, as Excel's EFFECT. EFFECT(nominal_rate, npery) = (1 + nominal_rate/npery)^npery − 1.

    mcp-tool

    {
      "type": "object",
      "required": [
        "nominal_rate",
        "npery"
      ],
      "properties": {
        "npery": {
          "type": "integer",
          "maximum": 100000,
          "minimum": 1,
          "examples": [
            4
          ],
          "description": "Compounding periods per year (whole number). Allowed: >= 1 and <= 100000."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        },
        "nominal_rate": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "0.0525"
          ],
          "description": "Nominal annual rate as a decimal. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 1000."
        }
      },
      "additionalProperties": false
    }
    arguments 59 lines
  • calc_math_rounding auth-required never probed

    Round a number to decimal places, significant digits or a multiple, with any of seven rounding rules. Rounds exactly (no binary floating point), so 2.675 to two places with half-up gives 2.68, not the 2.67 many programs print. Choose the rule explicitly: half-up, banker's rounding (half-even), half-down, up, down (truncate), ceiling or floor.

    mcp-tool

    {
      "type": "object",
      "required": [
        "value"
      ],
      "properties": {
        "mode": {
          "enum": [
            "half_up",
            "half_even",
            "half_down",
            "up",
            "down",
            "ceiling",
            "floor"
          ],
          "type": "string",
          "default": "half_up",
          "description": "Rounding rule. Options: half_up: to nearest, ties away from zero (2.5 → 3, -2.5 → -3); half_even: to nearest, ties to even (2.5 → 2, 3.5 → 4): banker's rounding; half_down: to nearest, ties towards zero (2.5 → 2); up: away from zero (2.1 → 3, -2.1 → -3); down: towards zero, i.e. truncate (2.9 → 2); ceiling: towards +∞ (2.1 → 3, -2.1 → -2); floor: towards −∞ (2.9 → 2, -2.1 → -3)"
        },
        "value": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "2.675"
          ],
          "description": "The number to round."
        },
        "method": {
          "enum": [
            "decimals",
            "significant",
            "multiple"
          ],
          "type": "string",
          "default": "decimals",
          "description": "What to round to. Options: decimals: to a number of decimal places (negative rounds to tens, hundreds, ...); significant: to a number of significant digits; multiple: to the nearest multiple of a step, e.g. 0.05 for cash rounding"
        },
        "places": {
          "type": "integer",
          "maximum": 60,
          "minimum": -20,
          "examples": [
            2
          ],
          "description": "Decimal places (method decimals) or significant digits (method significant). Allowed: >= -20 and <= 60."
        },
        "multiple": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Step to round to (method multiple), e.g. 0.05. Allowed: > 0."
        }
      },
      "additionalProperties": false
    }
    arguments 55 lines
  • calc_math_scientific auth-required never probed

    Roots, powers, logarithms, exponentials, trig and hyperbolic functions, and factorials, correctly rounded to up to 50 significant digits. Each function is evaluated with certified interval arithmetic and rounded correctly, so every returned digit is right. Exact cases stay exact: sqrt(2.25) is 1.5, log10(1000) is 3, sin(30°) is 0.5 and the cube root of -8 is -2.

    mcp-tool

    {
      "type": "object",
      "required": [
        "function",
        "x"
      ],
      "properties": {
        "x": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "2"
          ],
          "description": "The argument."
        },
        "y": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Second argument for power, nth_root and log_base."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=20).",
          "additionalProperties": false
        },
        "function": {
          "enum": [
            "sqrt",
            "cbrt",
            "nth_root",
            "power",
            "reciprocal",
            "exp",
            "ln",
            "log10",
            "log2",
            "log_base",
            "sin",
            "cos",
            "tan",
            "asin",
            "acos",
            "atan",
            "sinh",
            "cosh",
            "tanh",
            "factorial"
          ],
          "type": "string",
          "examples": [
            "sqrt"
          ],
          "description": "Function to apply. Options: sqrt: √x; cbrt: ∛x (real cube root); nth_root: the real y-th root of x (y a whole number from 2 to 1000); power: x^y; reciprocal: 1/x; exp: e^x; ln: natural logarithm of x; log10: base-10 logarithm of x; log2: base-2 logarithm of x; log_base: logarithm of x to base y; sin: sine of x; cos: cosine of x; tan: tangent of x; asin: inverse sine of x; acos: inverse cosine of x; atan: inverse tangent of x; sinh: hyperbolic sine of x; cosh: hyperbolic cosine of x; tanh: hyperbolic tangent of x; factorial: x! (x a whole number from 0 to 1000)"
        },
        "angle_unit": {
          "enum": [
            "radians",
            "degrees"
          ],
          "type": "string",
          "default": "radians",
          "description": "Unit for trig inputs and inverse-trig outputs. Options: radians: radians; degrees: degrees"
        }
      },
      "additionalProperties": false
    }
    arguments 93 lines
  • calc_math_statistics auth-required never probed

    Mean, median, mode, range, variance and standard deviation (population and sample) of a list of numbers. Computes descriptive statistics exactly. Sums, means and variances are exact fractions; standard deviations are square roots computed with certified arithmetic, so even long lists of decimals give correctly rounded results with no accumulated floating-point error.

    mcp-tool

    {
      "type": "object",
      "required": [
        "values"
      ],
      "properties": {
        "values": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$"
          },
          "examples": [
            [
              "2",
              "4",
              "4",
              "4",
              "5",
              "5",
              "7",
              "9"
            ]
          ],
          "maxItems": 10000,
          "minItems": 1,
          "description": "The data, as a list of numbers. 1 to 10000 items."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    }
    arguments 63 lines
  • calc_money_round auth-required never probed

    Round an amount to its currency's minor unit (ISO 4217: 2 decimals for EUR, 0 for JPY, 3 for KWD) and to a country's cash rounding rule, such as 0.05 in Canada. Rounds an amount of money the way the currency and the country require. First it rounds to the currency's minor unit from ISO 4217, the international list of currency codes: cents for USD and EUR, whole yen for JPY, three decimals for the Kuwaiti dinar. Then, if you give a country, it applies that country's rule for rounding cash totals in countries that have withdrawn their smallest coins, such as 0.05 in Canada, Australia and several euro countries, 0.10 in Israel, a whole krona in Sweden or 10 pesos in Chile. There are 23 countries, and every rule follows the country's law, central bank or government guidance, cited in the references, including the special cases: Finland and Estonia never round a total of 0.01 or 0.02 to zero, Slovakia rounds it up to 0.05, and Chile rounds 5 pesos down. You can also give your own cash step.

    mcp-tool

    {
      "type": "object",
      "required": [
        "amount",
        "currency"
      ],
      "properties": {
        "amount": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "23.37"
          ],
          "description": "The amount to round. Allowed: >= -1000000000000000 and <= 1000000000000000. Unit: currency."
        },
        "cash_tie": {
          "enum": [
            "up",
            "down"
          ],
          "type": "string",
          "description": "Which way a cash total exactly halfway between two steps goes. The default is the country's rule; when the rule does not say (or with cash_step), up is used and a CASH_TIE_ASSUMED warning says so. Options: up: a total exactly halfway between two steps rounds away from zero; down: a total exactly halfway between two steps rounds towards zero"
        },
        "currency": {
          "type": "string",
          "examples": [
            "EUR"
          ],
          "maxLength": 3,
          "description": "ISO 4217 code of the currency, such as USD, EUR, JPY or KWD. It sets the number of decimals (the minor unit): 2 for most currencies, 0 for JPY, 3 for KWD. At most 3 characters."
        },
        "rounding": {
          "enum": [
            "half_up",
            "half_even",
            "half_down",
            "up",
            "down",
            "ceiling",
            "floor"
          ],
          "type": "string",
          "default": "half_up",
          "description": "How to round to the currency's minor unit. half_up is the usual commercial rule (and the rule for euro conversions). Options: half_up: to nearest, ties away from zero (2.5 → 3, -2.5 → -3); half_even: to nearest, ties to even (2.5 → 2, 3.5 → 4): banker's rounding; half_down: to nearest, ties towards zero (2.5 → 2); up: away from zero (2.1 → 3, -2.1 → -3); down: towards zero, i.e. truncate (2.9 → 2); ceiling: towards +∞ (2.1 → 3, -2.1 → -2); floor: towards −∞ (2.9 → 2, -2.1 → -3)"
        },
        "cash_step": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Optional cash step of your own, such as 0.05 or 0.10, instead of cash_country. It must be a whole number of minor units. Allowed: > 0 and <= 1000000."
        },
        "cash_country": {
          "type": "string",
          "examples": [
            "NL"
          ],
          "maxLength": 2,
          "description": "Optional ISO 3166 two-letter country code, to also round the total for a cash payment by that country's rule. The currency must be the country's. Countries: AU (AUD), BE (EUR), BS (BSD), CA (CAD), CH (CHF), CL (CLP), CZ (CZK), DK (DKK), EE (EUR), FI (EUR), HU (HUF), IE (EUR), IL (ILS), IT (EUR), JM (JMD), LT (EUR), MY (MYR), NL (EUR), NO (NOK), NZ (NZD), SE (SEK), SK (EUR), TT (TTD). At most 2 characters."
        }
      },
      "additionalProperties": false
    }
    arguments 61 lines
  • calc_finance_implied_volatility auth-required never probed

    The volatility at which the Black-Scholes-Merton formula gives an option's market price, pinned between proven bounds. Turns an option's price back into the volatility that explains it. The Black-Scholes price rises with volatility, so a price inside the option's possible range matches exactly one volatility. It is found here by closing in on it and then proving that the price is too low just below and too high just above, so the digits returned are correct. A price outside the possible range is refused with the reason.

    mcp-tool

    {
      "type": "object",
      "required": [
        "option_price",
        "spot",
        "strike",
        "time_to_expiry_years",
        "risk_free_rate_percent",
        "option_type"
      ],
      "properties": {
        "spot": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "42"
          ],
          "description": "The underlying's price now. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 1000000000000000."
        },
        "strike": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "40"
          ],
          "description": "The option's strike price. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 1000000000000000."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=6).",
          "additionalProperties": false
        },
        "option_type": {
          "enum": [
            "call",
            "put"
          ],
          "type": "string",
          "description": "Call or put. Options: call: the right to buy; put: the right to sell"
        },
        "option_price": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "4.759422"
          ],
          "description": "The option's market price. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 1000000000000000."
        },
        "time_to_expiry_years": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "0.5"
          ],
          "description": "Time to expiry in years. Write days as a ratio, such as \"30/365\". A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 100."
        },
        "dividend_yield_percent": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Dividend yield per year in percent, continuously compounded. Allowed: >= -50 and <= 100. Unit: percent."
        },
        "risk_free_rate_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "10"
          ],
          "description": "Risk-free interest rate per year in percent, continuously compounded. Allowed: >= -50 and <= 100. Unit: percent."
        }
      },
      "additionalProperties": false
    }
    arguments 100 lines
  • calc_finance_irr auth-required never probed

    Internal rate of return of periodic cash flows, with every IRR reported when there is more than one. Finds the discount rate at which the net present value of the cash flows is zero. Unlike spreadsheet IRR(), no starting guess is needed: all IRRs between −100% and the mathematical bound are searched, each one is pinned down with exact arithmetic, and the result is correctly rounded. When the cash flows change sign more than once there can be several IRRs; all are returned and a warning explains.

    mcp-tool

    {
      "type": "object",
      "required": [
        "cash_flows"
      ],
      "properties": {
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=4).",
          "additionalProperties": false
        },
        "cash_flows": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$"
          },
          "examples": [
            [
              "-10000",
              "3000",
              "4200",
              "6800"
            ]
          ],
          "maxItems": 600,
          "minItems": 2,
          "description": "Cash flows in time order, one per period. Money paid out is negative, money received is positive. 2 to 600 items. Each item: >= -1000000000000000 and <= 1000000000000000."
        },
        "periods_per_year": {
          "type": "integer",
          "maximum": 365,
          "minimum": 1,
          "description": "Set to 12 for monthly flows, 4 for quarterly, ... to also get the effective annual IRR. Allowed: >= 1 and <= 365."
        }
      },
      "additionalProperties": false
    }
    arguments 65 lines
  • calc_finance_loan_emi auth-required never probed

    Monthly instalment (EMI), total interest and an exact amortization schedule for a fixed-rate loan. Computes the equated monthly instalment for a fixed-rate loan repaid in equal monthly payments, the total paid and the total interest. The schedule is computed the way lenders do it: each month's interest is rounded to the cent, every payment is the rounded EMI, and the final payment is adjusted so the balance ends at exactly zero. Totals are the sums of that schedule, so they always add up to the cent.

    mcp-tool

    {
      "type": "object",
      "required": [
        "principal",
        "annual_rate_percent",
        "term_months"
      ],
      "properties": {
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=2).",
          "additionalProperties": false
        },
        "principal": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "250000"
          ],
          "description": "Amount borrowed. Allowed: > 0 and <= 1000000000000000. Unit: currency."
        },
        "term_months": {
          "type": "integer",
          "maximum": 1200,
          "minimum": 1,
          "examples": [
            240
          ],
          "description": "Number of monthly payments. Allowed: >= 1 and <= 1200."
        },
        "include_schedule": {
          "type": "boolean",
          "default": false,
          "description": "Also return the month-by-month schedule."
        },
        "annual_rate_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "7.5"
          ],
          "description": "Nominal annual interest rate in percent (7.5 means 7.5%), compounded monthly. Allowed: >= 0 and <= 100. Unit: percent."
        }
      },
      "additionalProperties": false
    }
    arguments 67 lines
  • calc_excel_xirr auth-required never probed

    The annual rate of return of cash flows on any dates, as Excel's XIRR, proven correct to the last digit. XIRR(values, dates, [guess]): the rate at which XNPV is zero. Excel iterates to within 0.000001% and gives up after 100 tries; here every rate above −100% is found and pinned down exactly.

    mcp-tool

    {
      "type": "object",
      "required": [
        "values",
        "dates"
      ],
      "properties": {
        "dates": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "date"
          },
          "examples": [
            [
              "2008-01-01",
              "2008-03-01",
              "2008-10-30",
              "2009-02-15",
              "2009-04-01"
            ]
          ],
          "maxItems": 1000,
          "minItems": 2,
          "description": "The date of each cash flow, in the same order. The first date is the start: no date may be before it. 2 to 1000 items."
        },
        "guess": {
          "type": "string",
          "default": "0.1",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "description": "Your guess (Excel's default 0.1); chooses between several solutions. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > -1 and <= 1000."
        },
        "values": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$"
          },
          "examples": [
            [
              "-10000",
              "2750",
              "4250",
              "3250",
              "2750"
            ]
          ],
          "maxItems": 1000,
          "minItems": 2,
          "description": "The cash flows. Money paid out is negative, money received positive. 2 to 1000 items. Each item: >= -1000000000000000 and <= 1000000000000000."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    }
    arguments 86 lines
  • calc_accounting_depreciation_india_income_tax auth-required 31m ago

    Tax depreciation on a block of assets: opening WDV plus additions less sale proceeds, with half the rate for additions used under 180 days. Depreciation is the block's rate on its written down value: the opening WDV, plus the year's additions, less the money received for assets sold. An asset acquired in the year and put to use for less than 180 days gets half the rate. If the sale proceeds exceed the block, there is no depreciation and the excess is a short-term capital gain; if every asset in the block was sold, what is left is a short-term capital loss.

    mcp-tool

    {
      "type": "object",
      "required": [
        "rate_percent",
        "tax_year_start"
      ],
      "properties": {
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=2).",
          "additionalProperties": false
        },
        "additions": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$"
          },
          "examples": [
            [
              "200000",
              "100000"
            ]
          ],
          "maxItems": 500,
          "minItems": 0,
          "description": "Cost of each asset added in the year. Up to 500 items. Each item: >= 0 and <= 1000000000000000."
        },
        "opening_wdv": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "500000"
          ],
          "description": "WDV of the block at the start of the year. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "rate_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "15"
          ],
          "description": "The block's rate, e.g. 15 (general plant and machinery), 40 (computers), 10 (furniture), 5 or 10 (buildings). Allowed: > 0 and <= 100. Unit: percent."
        },
        "sale_proceeds": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Money payable for assets of the block sold, discarded or destroyed in the year (with any scrap value). Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "tax_year_start": {
          "type": "integer",
          "maximum": 2200,
          "minimum": 1990,
          "examples": [
            2026
          ],
          "description": "Year the tax year starts: 2026 means 1 April 2026 to 31 March 2027. Allowed: >= 1990 and <= 2200."
        },
        "all_assets_sold": {
          "type": "boolean",
          "default": false,
          "description": "True when no asset is left in the block at the end of the year."
        },
        "put_to_use_dates": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "date"
          },
          "examples": [
            [
              "2026-06-10",
              "2026-12-01"
            ]
          ],
          "maxItems": 500,
          "minItems": 0,
          "description": "The day each addition was put to use, in the same order. Up to 500 items."
        }
      },
      "additionalProperties": false
    }
    arguments 105 lines
  • calc_check_isin auth-required never probed

    Check the structure and check digit of an ISIN (ISO 6166) and split it into prefix, national number and check digit. Checks an International Securities Identification Number as ISO 6166 defines it: a two-letter prefix, a nine-character national securities number and a check digit worked out with the Luhn rule after the letters are turned into numbers.

    mcp-tool

    {
      "type": "object",
      "required": [
        "number"
      ],
      "properties": {
        "number": {
          "type": "string",
          "examples": [
            "US0378331005"
          ],
          "maxLength": 64,
          "description": "The 12-character ISIN. Spaces, dots, hyphens and slashes are ignored, and lower-case letters are read as upper case. At most 64 characters."
        }
      },
      "additionalProperties": false
    }
    arguments 17 lines
  • calc_check_lei auth-required never probed

    Check the length and check digits of a Legal Entity Identifier (ISO 17442). Checks a Legal Entity Identifier as ISO 17442 defines it: 20 letters and digits, the last two being check digits worked out with MOD 97-10. The first four characters identify the organisation that issued the LEI.

    mcp-tool

    {
      "type": "object",
      "required": [
        "number"
      ],
      "properties": {
        "number": {
          "type": "string",
          "examples": [
            "5493001KJTIIGC8Y1R12"
          ],
          "maxLength": 64,
          "description": "The 20-character LEI. Spaces, dots, hyphens and slashes are ignored, and lower-case letters are read as upper case. At most 64 characters."
        }
      },
      "additionalProperties": false
    }
    arguments 17 lines
  • calc_check_us_routing_number auth-required never probed

    Check the check digit and the first two digits of a US ABA routing number. Checks a nine-digit ABA routing transit number: the first two digits must be in a range the American Bankers Association uses, and the ninth digit must be the check digit the first eight give with the weights 3, 7, 1.

    mcp-tool

    {
      "type": "object",
      "required": [
        "number"
      ],
      "properties": {
        "number": {
          "type": "string",
          "examples": [
            "021000021"
          ],
          "maxLength": 64,
          "description": "The nine-digit routing number. Spaces, dots, hyphens and slashes are ignored, and lower-case letters are read as upper case. At most 64 characters."
        }
      },
      "additionalProperties": false
    }
    arguments 17 lines
  • calc_check_vat_number auth-required never probed

    Check the structure and check digit of a VAT number from any EU member state, Northern Ireland, Great Britain, Switzerland or Norway. Checks a VAT identification number against its country's structure and check digit rule: all 27 EU member states, Northern Ireland (XI), Great Britain, Switzerland and Norway. This is the test to run before sending a number to VIES or putting it on an invoice: it catches typing mistakes at once and works when VIES is down. It does not say whether the number is registered.

    mcp-tool

    {
      "type": "object",
      "required": [
        "number"
      ],
      "properties": {
        "number": {
          "type": "string",
          "examples": [
            "DE 136 695 976"
          ],
          "maxLength": 64,
          "description": "The VAT number, with or without its country prefix. Spaces, dots, hyphens and slashes are ignored, and lower-case letters are read as upper case. At most 64 characters."
        },
        "country": {
          "enum": [
            "AT",
            "BE",
            "BG",
            "CY",
            "CZ",
            "DE",
            "DK",
            "EE",
            "EL",
            "ES",
            "FI",
            "FR",
            "HR",
            "HU",
            "IE",
            "IT",
            "LT",
            "LU",
            "LV",
            "MT",
            "NL",
            "PL",
            "PT",
            "RO",
            "SE",
            "SI",
            "SK",
            "XI",
            "GB",
            "CHE",
            "NO",
            "GR",
            "CH"
          ],
          "type": "string",
          "description": "The country, when the number has no prefix. Greece uses EL on VAT numbers. Options: AT: Austria; BE: Belgium; BG: Bulgaria; CY: Cyprus; CZ: Czechia; DE: Germany; DK: Denmark; EE: Estonia; EL: Greece; ES: Spain; FI: Finland; FR: France; HR: Croatia; HU: Hungary; IE: Ireland; IT: Italy; LT: Lithuania; LU: Luxembourg; LV: Latvia; MT: Malta; NL: Netherlands; PL: Poland; PT: Portugal; RO: Romania; SE: Sweden; SI: Slovenia; SK: Slovakia; XI: Northern Ireland; GB: United Kingdom; CHE: Switzerland; NO: Norway; GR: Greece (same as EL); CH: Switzerland (same as CHE)"
        }
      },
      "additionalProperties": false
    }
    arguments 56 lines
  • calc_date_add auth-required never probed

    Add or subtract years, months, weeks, days, business days or hours to a date or date-time, with month-end and daylight-saving rules spelled out. Calendar amounts (years, months, weeks, days) move the date on the calendar, keeping the clock time; hours, minutes and seconds are then added as elapsed time. So adding 1 day across a daylight saving change keeps 09:00 at 09:00, while adding 24 hours may not. Month additions that land on a day that does not exist use the month's last day, and the response says so.

    mcp-tool

    {
      "type": "object",
      "required": [
        "start"
      ],
      "properties": {
        "days": {
          "type": "integer",
          "default": 0,
          "maximum": 4000000,
          "minimum": 0,
          "description": "Days to add. Allowed: >= 0 and <= 4000000."
        },
        "hours": {
          "type": "integer",
          "default": 0,
          "maximum": 100000000,
          "minimum": 0,
          "description": "Hours of elapsed time to add (date-times). Allowed: >= 0 and <= 100000000."
        },
        "start": {
          "type": "string",
          "examples": [
            "2026-01-31"
          ],
          "maxLength": 40,
          "description": "Start date (YYYY-MM-DD) or date-time. At most 40 characters."
        },
        "weeks": {
          "type": "integer",
          "default": 0,
          "maximum": 600000,
          "minimum": 0,
          "description": "Weeks to add. Allowed: >= 0 and <= 600000."
        },
        "years": {
          "type": "integer",
          "default": 0,
          "maximum": 9999,
          "minimum": 0,
          "description": "Years to add. Allowed: >= 0 and <= 9999."
        },
        "months": {
          "type": "integer",
          "default": 0,
          "maximum": 120000,
          "minimum": 0,
          "description": "Months to add. Allowed: >= 0 and <= 120000."
        },
        "minutes": {
          "type": "integer",
          "default": 0,
          "maximum": 100000000,
          "minimum": 0,
          "description": "Minutes of elapsed time to add (date-times). Allowed: >= 0 and <= 100000000."
        },
        "seconds": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Seconds of elapsed time to add (date-times). Allowed: >= 0 and <= 10000000000."
        },
        "weekend": {
          "enum": [
            "sat_sun",
            "fri_sat",
            "sun",
            "fri",
            "none"
          ],
          "type": "string",
          "default": "sat_sun",
          "description": "Days that are not business days. Options: sat_sun: Saturday and Sunday; fri_sat: Friday and Saturday; sun: Sunday only; fri: Friday only; none: no weekend days"
        },
        "holidays": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "date"
          },
          "maxItems": 1000,
          "minItems": 0,
          "description": "Dates that are not business days. Up to 1000 items."
        },
        "timezone": {
          "type": "string",
          "description": "IANA time zone for a date-time start without an offset."
        },
        "operation": {
          "enum": [
            "add",
            "subtract"
          ],
          "type": "string",
          "default": "add",
          "description": "Add or subtract. Options: add: add; subtract: subtract"
        },
        "business_days": {
          "type": "integer",
          "maximum": 25000,
          "minimum": 0,
          "description": "Business days to add (alone, with a plain date). Allowed: >= 0 and <= 25000."
        }
      },
      "additionalProperties": false
    }
    arguments 106 lines
  • calc_billing_tiered_price auth-required never probed

    Price of a quantity under graduated or volume tiers, with optional flat fees, exactly as Stripe bills tiered prices. Prices a quantity (seats, API calls, gigabytes) on a tiered price list. With graduated tiers, each unit is charged at the price of the tier it falls in, so 12 units on tiers of 5 are charged 5 at the first price, 5 at the second and 2 at the third. With volume tiers, every unit is charged at the price of the tier the whole quantity lands in. A tier can also have a flat fee: graduated pricing charges the flat fee of every tier it reaches, volume pricing only that of the tier it lands in. The tiers table shows how the total is made up.

    mcp-tool

    {
      "type": "object",
      "required": [
        "quantity",
        "pricing_model",
        "tier_unit_price"
      ],
      "properties": {
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_up."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_up, decimals=2).",
          "additionalProperties": false
        },
        "quantity": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "12"
          ],
          "description": "Number of units to price (whole or decimal, for metered usage). Allowed: >= 0 and <= 1000000000000000."
        },
        "tier_up_to": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$"
          },
          "examples": [
            [
              "5",
              "10"
            ]
          ],
          "maxItems": 99,
          "minItems": 0,
          "description": "Upper limit of each tier except the last, inclusive and increasing. The first tier covers 0 up to the first limit, the next tier starts just above it, and the last tier has no limit (Stripe's up_to=inf), so give one item fewer than tier_unit_price. Omit it for a single tier. Up to 99 items. Each item: > 0 and <= 1000000000000000."
        },
        "pricing_model": {
          "enum": [
            "graduated",
            "volume"
          ],
          "type": "string",
          "examples": [
            "graduated"
          ],
          "description": "How the tiers apply. Options: graduated: each tier's units at that tier's price, summed (Stripe tiers_mode=graduated); volume: all units at the price of the tier the quantity lands in (Stripe tiers_mode=volume)"
        },
        "tier_flat_fee": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$"
          },
          "maxItems": 100,
          "minItems": 0,
          "description": "Flat fee of each tier, one per tier like tier_unit_price (Stripe's flat_amount). Omit it for no flat fees. Up to 100 items. Each item: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "tier_unit_price": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$"
          },
          "examples": [
            [
              "7",
              "6.5",
              "6"
            ]
          ],
          "maxItems": 100,
          "minItems": 1,
          "description": "Price per unit in each tier, first tier first (any number of decimals, like Stripe's unit_amount_decimal). 1 to 100 items. Each item: >= 0 and <= 1000000000000000. Unit: currency."
        }
      },
      "additionalProperties": false
    }
    arguments 99 lines
  • calc_check_abn auth-required never probed

    Check an 11-digit Australian Business Number with the Australian Business Register's modulus 89 rule. Checks an Australian Business Number the way the Australian Business Register describes: subtract 1 from the first digit, multiply the eleven digits by the weights 10, 1, 3, 5, 7, 9, 11, 13, 15, 17 and 19, and the total must divide by 89.

    mcp-tool

    {
      "type": "object",
      "required": [
        "number"
      ],
      "properties": {
        "number": {
          "type": "string",
          "examples": [
            "51 824 753 556"
          ],
          "maxLength": 64,
          "description": "The 11-digit ABN. Spaces, dots, hyphens and slashes are ignored, and lower-case letters are read as upper case. At most 64 characters."
        }
      },
      "additionalProperties": false
    }
    arguments 17 lines
  • calc_check_india_pan auth-required never probed

    Check the structure of an Indian Permanent Account Number and read the kind of holder from its fourth character. Checks a ten-character Permanent Account Number: five letters, four digits and a letter, where the fourth character says whether the holder is an individual, a company, a firm, a trust and so on. The rule for the last letter is not published, so it cannot be checked.

    mcp-tool

    {
      "type": "object",
      "required": [
        "number"
      ],
      "properties": {
        "number": {
          "type": "string",
          "examples": [
            "AAPFU0939F"
          ],
          "maxLength": 64,
          "description": "The 10-character PAN. Spaces, dots, hyphens and slashes are ignored, and lower-case letters are read as upper case. At most 64 characters."
        }
      },
      "additionalProperties": false
    }
    arguments 17 lines
  • calc_check_cusip auth-required never probed

    Check the length and check digit of a CUSIP and split it into issuer, issue and check digit. Checks a nine-character CUSIP, the identifier of US and Canadian securities: six characters for the issuer, two for the issue and a check digit worked out with the CUSIP form of the Luhn rule (the 'modulus 10 double-add-double' method).

    mcp-tool

    {
      "type": "object",
      "required": [
        "number"
      ],
      "properties": {
        "number": {
          "type": "string",
          "examples": [
            "037833100"
          ],
          "maxLength": 64,
          "description": "The nine-character CUSIP. Spaces, dots, hyphens and slashes are ignored, and lower-case letters are read as upper case. At most 64 characters."
        }
      },
      "additionalProperties": false
    }
    arguments 17 lines
  • calc_finance_black_76 auth-required never probed

    The Black (1976) price and Greeks of a European option on a future or forward: commodity and bond futures options, caps, floors and swaptions. Values a European option on a futures or forward price with Black's 1976 model. It is the Black-Scholes formula with the forward price in place of the spot price and the whole payoff discounted, and is the market standard for options on commodity and interest-rate futures. The answer has the price, the Greeks with respect to the forward price, and d1 and d2.

    mcp-tool

    {
      "type": "object",
      "required": [
        "forward",
        "strike",
        "time_to_expiry_years",
        "volatility_percent",
        "risk_free_rate_percent",
        "option_type"
      ],
      "properties": {
        "strike": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "19"
          ],
          "description": "The option's strike price. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 1000000000000000."
        },
        "forward": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "19"
          ],
          "description": "The futures or forward price now. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 1000000000000000."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=6).",
          "additionalProperties": false
        },
        "option_type": {
          "enum": [
            "call",
            "put"
          ],
          "type": "string",
          "description": "Call or put. Options: call: the right to buy; put: the right to sell"
        },
        "volatility_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "20"
          ],
          "description": "Volatility per year in percent (20 for 20%). Allowed: > 0 and <= 1000. Unit: percent."
        },
        "time_to_expiry_years": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "0.5"
          ],
          "description": "Time to expiry in years. Write days as a ratio, such as \"30/365\". A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 100."
        },
        "risk_free_rate_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "10"
          ],
          "description": "Risk-free interest rate per year in percent, continuously compounded. Allowed: >= -50 and <= 100. Unit: percent."
        }
      },
      "additionalProperties": false
    }
    arguments 94 lines
  • calc_payments_late_interest_us_prompt_payment auth-required never probed

    The interest penalty a US federal agency owes on a late invoice under the Prompt Payment Act: the Treasury rate, compounded every 30 days on a 360-day year. Uses the Prompt Payment rate in effect on the day after the due date for the whole delay. Unpaid interest is added to the principal at the end of each 30-day period, the leftover days earn simple interest on a 360-day year, and interest stops after one year. This is the Treasury formula P(1 + r/12)ⁿ(1 + r·d/360) − P.

    mcp-tool

    {
      "type": "object",
      "required": [
        "amount",
        "due_date",
        "payment_date"
      ],
      "properties": {
        "amount": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "10000"
          ],
          "description": "The unpaid amount (the invoice or debt). Allowed: > 0 and <= 1000000000000000. Unit: currency."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=2).",
          "additionalProperties": false
        },
        "due_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "2026-03-31"
          ],
          "description": "The last day the payment was due (interest starts the day after)."
        },
        "payment_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "2026-06-29"
          ],
          "description": "The day the payment was or will be made (counted as a day of interest)."
        },
        "reference_rate_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Use this Prompt Payment rate (in percent) for every day instead of the published one, for example for a date not yet covered. Allowed: >= -5 and <= 100. Unit: percent."
        }
      },
      "additionalProperties": false
    }
    arguments 66 lines
  • calc_tax_vat auth-required never probed

    VAT or GST on one amount or a whole invoice, added or taken out of tax-inclusive prices, with the per-rate rounding EN 16931 e-invoices require. Works out net, tax and gross for one amount or for every line of an invoice. Give amounts without tax to add it, or set amounts_include_tax to take the tax out of prices that already include it. Lines can have different rates. By default the tax is worked out once for each rate on the sum of that rate's lines and rounded to the cent, which is how the European e-invoice standard EN 16931 (and so XRechnung, Peppol and Factur-X) defines the VAT breakdown. The other choice rounds the tax on each line and adds those up, as a till receipt does; the two can differ by a few cents on a long invoice. The rate can be given, or looked up as a country's standard rate, in which case the answer names the official page it came from.

    mcp-tool

    {
      "type": "object",
      "required": [
        "amounts"
      ],
      "properties": {
        "amounts": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$"
          },
          "examples": [
            [
              "4000",
              "900",
              "2000"
            ]
          ],
          "maxItems": 1000,
          "minItems": 1,
          "description": "The amount of each line: one item for a single price. Without tax, or with tax when amounts_include_tax is true. Negative amounts are credits. 1 to 1000 items. Each item: >= -1000000000000000 and <= 1000000000000000. Unit: currency."
        },
        "country": {
          "enum": [
            "AT",
            "BE",
            "BG",
            "CY",
            "CZ",
            "DE",
            "DK",
            "EE",
            "EL",
            "ES",
            "FI",
            "FR",
            "HR",
            "HU",
            "IE",
            "IT",
            "LT",
            "LU",
            "LV",
            "MT",
            "NL",
            "PL",
            "PT",
            "RO",
            "SE",
            "SI",
            "SK",
            "GB",
            "CH",
            "NO",
            "AU",
            "NZ",
            "SG",
            "IN",
            "CA",
            "CA-NB",
            "CA-NL",
            "CA-NS",
            "CA-ON",
            "CA-PE",
            "GR",
            "UK"
          ],
          "type": "string",
          "description": "Use this country's standard rate for every line (see tax/vat-rates for the table). Reduced rates depend on what is sold, so give those as rate_percent. Options: AT: Austria: VAT 20%; BE: Belgium: VAT 21%; BG: Bulgaria: VAT 20%; CY: Cyprus: VAT 19%; CZ: Czechia: VAT 21%; DE: Germany: VAT 19%; DK: Denmark: VAT 25%; EE: Estonia: VAT 24%; EL: Greece: VAT 24%; ES: Spain: VAT 21%; FI: Finland: VAT 25.5%; FR: France: VAT 20%; HR: Croatia: VAT 25%; HU: Hungary: VAT 27%; IE: Ireland: VAT 23%; IT: Italy: VAT 22%; LT: Lithuania: VAT 21%; LU: Luxembourg: VAT 17%; LV: Latvia: VAT 21%; MT: Malta: VAT 18%; NL: Netherlands: VAT 21%; PL: Poland: VAT 23%; PT: Portugal: VAT 23%; RO: Romania: VAT 21%; SE: Sweden: VAT 25%; SI: Slovenia: VAT 22%; SK: Slovakia: VAT 23%; GB: United Kingdom: VAT 20%; CH: Switzerland: VAT (MWST) 8.1%; NO: Norway: VAT (MVA) 25%; AU: Australia: GST 10%; NZ: New Zealand: GST 15%; SG: Singapore: GST 9%; IN: India: GST 18%; CA: Canada (GST only): GST 5%; CA-NB: Canada: New Brunswick: HST 15%; CA-NL: Canada: Newfoundland and Labrador: HST 15%; CA-NS: Canada: Nova Scotia: HST 14%; CA-ON: Canada: Ontario: HST 13%; CA-PE: Canada: Prince Edward Island: HST 15%; GR: the same as EL; UK: the same as GB"
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_up."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_up, decimals=2).",
          "additionalProperties": false
        },
        "rounding": {
          "enum": [
            "per_rate",
            "per_line"
          ],
          "type": "string",
          "default": "per_rate",
          "description": "Where the tax is rounded. Options: per_rate: once for each rate, on the sum of that rate's lines (EN 16931, the usual rule for invoices); per_line: on each line, then added up (till receipts, and invoices that print tax per line)"
        },
        "rate_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "One tax rate for every line, in percent (20 for 20%). Allowed: >= 0 and <= 100. Unit: %."
        },
        "rates_percent": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$"
          },
          "examples": [
            [
              "25",
              "25",
              "0"
            ]
          ],
          "maxItems": 1000,
          "minItems": 0,
          "description": "The tax rate of each line in percent, one per amount and in the same order. Up to 1000 items. Each item: >= 0 and <= 100. Unit: %."
        },
        "amounts_include_tax": {
          "type": "boolean",
          "default": false,
          "description": "true when the amounts already include the tax, to take it out."
        }
      },
      "additionalProperties": false
    }
    arguments 136 lines
  • calc_excel_nominal auth-required never probed

    The nominal annual rate from an effective rate, as Excel's NOMINAL. NOMINAL(effect_rate, npery) = npery·((1 + effect_rate)^(1/npery) − 1).

    mcp-tool

    {
      "type": "object",
      "required": [
        "effect_rate",
        "npery"
      ],
      "properties": {
        "npery": {
          "type": "integer",
          "maximum": 100000,
          "minimum": 1,
          "examples": [
            4
          ],
          "description": "Compounding periods per year (whole number). Allowed: >= 1 and <= 100000."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        },
        "effect_rate": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "0.053543"
          ],
          "description": "Effective annual rate as a decimal. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 1000."
        }
      },
      "additionalProperties": false
    }
    arguments 59 lines
  • calc_excel_nper auth-required never probed

    How many periods it takes to pay off a loan or reach a goal, as Excel's NPER. NPER(rate, pmt, pv, [fv], [type]).

    mcp-tool

    {
      "type": "object",
      "required": [
        "rate",
        "pmt",
        "pv"
      ],
      "properties": {
        "fv": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "description": "Future value wanted. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000."
        },
        "pv": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "-1000"
          ],
          "description": "Present value. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000."
        },
        "pmt": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "-100"
          ],
          "description": "Payment made each period. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000."
        },
        "rate": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "0.08/12"
          ],
          "description": "Interest rate per period, as a decimal (0.005 for 0.5%). Write a monthly rate from an annual one as \"0.06/12\". A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > -1 and <= 1000."
        },
        "type": {
          "type": "integer",
          "default": 0,
          "maximum": 1,
          "minimum": 0,
          "description": "When payments are due: 0 at the end of each period, 1 at the beginning. Allowed: >= 0 and <= 1."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    }
    arguments 80 lines
  • calc_excel_pmt auth-required never probed

    The payment per period for a loan or an investment, the same as Excel's PMT. PMT(rate, nper, pv, [fv], [type]): the constant payment that brings pv to fv over nper periods at rate. Negative when you pay, as in Excel.

    mcp-tool

    {
      "type": "object",
      "required": [
        "rate",
        "nper",
        "pv"
      ],
      "properties": {
        "fv": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "description": "Future value wanted after the last payment. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000."
        },
        "pv": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "10000"
          ],
          "description": "Present value: the amount now (a loan you receive is positive). A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000."
        },
        "nper": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "10"
          ],
          "description": "Total number of payment periods. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 12000."
        },
        "rate": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "0.08/12"
          ],
          "description": "Interest rate per period, as a decimal (0.005 for 0.5%). Write a monthly rate from an annual one as \"0.06/12\". A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > -1 and <= 1000."
        },
        "type": {
          "type": "integer",
          "default": 0,
          "maximum": 1,
          "minimum": 0,
          "description": "When payments are due: 0 at the end of each period, 1 at the beginning. Allowed: >= 0 and <= 1."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    }
    arguments 80 lines
  • calc_finance_simple_interest auth-required never probed

    Simple interest for a number of years or between two dates, with standard day-count conventions (Actual/365, Actual/360, Actual/Actual, 30/360, 30E/360). Interest that is not compounded: I = P × r × t. Give the time either as a number of years or as a start and end date. With dates, the year fraction t follows a day-count convention from the ISDA 2006 Definitions; the exact fraction used is returned so you can check it.

    mcp-tool

    {
      "type": "object",
      "required": [
        "principal",
        "annual_rate_percent"
      ],
      "properties": {
        "years": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "2"
          ],
          "description": "Time in years (for example 0.5). Use this or the two dates. Allowed: >= 0 and <= 1000. Unit: years."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=2).",
          "additionalProperties": false
        },
        "end_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "2026-07-15"
          ],
          "description": "Day the interest period ends (YYYY-MM-DD); interest accrues up to but not including this day."
        },
        "day_count": {
          "enum": [
            "actual/365",
            "actual/360",
            "actual/actual",
            "30/360",
            "30e/360"
          ],
          "type": "string",
          "default": "actual/365",
          "description": "Day-count convention used with dates. Options: actual/365: Actual/365 Fixed: actual days ÷ 365.; actual/360: Actual/360: actual days ÷ 360.; actual/actual: Actual/Actual (ISDA): days in each calendar year ÷ that year's length (365 or 366), summed.; 30/360: 30/360 Bond Basis: months of 30 days, years of 360; D1=31→30, and D2=31→30 when D1 is 30 or 31.; 30e/360: 30E/360 Eurobond Basis: months of 30 days, years of 360; any 31st becomes the 30th."
        },
        "principal": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "10000"
          ],
          "description": "Amount the interest is charged on. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "start_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "2026-01-15"
          ],
          "description": "First day of the interest period (YYYY-MM-DD)."
        },
        "annual_rate_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "5"
          ],
          "description": "Annual interest rate in percent. Allowed: >= 0 and <= 1000. Unit: percent."
        }
      },
      "additionalProperties": false
    }
    arguments 88 lines
  • calc_math_fraction auth-required never probed

    Add, subtract, multiply, divide and simplify fractions and mixed numbers, with the exact repeating decimal. Works with exact fractions such as 3/4, mixed numbers such as 1 1/2, and decimals. Results are always in lowest terms and include the mixed number, a rounded decimal and the exact decimal expansion with its repeating block in parentheses (1/6 = 0.1(6)).

    mcp-tool

    {
      "type": "object",
      "required": [
        "operation",
        "a"
      ],
      "properties": {
        "a": {
          "type": "string",
          "examples": [
            "1/3"
          ],
          "maxLength": 200,
          "description": "First fraction, e.g. '3/4', '-1 1/2' or '0.75'. At most 200 characters."
        },
        "b": {
          "type": "string",
          "examples": [
            "1/6"
          ],
          "maxLength": 200,
          "description": "Second fraction (not used by simplify). At most 200 characters."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=20).",
          "additionalProperties": false
        },
        "operation": {
          "enum": [
            "simplify",
            "add",
            "subtract",
            "multiply",
            "divide"
          ],
          "type": "string",
          "examples": [
            "add"
          ],
          "description": "What to do. Options: simplify: reduce a to lowest terms; add: a + b; subtract: a − b; multiply: a × b; divide: a ÷ b"
        }
      },
      "additionalProperties": false
    }
    arguments 72 lines
  • calc_accounting_lease_ifrs16 auth-required never probed

    Lessee accounting under IFRS 16: the initial lease liability and right-of-use asset, and a schedule of interest, depreciation and balances. The liability is the present value of the payments not paid at commencement, discounted at the rate implicit in the lease or the incremental borrowing rate (IFRS 16.26). The right-of-use asset is that liability plus payments made at or before commencement, initial direct costs and restoration costs, less incentives received (IFRS 16.24). Interest uses the effective interest method; the asset is depreciated straight line over the term or the useful life.

    mcp-tool

    {
      "type": "object",
      "required": [
        "payment",
        "number_of_payments",
        "discount_rate_percent",
        "commencement_date"
      ],
      "properties": {
        "timing": {
          "enum": [
            "arrears",
            "advance"
          ],
          "type": "string",
          "default": "arrears",
          "description": "When each payment is made within its period. Options: arrears: at the end of each period; advance: at the start of each period (the first at commencement)"
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=2).",
          "additionalProperties": false
        },
        "payment": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "100000"
          ],
          "description": "The first lease payment. Later payments rise by annual_increase_percent once a year. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "end_payment": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Paid at the end of the term: a purchase option you are reasonably certain to exercise, a termination penalty, or the amount expected under a residual value guarantee. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "rate_convention": {
          "enum": [
            "nominal",
            "effective"
          ],
          "type": "string",
          "default": "nominal",
          "description": "How the annual rate becomes a rate per period when payments are more often than yearly. Options: nominal: annual rate ÷ payments a year; effective: (1 + annual rate)^(1 / payments a year) − 1, to 15 decimals"
        },
        "lease_incentives": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Lease incentives received (taken off the asset). Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "prepaid_payments": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Lease payments made before commencement, other than the first payment in advance. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "rou_life_periods": {
          "type": "integer",
          "maximum": 1200,
          "minimum": 1,
          "description": "Periods to depreciate the asset over: the lease term (the default) or the useful life when ownership transfers or a purchase option is reasonably certain. Allowed: >= 1 and <= 1200."
        },
        "commencement_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "2026-01-01"
          ],
          "description": "Commencement date of the lease."
        },
        "payments_per_year": {
          "enum": [
            "1",
            "2",
            "4",
            "12"
          ],
          "type": "string",
          "default": "1",
          "description": "How often payments are made. Options: 1: yearly; 2: half-yearly; 4: quarterly; 12: monthly"
        },
        "restoration_costs": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Present value of the costs to dismantle or restore (IAS 37 provision, added to the asset). Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "schedule_rounding": {
          "enum": [
            "ledger",
            "exact"
          ],
          "type": "string",
          "default": "ledger",
          "description": "How the schedule is rounded. Options: ledger: each period's interest and depreciation is rounded and the next period works from the rounded balance, as in a ledger; exact: each balance is the exact balance rounded, and each period's charge is the change in the rounded balances"
        },
        "number_of_payments": {
          "type": "integer",
          "maximum": 600,
          "minimum": 1,
          "examples": [
            10
          ],
          "description": "Number of payments over the lease term. Allowed: >= 1 and <= 600."
        },
        "initial_direct_costs": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Initial direct costs (added to the asset). Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "discount_rate_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "6"
          ],
          "description": "Annual discount rate: the rate implicit in the lease or your incremental borrowing rate. Allowed: >= 0 and <= 100. Unit: percent."
        },
        "annual_increase_percent": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Fixed yearly increase in the payments (each new year's payment is rounded like the results). Allowed: >= 0 and <= 100. Unit: percent."
        }
      },
      "additionalProperties": false
    }
    arguments 151 lines
  • calc_excel_sln auth-required never probed

    Straight-line depreciation for one period, as Excel's SLN. SLN(cost, salvage, life) = (cost − salvage) / life.

    mcp-tool

    {
      "type": "object",
      "required": [
        "cost",
        "salvage",
        "life"
      ],
      "properties": {
        "cost": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "2400"
          ],
          "description": "Initial cost of the asset. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= 0 and <= 1000000000000000."
        },
        "life": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "10"
          ],
          "description": "Number of periods over which the asset is depreciated. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 10000."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        },
        "salvage": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "300"
          ],
          "description": "Value at the end of its life (can be 0). A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= 0 and <= 1000000000000000."
        }
      },
      "additionalProperties": false
    }
    arguments 67 lines
  • calc_excel_workday auth-required never probed

    The date a number of working days before or after a date, with holidays and any weekend, as Excel's WORKDAY and WORKDAY.INTL. WORKDAY.INTL(start_date, days, [weekend], [holidays]). The start date itself is not counted; days = 0 returns start_date.

    mcp-tool

    {
      "type": "object",
      "required": [
        "start_date",
        "days"
      ],
      "properties": {
        "days": {
          "type": "integer",
          "maximum": 35000,
          "minimum": -35000,
          "examples": [
            151
          ],
          "description": "Working days to move (negative for earlier). Allowed: >= -35000 and <= 35000."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=0).",
          "additionalProperties": false
        },
        "weekend": {
          "type": "string",
          "default": "1",
          "maxLength": 7,
          "description": "Weekend days, as in NETWORKDAYS.INTL: a weekend number (\"1\" Saturday and Sunday, \"2\" Sunday and Monday, ... \"7\" Friday and Saturday, \"11\" Sunday only, ... \"17\" Saturday only) or seven 0s and 1s starting on Monday, 1 for a weekend day (\"0000011\" is Saturday and Sunday). At most 7 characters."
        },
        "holidays": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "date"
          },
          "default": [],
          "examples": [
            [
              "2012-11-22"
            ]
          ],
          "maxItems": 1000,
          "minItems": 0,
          "description": "Dates that are not working days. Up to 1000 items."
        },
        "start_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "2008-10-01"
          ],
          "description": "Start date."
        }
      },
      "additionalProperties": false
    }
    arguments 81 lines
  • calc_excel_networkdays auth-required never probed

    Working days between two dates, both included, with holidays and any weekend, as Excel's NETWORKDAYS and NETWORKDAYS.INTL. NETWORKDAYS.INTL(start_date, end_date, [weekend], [holidays]); with the default weekend it is NETWORKDAYS. Both dates count. Negative when end is before start.

    mcp-tool

    {
      "type": "object",
      "required": [
        "start_date",
        "end_date"
      ],
      "properties": {
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=0).",
          "additionalProperties": false
        },
        "weekend": {
          "type": "string",
          "default": "1",
          "maxLength": 7,
          "description": "Weekend days, as in NETWORKDAYS.INTL: a weekend number (\"1\" Saturday and Sunday, \"2\" Sunday and Monday, ... \"7\" Friday and Saturday, \"11\" Sunday only, ... \"17\" Saturday only) or seven 0s and 1s starting on Monday, 1 for a weekend day (\"0000011\" is Saturday and Sunday). At most 7 characters."
        },
        "end_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "2013-03-01"
          ],
          "description": "End date."
        },
        "holidays": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "date"
          },
          "default": [],
          "examples": [
            [
              "2012-11-22"
            ]
          ],
          "maxItems": 1000,
          "minItems": 0,
          "description": "Dates that are not working days. Up to 1000 items."
        },
        "start_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "2012-10-01"
          ],
          "description": "Start date."
        }
      },
      "additionalProperties": false
    }
    arguments 80 lines
  • calc_math_percentage auth-required never probed

    Percent of a number, what percent one number is of another, percent change, percent difference, and increase or decrease by a percent. Six everyday percentage questions in one calculator, each with its formula returned so the meaning of a and b is never in doubt. All arithmetic is exact.

    mcp-tool

    {
      "type": "object",
      "required": [
        "operation",
        "a",
        "b"
      ],
      "properties": {
        "a": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "15"
          ],
          "description": "First number (see operation for its meaning)."
        },
        "b": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "80"
          ],
          "description": "Second number (see operation for its meaning)."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        },
        "operation": {
          "enum": [
            "percent_of",
            "what_percent",
            "change",
            "difference",
            "increase",
            "decrease"
          ],
          "type": "string",
          "examples": [
            "percent_of"
          ],
          "description": "Which percentage question to answer. Options: percent_of: a% of b; what_percent: a is what percent of b; change: percent change from a to b; difference: percent difference between a and b; increase: b increased by a%; decrease: b decreased by a%"
        }
      },
      "additionalProperties": false
    }
    arguments 74 lines
  • calc_finance_roi auth-required never probed

    Gain, ROI percentage and annualized return (CAGR) of an investment. ROI = (amount returned − amount invested) ÷ amount invested. With the holding period in years, also returns the annualized return (compound annual growth rate): (returned ÷ invested)^(1 ÷ years) − 1.

    mcp-tool

    {
      "type": "object",
      "required": [
        "amount_invested",
        "amount_returned"
      ],
      "properties": {
        "years": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "3"
          ],
          "description": "Holding period in years, for the annualized return. Allowed: > 0 and <= 1000. Unit: years."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=2).",
          "additionalProperties": false
        },
        "amount_invested": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "10000"
          ],
          "description": "Total amount put in. Allowed: > 0 and <= 1000000000000000. Unit: currency."
        },
        "amount_returned": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "14500"
          ],
          "description": "Total amount received back (sale value plus income). Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        }
      },
      "additionalProperties": false
    }
    arguments 60 lines
  • calc_finance_savings_goal auth-required never probed

    How much to save each month (or week, or year) to reach a goal, or how long it takes with a given contribution. Solves the future-value-of-annuity equation either for the regular contribution or for the number of contributions. Interest compounds once per contribution period. The final balance is recomputed exactly with the rounded contribution, so you can see whether it lands on, above or below the goal.

    mcp-tool

    {
      "type": "object",
      "required": [
        "goal_amount",
        "annual_rate_percent"
      ],
      "properties": {
        "years": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "3"
          ],
          "description": "Time to reach the goal, in years (solve_for = contribution). Allowed: > 0 and <= 100. Unit: years."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=2).",
          "additionalProperties": false
        },
        "solve_for": {
          "enum": [
            "contribution",
            "time"
          ],
          "type": "string",
          "default": "contribution",
          "description": "What to calculate. Options: contribution: the contribution needed to reach the goal in a given time; time: how many contributions are needed with a given contribution"
        },
        "goal_amount": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "20000"
          ],
          "description": "The amount you want to reach. Allowed: > 0 and <= 1000000000000000. Unit: currency."
        },
        "contribution": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Contribution per period (solve_for = time). Allowed: > 0 and <= 1000000000000000. Unit: currency."
        },
        "current_savings": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Amount already saved. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "annual_rate_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "4"
          ],
          "description": "Expected annual interest or return in percent. Allowed: >= 0 and <= 100. Unit: percent."
        },
        "contribution_timing": {
          "enum": [
            "end",
            "beginning"
          ],
          "type": "string",
          "default": "end",
          "description": "When in each period you contribute. Options: end: at the end of each period (ordinary annuity); beginning: at the start of each period (annuity due)"
        },
        "contribution_frequency": {
          "enum": [
            "monthly",
            "semimonthly",
            "biweekly",
            "weekly",
            "quarterly",
            "annually"
          ],
          "type": "string",
          "default": "monthly",
          "description": "How often you contribute. Options: monthly: 12 contributions a year; semimonthly: 24 contributions a year; biweekly: 26 contributions a year; weekly: 52 contributions a year; quarterly: 4 contributions a year; annually: 1 contribution a year"
        }
      },
      "additionalProperties": false
    }
    arguments 102 lines
  • calc_finance_usda_guarantee_fee auth-required never probed

    The upfront guarantee fee and the annual fee on a USDA guaranteed home loan, at the rates USDA Rural Development set for fiscal year 2027. A USDA Single Family Housing Guaranteed loan has an upfront guarantee fee of 1.00% and an annual fee of 0.35%, for purchases and refinances in fiscal year 2027 (1 October 2026 to 30 September 2027). The upfront fee can be added to the loan; it is then 1% of the loan including the fee. The annual fee is paid monthly.

    mcp-tool

    {
      "type": "object",
      "required": [
        "loan_amount"
      ],
      "properties": {
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=2).",
          "additionalProperties": false
        },
        "loan_amount": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "200000"
          ],
          "description": "The loan before the upfront fee is added. Allowed: > 0 and <= 1000000000000000. Unit: currency."
        },
        "finance_upfront_fee": {
          "type": "boolean",
          "default": true,
          "description": "Whether the upfront fee is added to the loan instead of paid in cash."
        }
      },
      "additionalProperties": false
    }
    arguments 48 lines
  • calc_finance_va_funding_fee auth-required never probed

    The VA funding fee on a home loan, from the Department of Veterans Affairs' current rate chart, by loan type, down payment and first or later use. Most VA home loans carry a one-time funding fee, a percentage of the loan amount that depends on the kind of loan, on the down payment for a purchase, and on whether the borrower has used a VA loan before. This calculator applies the rate chart the VA publishes for loans closed on or after 7 April 2023 and shows the loan amount if the fee is financed.

    mcp-tool

    {
      "type": "object",
      "required": [
        "loan_amount"
      ],
      "properties": {
        "exempt": {
          "type": "boolean",
          "default": false,
          "description": "true when no fee is due, for example for a veteran who receives VA compensation for a service-connected disability."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=2).",
          "additionalProperties": false
        },
        "first_use": {
          "type": "boolean",
          "default": true,
          "description": "true for the first use of the VA home loan benefit, false after that."
        },
        "loan_type": {
          "enum": [
            "purchase",
            "cash_out_refinance",
            "irrrl",
            "nadl_purchase",
            "nadl_refinance",
            "manufactured_home",
            "assumption",
            "vendee"
          ],
          "type": "string",
          "default": "purchase",
          "description": "The kind of loan. Options: purchase: VA-backed purchase or construction loan; cash_out_refinance: VA-backed cash-out refinance; irrrl: interest rate reduction refinance loan (IRRRL); nadl_purchase: Native American Direct Loan, purchase; nadl_refinance: Native American Direct Loan, refinance; manufactured_home: manufactured home loan (not permanently affixed); assumption: loan assumption; vendee: vendee loan (buying a VA-acquired property)"
        },
        "loan_amount": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "190000"
          ],
          "description": "The loan amount, without the fee. The fee is a percentage of the loan, not of the purchase price. Allowed: > 0 and <= 1000000000000000. Unit: currency."
        },
        "down_payment_percent": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "5"
          ],
          "description": "Down payment as a percentage of the purchase price (purchase and construction loans only). Allowed: >= 0 and <= 100. Unit: percent."
        }
      },
      "additionalProperties": false
    }
    arguments 77 lines
  • validate_einvoice_en16931 auth-required never probed

    Check a UBL or CII invoice against the European e-invoicing standard EN 16931 with CEN's official rules. Runs the UBL 2.1 or UN/CEFACT CII D16B schema and then CEN/TC 434's own validation artefacts: the business rules (BR-…), calculation rules (BR-CO-…), VAT rules and code lists of EN 16931-1. The syntax is detected from the document. Country rules (CIUS) such as XRechnung or Peppol BIS are separate endpoints.

    mcp-tool

    {
      "type": "object",
      "required": [
        "xml"
      ],
      "properties": {
        "xml": {
          "type": "string",
          "maxLength": 4194304,
          "description": "The invoice XML, as text."
        }
      },
      "additionalProperties": false
    }
    arguments 14 lines
  • validate_einvoice_peppol_bis auth-required never probed

    Check a UBL invoice or credit note against Peppol BIS Billing 3.0 with OpenPeppol's official rules. Runs the UBL 2.1 schema, the EN 16931 rules in the copy Peppol ships, and the Peppol BIS Billing 3.0 rules (PEPPOL-EN16931-R…, country rules for Norway, Denmark, Italy, Sweden, Greece, Iceland, the Netherlands and Germany). Peppol BIS 3.0 documents are UBL only.

    mcp-tool

    {
      "type": "object",
      "required": [
        "xml"
      ],
      "properties": {
        "xml": {
          "type": "string",
          "maxLength": 4194304,
          "description": "The invoice XML, as text."
        }
      },
      "additionalProperties": false
    }
    arguments 14 lines
  • validate_einvoice_xrechnung auth-required never probed

    Check an XRechnung 3.0 invoice the way German public buyers do, with KoSIT's official validator configuration. Uses KoSIT's validator configuration for XRechnung unchanged: its scenarios choose the rules from the document's type and specification ID, then the UBL or CII schema, the EN 16931 rules and the XRechnung rules (BR-DE-…) run, with KoSIT's custom levels. The decision is KoSIT's: valid means no error.

    mcp-tool

    {
      "type": "object",
      "required": [
        "xml"
      ],
      "properties": {
        "xml": {
          "type": "string",
          "maxLength": 4194304,
          "description": "The invoice XML, as text."
        }
      },
      "additionalProperties": false
    }
    arguments 14 lines
  • calc_excel_edate auth-required never probed

    The same day of the month a number of months before or after a date, as Excel's EDATE. EDATE(start_date, months). A day the target month lacks becomes its last day (31 January + 1 month = 28 or 29 February).

    mcp-tool

    {
      "type": "object",
      "required": [
        "start_date",
        "months"
      ],
      "properties": {
        "months": {
          "type": "integer",
          "maximum": 120000,
          "minimum": -120000,
          "examples": [
            1
          ],
          "description": "Months to move: positive for later, negative for earlier. Allowed: >= -120000 and <= 120000."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=0).",
          "additionalProperties": false
        },
        "start_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "2011-01-15"
          ],
          "description": "Start date."
        }
      },
      "additionalProperties": false
    }
    arguments 59 lines
  • calc_excel_vdb auth-required never probed

    Declining-balance depreciation between any two points in an asset's life, switching to straight line, as Excel's VDB. VDB(cost, salvage, life, start_period, end_period, [factor], [no_switch]). Periods may be fractional. Unless no_switch is true, depreciation switches to straight line once that is larger than the declining balance.

    mcp-tool

    {
      "type": "object",
      "required": [
        "cost",
        "salvage",
        "life",
        "start_period",
        "end_period"
      ],
      "properties": {
        "cost": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "2400"
          ],
          "description": "Initial cost of the asset. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= 0 and <= 1000000000000000."
        },
        "life": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "10"
          ],
          "description": "Number of periods over which the asset is depreciated. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 10000."
        },
        "factor": {
          "type": "string",
          "default": "2",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "description": "Rate at which the balance declines (2 is double-declining). A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 1000."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        },
        "salvage": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "300"
          ],
          "description": "Value at the end of its life (can be 0). A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= 0 and <= 1000000000000000."
        },
        "no_switch": {
          "type": "boolean",
          "default": false,
          "description": "true: never switch to straight line."
        },
        "end_period": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "1"
          ],
          "description": "End of the span. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= 0 and <= 10000."
        },
        "start_period": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "0"
          ],
          "description": "Start of the span, in the unit of life (0 is the start of the asset's life). A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= 0 and <= 10000."
        }
      },
      "additionalProperties": false
    }
    arguments 96 lines
  • calc_finance_bond_duration_convexity auth-required never probed

    The price of a coupon bond at a yield, with its Macaulay and modified duration, convexity and DV01, for any settlement date. Prices a bond that pays periodic coupons by discounting each payment at the yield, and measures how the price reacts when the yield moves. Modified duration is the percentage fall in price for a rise of one percentage point in yield; convexity is the correction for larger moves; DV01 is the change in price, per 100 of face value, for one basis point. Between coupon dates the price is split into the clean price and accrued interest.

    mcp-tool

    {
      "type": "object",
      "required": [
        "settlement",
        "maturity",
        "coupon_rate_percent",
        "yield_percent"
      ],
      "properties": {
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=6).",
          "additionalProperties": false
        },
        "maturity": {
          "type": "string",
          "format": "date",
          "examples": [
            "2036-03-15"
          ],
          "description": "Maturity date."
        },
        "day_count": {
          "enum": [
            "30/360",
            "actual/actual",
            "actual/360",
            "actual/365",
            "30e/360"
          ],
          "type": "string",
          "default": "30/360",
          "description": "How days are counted for accrued interest. Options: 30/360: US (NASD) 30/360; actual/actual: actual days over the actual length of the coupon period; actual/360: actual days over a 360-day year; actual/365: actual days over a 365-day year; 30e/360: European 30/360"
        },
        "frequency": {
          "type": "integer",
          "default": 2,
          "maximum": 4,
          "minimum": 1,
          "description": "Coupons per year: 1, 2 or 4. Allowed: >= 1 and <= 4."
        },
        "redemption": {
          "type": "string",
          "default": "100",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Amount repaid at maturity per 100 of face value. Allowed: > 0 and <= 1000000."
        },
        "settlement": {
          "type": "string",
          "format": "date",
          "examples": [
            "2026-03-15"
          ],
          "description": "Settlement date (when the buyer gets the bond)."
        },
        "yield_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "6"
          ],
          "description": "Annual yield to maturity in percent, compounded at the coupon frequency. Allowed: > -50 and <= 1000. Unit: percent."
        },
        "coupon_rate_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "5"
          ],
          "description": "Annual coupon rate in percent of face value. Allowed: >= 0 and <= 1000. Unit: percent."
        }
      },
      "additionalProperties": false
    }
    arguments 101 lines
  • calc_finance_compound_interest auth-required never probed

    Future value of a lump sum with annual, monthly, daily or continuous compounding, plus the effective annual rate (APY). Grows a single deposit at a nominal annual rate compounded m times a year: A = P(1 + r/m)^(m·t), or A = P·e^(r·t) for continuous compounding. Whole numbers of periods are computed exactly; anything else is computed with certified high-precision arithmetic and rounded correctly.

    mcp-tool

    {
      "type": "object",
      "required": [
        "principal",
        "annual_rate_percent",
        "years"
      ],
      "properties": {
        "years": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "10"
          ],
          "description": "Time in years. Allowed: >= 0 and <= 200. Unit: years."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=2).",
          "additionalProperties": false
        },
        "principal": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "1000"
          ],
          "description": "Amount deposited at the start. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "compounding": {
          "enum": [
            "annually",
            "semiannually",
            "quarterly",
            "monthly",
            "weekly",
            "daily",
            "continuously"
          ],
          "type": "string",
          "default": "annually",
          "description": "How often interest is compounded. Options: annually: once a year; semiannually: twice a year; quarterly: 4 times a year; monthly: 12 times a year; weekly: 52 times a year; daily: 365 times a year; continuously: continuous compounding (e^rt)"
        },
        "annual_rate_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "5"
          ],
          "description": "Nominal annual interest rate in percent (may be negative, above -100). Allowed: > -100 and <= 1000. Unit: percent."
        }
      },
      "additionalProperties": false
    }
    arguments 75 lines
  • calc_finance_extra_payments auth-required never probed

    How much sooner a loan is paid off, and how much interest is saved, by paying extra each month or making one lump-sum payment. Runs a loan's schedule twice: once as agreed, and once with an extra amount on top of every payment, a single lump sum in a month you choose, or both. Extra money goes straight to the balance, so less interest builds up afterwards. The answer gives the new pay-off time and the interest saved.

    mcp-tool

    {
      "type": "object",
      "required": [
        "principal",
        "annual_rate_percent",
        "term_months"
      ],
      "properties": {
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=2).",
          "additionalProperties": false
        },
        "lump_sum": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "A single extra payment. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "principal": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "300000"
          ],
          "description": "The loan amount. Allowed: > 0 and <= 1000000000000000. Unit: currency."
        },
        "term_months": {
          "type": "integer",
          "maximum": 600,
          "minimum": 1,
          "examples": [
            360
          ],
          "description": "The loan term in months. Allowed: >= 1 and <= 600."
        },
        "lump_sum_month": {
          "type": "integer",
          "default": 1,
          "maximum": 600,
          "minimum": 1,
          "description": "The payment number the lump sum is made with (1 is the first payment). Allowed: >= 1 and <= 600."
        },
        "annual_rate_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "6.5"
          ],
          "description": "The annual interest rate. Allowed: >= 0 and <= 100. Unit: percent."
        },
        "extra_monthly_payment": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "200"
          ],
          "description": "Extra paid with every monthly payment. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        }
      },
      "additionalProperties": false
    }
    arguments 84 lines
  • calc_finance_fha_mip auth-required never probed

    The upfront and annual mortgage insurance premium on an FHA loan, from HUD's current rate tables, and how long the annual premium is charged. An FHA-insured mortgage carries two insurance premiums. The upfront premium is 1.75% of the base loan amount and is usually added to the loan. The annual premium depends on the loan term, the base loan amount and the loan-to-value ratio, and is charged monthly for 11 years or for the whole mortgage term. This calculator reads both from the tables in HUD Mortgagee Letter 2023-05, which apply to loans endorsed on or after 20 March 2023.

    mcp-tool

    {
      "type": "object",
      "required": [
        "base_loan_amount",
        "property_value",
        "term_years"
      ],
      "properties": {
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=2).",
          "additionalProperties": false
        },
        "term_years": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "30"
          ],
          "description": "The mortgage term in years. Allowed: >= 1 and <= 30."
        },
        "property_value": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "310000"
          ],
          "description": "The value the loan-to-value ratio is measured against: the lower of the price and the appraised value. Allowed: > 0 and <= 1000000000000000. Unit: currency."
        },
        "base_loan_amount": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "300000"
          ],
          "description": "The loan before the upfront premium is added. Allowed: > 0 and <= 1000000000000000. Unit: currency."
        },
        "finance_upfront_mip": {
          "type": "boolean",
          "default": true,
          "description": "Whether the upfront premium is added to the loan instead of paid in cash."
        }
      },
      "additionalProperties": false
    }
    arguments 66 lines
  • calc_everyday_tip auth-required never probed

    Tip amount, total and a fair split between people where the shares add up exactly to the bill. Adds a tip and splits the total. Splitting 100.00 three ways cannot give three equal amounts in cents, so the shares are 33.34, 33.33 and 33.33: they always add up to the total exactly, and the response says how many people pay one extra cent.

    mcp-tool

    {
      "type": "object",
      "required": [
        "bill_amount"
      ],
      "properties": {
        "people": {
          "type": "integer",
          "default": 1,
          "maximum": 1000,
          "minimum": 1,
          "description": "Number of people splitting the bill. Allowed: >= 1 and <= 1000."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=2).",
          "additionalProperties": false
        },
        "bill_amount": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "100"
          ],
          "description": "Bill before the tip. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "tip_percent": {
          "type": "string",
          "default": "15",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Tip in percent of the bill. Allowed: >= 0 and <= 100. Unit: percent."
        }
      },
      "additionalProperties": false
    }
    arguments 56 lines
  • calc_accounting_depreciation_india_companies_act auth-required 31m ago

    Book depreciation for Indian companies over the Schedule II useful life, straight line (SLM) or written down value (WDV), pro rata by days. The depreciable amount (cost less residual value, 5% of cost unless you choose otherwise) is spread over the useful life. SLM charges the same amount each year; WDV uses the rate 1 − (residual / cost)^(1 / life), which brings the carrying amount to the residual value at the end of the life. The first year is charged pro rata from the date put to use to 31 March, and the last year ends when the useful life does, at exactly the residual value.

    mcp-tool

    {
      "type": "object",
      "required": [
        "cost",
        "useful_life_years",
        "method",
        "date_put_to_use"
      ],
      "properties": {
        "cost": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "100000"
          ],
          "description": "Cost of the asset. Allowed: > 0 and <= 1000000000000000. Unit: currency."
        },
        "method": {
          "enum": [
            "slm",
            "wdv"
          ],
          "type": "string",
          "examples": [
            "wdv"
          ],
          "description": "Depreciation method. Options: slm: straight line; wdv: written down value"
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=2).",
          "additionalProperties": false
        },
        "date_put_to_use": {
          "type": "string",
          "format": "date",
          "examples": [
            "2026-04-01"
          ],
          "description": "The day the asset was available for use."
        },
        "residual_percent": {
          "type": "string",
          "default": "5",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Residual value as a percentage of cost. Allowed: >= 0 and < 100. Unit: percent."
        },
        "wdv_rate_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "WDV only: use this rate instead of the exact one, e.g. a rate rounded to 2 decimals. The last year still brings the carrying amount to the residual value. Allowed: > 0 and <= 100. Unit: percent."
        },
        "useful_life_years": {
          "type": "integer",
          "maximum": 100,
          "minimum": 1,
          "examples": [
            5
          ],
          "description": "Useful life in years (Schedule II Part C, or your own estimate). Allowed: >= 1 and <= 100."
        }
      },
      "additionalProperties": false
    }
    arguments 85 lines
  • calc_finance_apr_eu_aprc auth-required never probed

    Annual percentage rate of charge (APRC, the UK's APR) for consumer and mortgage credit, by the EU directives' equation and day count. Computes the annual percentage rate of charge defined in the EU Consumer Credit and Mortgage Credit Directives (Annex III and Annex I) and in the UK FCA rules (CONC App 1, MCOB 10A): the yearly rate X at which the payments, discounted with (1 + X) to the power of minus their time in years, equal the credit drawn down less the charges paid at the start. Times are 1/12 of a year per month and 1/52 per week; with dates, whole months (or weeks, or years) are counted back from each payment and the remaining days divided by 365 or 366, as the Mortgage Credit Directive and the European Commission's guidelines prescribe. The equation is solved with proven bounds and the APRC is rounded half up, to 1 decimal by default.

    mcp-tool

    {
      "type": "object",
      "required": [
        "credit_amount",
        "payment_amounts"
      ],
      "properties": {
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_up."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_up, decimals=1).",
          "additionalProperties": false
        },
        "start_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "2012-01-12"
          ],
          "description": "Date of the drawdown (the credit agreement). Give it with first_payment_date to count exact days; without both, the first payment is one period after the drawdown."
        },
        "credit_amount": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "200000"
          ],
          "description": "The credit, drawn down in full at the start. Allowed: > 0 and <= 1000000000000000. Unit: currency."
        },
        "payment_counts": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$"
          },
          "examples": [
            [
              "24"
            ]
          ],
          "maxItems": 100,
          "minItems": 0,
          "description": "How many payments of each amount in payment_amounts (whole numbers, same order). Omit it when every amount is a single payment. Up to 100 items. Each item: >= 1 and <= 1200."
        },
        "payment_amounts": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$"
          },
          "examples": [
            [
              "230"
            ]
          ],
          "maxItems": 100,
          "minItems": 1,
          "description": "The payments in order. Give one amount per group of equal payments and the group sizes in payment_counts, e.g. [\"210.71\", \"220.25\"] with [24, 36]; without payment_counts each amount is one payment. 1 to 100 items. Each item: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "upfront_charges": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "4000"
          ],
          "description": "Charges the consumer pays at the start (arrangement or valuation fees, for example). Charges paid later go into the payments they are paid with. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "include_schedule": {
          "type": "boolean",
          "default": false,
          "description": "Also return each payment with its time in years."
        },
        "payment_frequency": {
          "enum": [
            "monthly",
            "quarterly",
            "semiannually",
            "annually",
            "weekly",
            "fortnightly"
          ],
          "type": "string",
          "default": "monthly",
          "description": "How often payments are made. Options: monthly: every month, 1/12 of a year; quarterly: every 3 months; semiannually: every 6 months; annually: every year; weekly: every week, 1/52 of a year; fortnightly: every 2 weeks"
        },
        "first_payment_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "2012-02-15"
          ],
          "description": "Date of the first payment. Later payments fall on the same day of the month (or the same weekday) at the payment frequency."
        }
      },
      "additionalProperties": false
    }
    arguments 117 lines
  • calc_accounting_depreciation_macrs auth-required 31m ago

    US tax depreciation under MACRS (GDS) with the IRS percentage tables, Section 179 and bonus depreciation. Applies the Publication 946 Appendix A tables: half-year or mid-quarter for personal property (Tables A-1 to A-5), mid-month for residential rental (A-6, 27.5 years) and nonresidential real property (A-7a, 39 years). Section 179 comes off first, then bonus depreciation on what is left, then MACRS on the rest. Each year is basis × the table percentage, rounded; the last year takes whatever rounding left over, so the years add up exactly to the basis.

    mcp-tool

    {
      "type": "object",
      "required": [
        "basis",
        "property_class",
        "placed_in_service"
      ],
      "properties": {
        "basis": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "10000"
          ],
          "description": "Depreciable basis: the cost, plus costs to get the property ready, less any business-use reduction. Allowed: > 0 and <= 1000000000000000. Unit: currency."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=2).",
          "additionalProperties": false
        },
        "convention": {
          "enum": [
            "half_year",
            "mid_quarter"
          ],
          "type": "string",
          "default": "half_year",
          "description": "Convention for personal property. 27.5- and 39-year property always use mid-month, whatever is passed. Options: half_year: half a year of depreciation in the first year (the usual case); mid_quarter: when more than 40% of the year's basis was placed in service in the last quarter"
        },
        "section_179": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Section 179 deduction taken for the property. The dollar limit and business-income limit are not checked. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "bonus_percent": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Special (bonus) depreciation percentage, e.g. 100 or 40, or 0 if you elect out. Allowed: >= 0 and <= 100. Unit: percent."
        },
        "property_class": {
          "enum": [
            "3",
            "5",
            "7",
            "10",
            "15",
            "20",
            "27.5",
            "39"
          ],
          "type": "string",
          "examples": [
            "5"
          ],
          "description": "Recovery period (property class). Options: 3: 3-year property (200% declining balance); 5: 5-year property such as cars, computers and office machinery (200% DB); 7: 7-year property such as office furniture and fixtures (200% DB); 10: 10-year property (200% DB); 15: 15-year property such as land improvements (150% DB); 20: 20-year property such as farm buildings (150% DB); 27.5: 27.5-year residential rental property (straight line, mid-month); 39: 39-year nonresidential real property (straight line, mid-month)"
        },
        "placed_in_service": {
          "type": "string",
          "format": "date",
          "examples": [
            "2026-03-15"
          ],
          "description": "The day the property was placed in service."
        },
        "tax_year_start_month": {
          "type": "integer",
          "default": 1,
          "maximum": 12,
          "minimum": 1,
          "description": "Month your tax year starts (1 = calendar year). Short tax years are not supported. Allowed: >= 1 and <= 12."
        }
      },
      "additionalProperties": false
    }
    arguments 98 lines
  • calc_check_bic auth-required never probed

    Check the structure of a BIC (SWIFT code) under ISO 9362 and split it into party, country and branch. Checks a Business Identifier Code as ISO 9362 defines it: 8 or 11 characters, a four-character party prefix, a two-letter ISO 3166 country code, a two-character party suffix and an optional three-character branch. A BIC has no check digit, so the structure and the country code are all that can be tested without the SWIFT directory.

    mcp-tool

    {
      "type": "object",
      "required": [
        "number"
      ],
      "properties": {
        "number": {
          "type": "string",
          "examples": [
            "DEUTDEFF500"
          ],
          "maxLength": 64,
          "description": "The BIC to check, 8 or 11 characters. Spaces, dots, hyphens and slashes are ignored, and lower-case letters are read as upper case. At most 64 characters."
        }
      },
      "additionalProperties": false
    }
    arguments 17 lines
  • calc_excel_ipmt auth-required never probed

    The interest paid in one period of a loan, the same as Excel's IPMT. IPMT(rate, per, nper, pv, [fv], [type]): the interest in payment number per: the rate times the balance after the previous payment. With type 1 the first payment has no interest, as in Excel.

    mcp-tool

    {
      "type": "object",
      "required": [
        "rate",
        "per",
        "nper",
        "pv"
      ],
      "properties": {
        "fv": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "description": "Future value wanted after the last payment. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000."
        },
        "pv": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "10000"
          ],
          "description": "Present value: the amount now (a loan you receive is positive). A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000."
        },
        "per": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "1"
          ],
          "description": "The period you want, from 1 to nper. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= 1 and <= 12000."
        },
        "nper": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "10"
          ],
          "description": "Total number of payment periods. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 12000."
        },
        "rate": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "0.08/12"
          ],
          "description": "Interest rate per period, as a decimal (0.005 for 0.5%). Write a monthly rate from an annual one as \"0.06/12\". A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > -1 and <= 1000."
        },
        "type": {
          "type": "integer",
          "default": 0,
          "maximum": 1,
          "minimum": 0,
          "description": "When payments are due: 0 at the end of each period, 1 at the beginning. Allowed: >= 0 and <= 1."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    }
    arguments 89 lines
  • calc_check_iban auth-required never probed

    Check an IBAN's country, length, structure and check digits against the SWIFT IBAN registry, and say exactly what is wrong. Checks an International Bank Account Number the way ISO 13616 defines it: the country code must be in the SWIFT IBAN registry, the length and the structure of the account part (BBAN) must be the ones registered for that country, and the two check digits must be the ones MOD 97-10 gives. When a check fails, the answer names it, and for a wrong check digit it gives the digits the rest of the number calls for.

    mcp-tool

    {
      "type": "object",
      "required": [
        "number"
      ],
      "properties": {
        "number": {
          "type": "string",
          "examples": [
            "GB82 WEST 1234 5698 7654 32"
          ],
          "maxLength": 64,
          "description": "The IBAN to check. Spaces, dots, hyphens and slashes are ignored, and lower-case letters are read as upper case. At most 64 characters."
        }
      },
      "additionalProperties": false
    }
    arguments 17 lines
  • calc_check_india_gstin auth-required never probed

    Check the state code, structure and check character of an Indian GSTIN and read the PAN inside it. Checks a 15-character Goods and Services Tax Identification Number: a two-digit state code, the holder's ten-character PAN, an entity number, a default letter and a check character. The check character is worked out over the first 14 characters with the Luhn rule in base 36.

    mcp-tool

    {
      "type": "object",
      "required": [
        "number"
      ],
      "properties": {
        "number": {
          "type": "string",
          "examples": [
            "27AAPFU0939F1ZV"
          ],
          "maxLength": 64,
          "description": "The 15-character GSTIN. Spaces, dots, hyphens and slashes are ignored, and lower-case letters are read as upper case. At most 64 characters."
        }
      },
      "additionalProperties": false
    }
    arguments 17 lines
  • calc_excel_cumprinc auth-required never probed

    Total principal repaid from one period to another, as Excel's CUMPRINC. CUMPRINC(rate, nper, pv, start_period, end_period, type).

    mcp-tool

    {
      "type": "object",
      "required": [
        "rate",
        "nper",
        "pv",
        "start_period",
        "end_period",
        "type"
      ],
      "properties": {
        "pv": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "125000"
          ],
          "description": "Present value (the loan amount). A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 1000000000000000."
        },
        "nper": {
          "type": "integer",
          "maximum": 12000,
          "minimum": 1,
          "examples": [
            360
          ],
          "description": "Total number of payment periods. Allowed: >= 1 and <= 12000."
        },
        "rate": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "0.08/12"
          ],
          "description": "Interest rate per period, as a decimal (0.005 for 0.5%). Write a monthly rate from an annual one as \"0.06/12\". A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 1000."
        },
        "type": {
          "type": "integer",
          "maximum": 1,
          "minimum": 0,
          "description": "0: payments at the end of each period; 1: at the beginning. Allowed: >= 0 and <= 1."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        },
        "end_period": {
          "type": "integer",
          "maximum": 12000,
          "minimum": 1,
          "examples": [
            24
          ],
          "description": "Last period to include. Allowed: >= 1 and <= 12000."
        },
        "start_period": {
          "type": "integer",
          "maximum": 12000,
          "minimum": 1,
          "examples": [
            13
          ],
          "description": "First period to include (periods start at 1). Allowed: >= 1 and <= 12000."
        }
      },
      "additionalProperties": false
    }
    arguments 95 lines
  • calc_excel_syd auth-required never probed

    Sum-of-years' digits depreciation for one period, as Excel's SYD. SYD(cost, salvage, life, per) = (cost − salvage)·(life − per + 1)·2 / (life·(life + 1)).

    mcp-tool

    {
      "type": "object",
      "required": [
        "cost",
        "salvage",
        "life",
        "per"
      ],
      "properties": {
        "per": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "1"
          ],
          "description": "The period, from 1 to life. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 10000."
        },
        "cost": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "2400"
          ],
          "description": "Initial cost of the asset. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= 0 and <= 1000000000000000."
        },
        "life": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "10"
          ],
          "description": "Number of periods over which the asset is depreciated. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 10000."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        },
        "salvage": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "300"
          ],
          "description": "Value at the end of its life (can be 0). A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= 0 and <= 1000000000000000."
        }
      },
      "additionalProperties": false
    }
    arguments 76 lines
  • calc_finance_black_scholes auth-required never probed

    The Black-Scholes-Merton price of a European call or put with delta, gamma, vega, theta and rho, correct to the last digit shown. Values a European option on a stock, index or currency with the Black-Scholes formula, with Merton's extension for a continuous dividend yield. The answer has the price and the five Greeks, and d1 and d2 for checking by hand. The normal distribution is evaluated with proven error bounds, so every digit returned is correct, including for options far in or out of the money where spreadsheet formulas lose digits.

    mcp-tool

    {
      "type": "object",
      "required": [
        "spot",
        "strike",
        "time_to_expiry_years",
        "volatility_percent",
        "risk_free_rate_percent",
        "option_type"
      ],
      "properties": {
        "spot": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "42"
          ],
          "description": "The underlying's price now. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 1000000000000000."
        },
        "strike": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "40"
          ],
          "description": "The option's strike price. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 1000000000000000."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=6).",
          "additionalProperties": false
        },
        "option_type": {
          "enum": [
            "call",
            "put"
          ],
          "type": "string",
          "description": "Call or put. Options: call: the right to buy; put: the right to sell"
        },
        "volatility_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "20"
          ],
          "description": "Volatility per year in percent (20 for 20%). Allowed: > 0 and <= 1000. Unit: percent."
        },
        "time_to_expiry_years": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "0.5"
          ],
          "description": "Time to expiry in years. Write days as a ratio, such as \"30/365\". A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 100."
        },
        "dividend_yield_percent": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Dividend yield per year in percent, continuously compounded. Allowed: >= -50 and <= 100. Unit: percent."
        },
        "risk_free_rate_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "10"
          ],
          "description": "Risk-free interest rate per year in percent, continuously compounded. Allowed: >= -50 and <= 100. Unit: percent."
        }
      },
      "additionalProperties": false
    }
    arguments 100 lines
  • calc_payments_late_interest_germany auth-required never probed

    Verzugszinsen under § 288 BGB, half-year by half-year: the Basiszinssatz plus 9 points and the €40 fee between businesses, or plus 5 points with consumers. Simple interest at the Bundesbank Basiszinssatz (§ 247 BGB) plus 9 percentage points when no consumer is involved, or 5 points when the debtor is a consumer (8 points for business contracts made before 29 July 2014). The Basiszinssatz changes on 1 January and 1 July, so a long delay is split into half-years. Business debtors also owe the €40 Verzugspauschale (§ 288 (5) BGB).

    mcp-tool

    {
      "type": "object",
      "required": [
        "amount",
        "due_date",
        "payment_date"
      ],
      "properties": {
        "amount": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "10000"
          ],
          "description": "The unpaid amount (the invoice or debt). Allowed: > 0 and <= 1000000000000000. Unit: currency."
        },
        "debtor": {
          "enum": [
            "business",
            "consumer"
          ],
          "type": "string",
          "default": "business",
          "description": "Who owes the money. Options: business: no consumer involved: Basiszinssatz + 9 points; consumer: the debtor is a consumer: Basiszinssatz + 5 points"
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=2).",
          "additionalProperties": false
        },
        "due_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "2026-03-31"
          ],
          "description": "The last day before default (Verzug begins the next day)."
        },
        "day_count": {
          "enum": [
            "actual_365",
            "actual_actual",
            "actual_360"
          ],
          "type": "string",
          "default": "actual_365",
          "description": "How a day's share of the year is counted. Options: actual_365: each day is 1/365 of a year, leap years included (the usual practice); actual_actual: each day is 1/365 of a year, or 1/366 in a leap year; actual_360: each day is 1/360 of a year"
        },
        "payment_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "2026-06-29"
          ],
          "description": "The day the payment was or will be made (counted as a day of interest)."
        },
        "reference_rate_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Use this Basiszinssatz (in percent) for every day instead of the published one, for example for a date not yet covered. Allowed: >= -5 and <= 100. Unit: percent."
        },
        "contract_before_29_july_2014": {
          "type": "boolean",
          "default": false,
          "description": "The business contract was made before 29 July 2014 (8 points, no €40 fee)."
        }
      },
      "additionalProperties": false
    }
    arguments 90 lines
  • calc_payments_late_interest_india_msme auth-required never probed

    Interest owed to a micro or small enterprise for late payment under sections 15 and 16 of India's MSMED Act 2006: three times the RBI Bank Rate, compounded monthly. A buyer must pay a micro or small supplier by the agreed date, which may be at most 45 days after accepting the goods or services, or within 15 days when nothing was agreed. After that, the buyer owes compound interest with monthly rests at three times the Bank Rate notified by the Reserve Bank of India.

    mcp-tool

    {
      "type": "object",
      "required": [
        "amount",
        "acceptance_date",
        "payment_date"
      ],
      "properties": {
        "amount": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "10000"
          ],
          "description": "The unpaid amount (the invoice or debt). Allowed: > 0 and <= 1000000000000000. Unit: currency."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=2).",
          "additionalProperties": false
        },
        "payment_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "2026-06-30"
          ],
          "description": "The day the payment was or will be made (counted as a day of interest)."
        },
        "acceptance_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "2026-01-10"
          ],
          "description": "The day the buyer accepted (or is deemed to have accepted) the goods or services."
        },
        "agreed_payment_date": {
          "type": "string",
          "format": "date",
          "description": "The payment date agreed in writing, if any."
        },
        "reference_rate_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Use this RBI Bank Rate (in percent) for every day instead of the published one, for example for a date not yet covered. Allowed: >= -5 and <= 100. Unit: percent."
        }
      },
      "additionalProperties": false
    }
    arguments 71 lines
  • calc_payments_late_interest_uk auth-required never probed

    Statutory interest and fixed compensation on a late business invoice under the UK Late Payment of Commercial Debts (Interest) Act 1998. Simple interest at 8 percentage points over the Bank of England Bank Rate. The rate is fixed for the whole debt: it uses Bank Rate on 31 December for interest that starts between 1 January and 30 June, and on 30 June for interest that starts between 1 July and 31 December. Also returns the fixed sum for recovery costs: £40, £70 or £100 depending on the size of the debt.

    mcp-tool

    {
      "type": "object",
      "required": [
        "amount",
        "due_date",
        "payment_date"
      ],
      "properties": {
        "amount": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "10000"
          ],
          "description": "The unpaid amount (the invoice or debt). Allowed: > 0 and <= 1000000000000000. Unit: currency."
        },
        "method": {
          "enum": [
            "exact",
            "daily_pence"
          ],
          "type": "string",
          "default": "exact",
          "description": "exact: amount × rate × days / 365. daily_pence: first round the daily interest to the penny, as the worked example on GOV.UK does. Options: exact: the exact interest, rounded once; daily_pence: daily interest rounded to the penny, then times the days"
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=2).",
          "additionalProperties": false
        },
        "due_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "2026-03-31"
          ],
          "description": "The last day the payment was due (interest starts the day after)."
        },
        "payment_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "2026-06-29"
          ],
          "description": "The day the payment was or will be made (counted as a day of interest)."
        },
        "reference_rate_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Use this Bank Rate (in percent) for every day instead of the published one, for example for a date not yet covered. Allowed: >= -5 and <= 100. Unit: percent."
        }
      },
      "additionalProperties": false
    }
    arguments 75 lines
  • calc_accounting_lease_asc842 auth-required never probed

    Lessee accounting under US GAAP ASC 842: lease liability, right-of-use asset and the schedule for a finance or an operating lease. Both classes start the same way: the liability is the present value of the unpaid lease payments, and the right-of-use asset adds initial direct costs and payments made at or before commencement, less incentives received. A finance lease then has interest on the liability and straight-line amortization of the asset. An operating lease has one straight-line lease cost (all payments plus initial direct costs, less incentives, spread evenly), and the asset is reduced by that cost less the interest on the liability (ASC 842-20-25-6 and 35-3).

    mcp-tool

    {
      "type": "object",
      "required": [
        "classification",
        "payment",
        "number_of_payments",
        "discount_rate_percent",
        "commencement_date"
      ],
      "properties": {
        "timing": {
          "enum": [
            "arrears",
            "advance"
          ],
          "type": "string",
          "default": "arrears",
          "description": "When each payment is made within its period. Options: arrears: at the end of each period; advance: at the start of each period (the first at commencement)"
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=2).",
          "additionalProperties": false
        },
        "payment": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "100000"
          ],
          "description": "The first lease payment. Later payments rise by annual_increase_percent once a year. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "end_payment": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Paid at the end of the term: a purchase option you are reasonably certain to exercise, a termination penalty, or the amount expected under a residual value guarantee. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "classification": {
          "enum": [
            "finance",
            "operating"
          ],
          "type": "string",
          "examples": [
            "operating"
          ],
          "description": "Lease classification. Options: finance: finance lease; operating: operating lease"
        },
        "rate_convention": {
          "enum": [
            "nominal",
            "effective"
          ],
          "type": "string",
          "default": "nominal",
          "description": "How the annual rate becomes a rate per period when payments are more often than yearly. Options: nominal: annual rate ÷ payments a year; effective: (1 + annual rate)^(1 / payments a year) − 1, to 15 decimals"
        },
        "lease_incentives": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Lease incentives received (taken off the asset). Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "prepaid_payments": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Lease payments made before commencement, other than the first payment in advance. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "rou_life_periods": {
          "type": "integer",
          "maximum": 1200,
          "minimum": 1,
          "description": "Periods to depreciate the asset over: the lease term (the default) or the useful life when ownership transfers or a purchase option is reasonably certain. Allowed: >= 1 and <= 1200."
        },
        "commencement_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "2026-01-01"
          ],
          "description": "Commencement date of the lease."
        },
        "payments_per_year": {
          "enum": [
            "1",
            "2",
            "4",
            "12"
          ],
          "type": "string",
          "default": "1",
          "description": "How often payments are made. Options: 1: yearly; 2: half-yearly; 4: quarterly; 12: monthly"
        },
        "schedule_rounding": {
          "enum": [
            "ledger",
            "exact"
          ],
          "type": "string",
          "default": "ledger",
          "description": "How the schedule is rounded. Options: ledger: each period's interest and depreciation is rounded and the next period works from the rounded balance, as in a ledger; exact: each balance is the exact balance rounded, and each period's charge is the change in the rounded balances"
        },
        "number_of_payments": {
          "type": "integer",
          "maximum": 600,
          "minimum": 1,
          "examples": [
            10
          ],
          "description": "Number of payments over the lease term. Allowed: >= 1 and <= 600."
        },
        "initial_direct_costs": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Initial direct costs (added to the asset). Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "discount_rate_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "6"
          ],
          "description": "Annual discount rate: the rate implicit in the lease or your incremental borrowing rate. Allowed: >= 0 and <= 100. Unit: percent."
        },
        "annual_increase_percent": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Fixed yearly increase in the payments (each new year's payment is rounded like the results). Allowed: >= 0 and <= 100. Unit: percent."
        }
      },
      "additionalProperties": false
    }
    arguments 157 lines
  • calc_billing_discounts auth-required never probed

    Final price after several percentage and fixed-amount discounts, applied in order like Stripe's stacked coupons, with an optional cap. Applies a list of discounts to a price, one after another. A percentage discount takes that percentage of the price left after the earlier discounts, so order matters: 20% then 5 off is not the same as 5 off then 20%. This is how Stripe applies several coupons to a subscription. With additive stacking, every percentage is taken from the original price instead, so 20% and 10% make 30% off. Each discount is rounded to the cent when it is applied, the price never goes below 0, and max_total_discount caps the combined discount.

    mcp-tool

    {
      "type": "object",
      "required": [
        "subtotal",
        "discounts"
      ],
      "properties": {
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_up."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_up, decimals=2).",
          "additionalProperties": false
        },
        "stacking": {
          "enum": [
            "sequential",
            "additive"
          ],
          "type": "string",
          "default": "sequential",
          "description": "How percentage discounts combine. Options: sequential: each discount applies to the price left after the earlier ones (Stripe's stacked coupons); additive: each percentage is taken from the original subtotal"
        },
        "subtotal": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "100"
          ],
          "description": "The price before discounts. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "discounts": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 40
          },
          "examples": [
            [
              "20%",
              "5"
            ]
          ],
          "maxItems": 20,
          "minItems": 1,
          "description": "The discounts in the order they apply: a percentage such as \"20%\" or an amount off such as \"5\" (in the subtotal's currency). 1 to 20 items."
        },
        "max_total_discount": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Optional cap on the combined discount, like Stripe's \"percent off up to maximum\" coupon. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        }
      },
      "additionalProperties": false
    }
    arguments 74 lines
  • calc_billing_proration auth-required never probed

    Credit for unused time and charge for the remaining time when a subscription changes plan mid-period, prorated to the second like Stripe, or by hour, day or week. When a customer changes plan part-way through a billing period, they are credited the unused part of what they paid for the old plan and charged the remaining part of the new one. Both are the full-period amount times the fraction of the period left: (period end − change time) ÷ (period end − period start). By default this is exact to the second, as Stripe and Chargebee prorate; with an hour, day or week granularity the change time first moves to a boundary counted from the period start, like Stripe's custom-interval proration. The credit and the charge are each rounded, and the net is charge minus credit, as on the invoice.

    mcp-tool

    {
      "type": "object",
      "required": [
        "period_start",
        "period_end",
        "change_at",
        "old_amount",
        "new_amount"
      ],
      "properties": {
        "snap": {
          "enum": [
            "nearest",
            "up",
            "down"
          ],
          "type": "string",
          "default": "nearest",
          "description": "With an hour, day or week granularity, which boundary the change time moves to. Options: nearest: the closer boundary; exactly halfway goes to the later one; up: the next boundary: the old plan runs for the whole unit; down: the previous boundary: the new plan applies for the whole unit"
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_up."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_up, decimals=2).",
          "additionalProperties": false
        },
        "change_at": {
          "type": "string",
          "format": "date-time",
          "examples": [
            "2026-04-11T06:00:00Z"
          ],
          "description": "When the plan changes (Stripe's proration_date). Must be within the period."
        },
        "new_amount": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "60"
          ],
          "description": "What the new plan costs for a full period. 0 when cancelling or removing an item. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "old_amount": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "30"
          ],
          "description": "What the old plan costs for a full period (price × quantity, after discounts). In Stripe's flexible billing mode, use what was actually billed for the period. 0 when adding a new item. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "period_end": {
          "type": "string",
          "format": "date-time",
          "examples": [
            "2026-05-01T00:00:00Z"
          ],
          "description": "End of the current billing period (the next renewal)."
        },
        "granularity": {
          "enum": [
            "exact",
            "hour",
            "day",
            "week"
          ],
          "type": "string",
          "default": "exact",
          "description": "Unit of time the proration is counted in. Options: exact: to the second (to the microsecond if the times have one), as Stripe and Chargebee do by default; hour: whole hours from the period start; day: whole days from the period start; week: whole weeks from the period start"
        },
        "period_start": {
          "type": "string",
          "format": "date-time",
          "examples": [
            "2026-04-01T00:00:00Z"
          ],
          "description": "Start of the current billing period, ISO 8601 (2026-04-01T00:00:00Z). A time without an offset is read as UTC."
        }
      },
      "additionalProperties": false
    }
    arguments 100 lines
  • calc_excel_yearfrac auth-required never probed

    The fraction of a year between two dates under Excel's five day-count bases, including Excel's own actual/actual rule. YEARFRAC(start_date, end_date, [basis]). Basis 1 follows Excel exactly: within a year it divides by 365 or 366 (366 when the span includes 29 February); over longer spans it divides by the average length of the calendar years touched. Basis 0 treats the last day of February as the 30th. The order of the dates does not matter.

    mcp-tool

    {
      "type": "object",
      "required": [
        "start_date",
        "end_date"
      ],
      "properties": {
        "basis": {
          "type": "integer",
          "default": 0,
          "maximum": 4,
          "minimum": 0,
          "description": "Day count basis: 0 US (NASD) 30/360; 1 Actual/actual; 2 Actual/360; 3 Actual/365; 4 European 30/360. Allowed: >= 0 and <= 4."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        },
        "end_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "2012-07-30"
          ],
          "description": "End date."
        },
        "start_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "2012-01-01"
          ],
          "description": "Start date."
        }
      },
      "additionalProperties": false
    }
    arguments 65 lines
  • calc_date_age auth-required never probed

    Exact age in years, months and days, plus the next birthday, with an explicit rule for 29 February birthdays. Age on a given date as completed years, months and days. People born on 29 February reach a new age on 28 February in common years by default (the rule in New Zealand and Taiwan, and the one consistent with date arithmetic); choose mar1 for the 1 March rule used in the UK and Hong Kong.

    mcp-tool

    {
      "type": "object",
      "required": [
        "birth_date"
      ],
      "properties": {
        "on_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "2026-10-20"
          ],
          "description": "Date to calculate the age on. Defaults to today in UTC."
        },
        "birth_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "1990-05-15"
          ],
          "description": "Date of birth (YYYY-MM-DD)."
        },
        "leap_day_birthday": {
          "enum": [
            "feb28",
            "mar1"
          ],
          "type": "string",
          "default": "feb28",
          "description": "When someone born on 29 February has a birthday in a common year. Options: feb28: on 28 February; mar1: on 1 March"
        }
      },
      "additionalProperties": false
    }
    arguments 34 lines
  • calc_date_difference auth-required never probed

    Days, weeks, months, years and business days between two dates, or the exact time between two date-times across time zones and daylight saving changes. For two dates, returns the number of days (end minus start), the breakdown into years, months and days, and the number of business days. For two date-times, returns the exact elapsed time; each date-time needs a UTC offset or a time zone, and times that are skipped or repeated by daylight saving changes are reported instead of guessed.

    mcp-tool

    {
      "type": "object",
      "required": [
        "start",
        "end"
      ],
      "properties": {
        "end": {
          "type": "string",
          "examples": [
            "2026-12-25"
          ],
          "maxLength": 40,
          "description": "End date or date-time, same kind as start. At most 40 characters."
        },
        "start": {
          "type": "string",
          "examples": [
            "2026-01-01"
          ],
          "maxLength": 40,
          "description": "Start date (YYYY-MM-DD) or date-time (2026-03-29T01:30:00+01:00). At most 40 characters."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        },
        "weekend": {
          "enum": [
            "sat_sun",
            "fri_sat",
            "sun",
            "fri",
            "none"
          ],
          "type": "string",
          "default": "sat_sun",
          "description": "Days that are not business days. Options: sat_sun: Saturday and Sunday; fri_sat: Friday and Saturday; sun: Sunday only; fri: Friday only; none: no weekend days"
        },
        "holidays": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "date"
          },
          "maxItems": 1000,
          "minItems": 0,
          "description": "Dates that are not business days. Up to 1000 items."
        },
        "timezone": {
          "type": "string",
          "description": "IANA time zone for date-times without an offset, e.g. America/New_York."
        },
        "include_end_date": {
          "type": "boolean",
          "default": false,
          "description": "Count the end date too (so Monday to Friday is 5 days, like spreadsheet NETWORKDAYS)."
        }
      },
      "additionalProperties": false
    }
    arguments 89 lines
  • calc_date_holidays auth-required never probed

    The public holidays of a country or region in a year, worked out from the rules in its law, with the official source. Lists the public holidays of a year for the United States (federal), the United Kingdom (England and Wales, Scotland, Northern Ireland), Germany (nationwide and each of the 16 states), France, the Netherlands, Ireland, Belgium, Austria and Italy. Dates come from the rules themselves: fixed dates, weekday rules such as the last Monday in May, and days counted from Easter. UK substitute days and the day US federal offices close when a holiday falls at a weekend are included. Countries that set some holidays year by year, by decree or by the moon, are not covered, because those dates cannot be worked out ahead.

    mcp-tool

    {
      "type": "object",
      "required": [
        "calendar",
        "year"
      ],
      "properties": {
        "year": {
          "type": "integer",
          "maximum": 2030,
          "minimum": 2020,
          "examples": [
            2027
          ],
          "description": "The year. Allowed: >= 2020 and <= 2030."
        },
        "calendar": {
          "enum": [
            "US",
            "GB-ENG",
            "GB-SCT",
            "GB-NIR",
            "DE",
            "DE-BW",
            "DE-BY",
            "DE-BE",
            "DE-BB",
            "DE-HB",
            "DE-HH",
            "DE-HE",
            "DE-MV",
            "DE-NI",
            "DE-NW",
            "DE-RP",
            "DE-SL",
            "DE-SN",
            "DE-ST",
            "DE-SH",
            "DE-TH",
            "FR",
            "NL",
            "IE",
            "BE",
            "AT",
            "IT"
          ],
          "type": "string",
          "examples": [
            "GB-ENG"
          ],
          "description": "The country or region. Options: US: United States (federal holidays); GB-ENG: United Kingdom: England and Wales; GB-SCT: United Kingdom: Scotland; GB-NIR: United Kingdom: Northern Ireland; DE: Germany (the nine nationwide holidays); DE-BW: Germany: Baden-Württemberg; DE-BY: Germany: Bavaria; DE-BE: Germany: Berlin; DE-BB: Germany: Brandenburg; DE-HB: Germany: Bremen; DE-HH: Germany: Hamburg; DE-HE: Germany: Hesse; DE-MV: Germany: Mecklenburg-Vorpommern; DE-NI: Germany: Lower Saxony; DE-NW: Germany: North Rhine-Westphalia; DE-RP: Germany: Rhineland-Palatinate; DE-SL: Germany: Saarland; DE-SN: Germany: Saxony; DE-ST: Germany: Saxony-Anhalt; DE-SH: Germany: Schleswig-Holstein; DE-TH: Germany: Thuringia; FR: France (mainland); NL: Netherlands; IE: Ireland; BE: Belgium; AT: Austria; IT: Italy"
        }
      },
      "additionalProperties": false
    }
    arguments 55 lines
  • calc_date_timezone_convert auth-required never probed

    A moment in up to 25 time zones at once, with each zone's UTC offset and whether daylight saving time applies, from the IANA time zone database. Converts a date and time to other time zones. Give the moment with a UTC offset, or as a local time with the zone it is in, and the zones you want. Each answer has the local date and time, the day of the week, the UTC offset in force at that moment and whether daylight saving time applies. A local time that does not exist (the clocks skip it) or happens twice (the clocks go back) is refused with an explanation instead of being guessed.

    mcp-tool

    {
      "type": "object",
      "required": [
        "datetime",
        "to_timezones"
      ],
      "properties": {
        "datetime": {
          "type": "string",
          "format": "date-time",
          "examples": [
            "2026-03-29T09:00:00"
          ],
          "description": "The moment: an ISO 8601 date-time with a UTC offset, or a local time in from_timezone."
        },
        "to_timezones": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 64
          },
          "examples": [
            [
              "America/New_York",
              "Asia/Kolkata",
              "UTC"
            ]
          ],
          "maxItems": 25,
          "minItems": 1,
          "description": "The IANA time zones to convert to, such as America/New_York. 1 to 25 items."
        },
        "from_timezone": {
          "type": "string",
          "examples": [
            "Europe/Berlin"
          ],
          "description": "The IANA time zone of a datetime that has no UTC offset."
        }
      },
      "additionalProperties": false
    }
    arguments 42 lines
  • calc_date_working_days auth-required never probed

    Working days between two dates, or the date a number of working days away, leaving out weekends and a country's public holidays. Counts the working days between two dates, or finds the date that lies a number of working days after (or before) a start date. Weekends and the public holidays of the chosen country or region are left out, and you can add your own closing days. The answer lists the holidays it skipped, so the count can be checked by hand.

    mcp-tool

    {
      "type": "object",
      "required": [
        "start"
      ],
      "properties": {
        "end": {
          "type": "string",
          "format": "date",
          "description": "The end date, to count working days."
        },
        "start": {
          "type": "string",
          "format": "date",
          "examples": [
            "2026-12-21"
          ],
          "description": "The start date."
        },
        "weekend": {
          "enum": [
            "sat_sun",
            "fri_sat",
            "sun",
            "fri",
            "none"
          ],
          "type": "string",
          "default": "sat_sun",
          "description": "Days of the week that are not worked. Options: sat_sun: Saturday and Sunday; fri_sat: Friday and Saturday; sun: Sunday only; fri: Friday only; none: no weekend days"
        },
        "add_days": {
          "type": "integer",
          "maximum": 2500,
          "minimum": -2500,
          "examples": [
            5
          ],
          "description": "Working days to move from start, to find a date; negative to go back. The start date itself is not counted. Allowed: >= -2500 and <= 2500."
        },
        "calendar": {
          "enum": [
            "US",
            "GB-ENG",
            "GB-SCT",
            "GB-NIR",
            "DE",
            "DE-BW",
            "DE-BY",
            "DE-BE",
            "DE-BB",
            "DE-HB",
            "DE-HH",
            "DE-HE",
            "DE-MV",
            "DE-NI",
            "DE-NW",
            "DE-RP",
            "DE-SL",
            "DE-SN",
            "DE-ST",
            "DE-SH",
            "DE-TH",
            "FR",
            "NL",
            "IE",
            "BE",
            "AT",
            "IT"
          ],
          "type": "string",
          "description": "The public holidays to leave out (2020 to 2030). Omit it to count only weekends and extra_holidays. Options: US: United States (federal holidays); GB-ENG: United Kingdom: England and Wales; GB-SCT: United Kingdom: Scotland; GB-NIR: United Kingdom: Northern Ireland; DE: Germany (the nine nationwide holidays); DE-BW: Germany: Baden-Württemberg; DE-BY: Germany: Bavaria; DE-BE: Germany: Berlin; DE-BB: Germany: Brandenburg; DE-HB: Germany: Bremen; DE-HH: Germany: Hamburg; DE-HE: Germany: Hesse; DE-MV: Germany: Mecklenburg-Vorpommern; DE-NI: Germany: Lower Saxony; DE-NW: Germany: North Rhine-Westphalia; DE-RP: Germany: Rhineland-Palatinate; DE-SL: Germany: Saarland; DE-SN: Germany: Saxony; DE-ST: Germany: Saxony-Anhalt; DE-SH: Germany: Schleswig-Holstein; DE-TH: Germany: Thuringia; FR: France (mainland); NL: Netherlands; IE: Ireland; BE: Belgium; AT: Austria; IT: Italy"
        },
        "extra_holidays": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "date"
          },
          "maxItems": 1000,
          "minItems": 0,
          "description": "More days that are not worked, such as company closing days. Up to 1000 items."
        },
        "include_end_date": {
          "type": "boolean",
          "default": false,
          "description": "When counting: whether the end date counts too. Without it the count runs from start up to the day before end."
        }
      },
      "additionalProperties": false
    }
    arguments 91 lines
  • calc_date_working_hours auth-required never probed

    The deadline a number of working hours after a start, or the working time between two moments, with office hours, weekends, public holidays and time zones. Answers the two questions a service-level agreement asks. When is the deadline, if a ticket opened now must be answered within 8 working hours? And how much working time passed between the moment it opened and the moment it closed? Working time is the office hours you give, in the office's time zone, on days that are not a weekend day, a public holiday of the chosen calendar or one of your own closing days. Time outside office hours does not count: a ticket opened on Friday evening starts its clock on Monday morning.

    mcp-tool

    {
      "type": "object",
      "required": [
        "start",
        "timezone"
      ],
      "properties": {
        "end": {
          "type": "string",
          "format": "date-time",
          "description": "When the clock stops, to measure the working time."
        },
        "start": {
          "type": "string",
          "format": "date-time",
          "examples": [
            "2026-12-24T15:30:00"
          ],
          "description": "When the clock starts: a date-time with a UTC offset, or a local time in timezone."
        },
        "day_end": {
          "type": "string",
          "default": "17:00",
          "maxLength": 5,
          "description": "When work ends each day, as HH:MM; 24:00 for midnight. At most 5 characters."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=4).",
          "additionalProperties": false
        },
        "weekend": {
          "enum": [
            "sat_sun",
            "fri_sat",
            "sun",
            "fri",
            "none"
          ],
          "type": "string",
          "default": "sat_sun",
          "description": "Days of the week that are not worked. Options: sat_sun: Saturday and Sunday; fri_sat: Friday and Saturday; sun: Sunday only; fri: Friday only; none: no weekend days"
        },
        "calendar": {
          "enum": [
            "US",
            "GB-ENG",
            "GB-SCT",
            "GB-NIR",
            "DE",
            "DE-BW",
            "DE-BY",
            "DE-BE",
            "DE-BB",
            "DE-HB",
            "DE-HH",
            "DE-HE",
            "DE-MV",
            "DE-NI",
            "DE-NW",
            "DE-RP",
            "DE-SL",
            "DE-SN",
            "DE-ST",
            "DE-SH",
            "DE-TH",
            "FR",
            "NL",
            "IE",
            "BE",
            "AT",
            "IT"
          ],
          "type": "string",
          "description": "The public holidays to leave out (2020 to 2030). Omit it to count only weekends and extra_holidays. Options: US: United States (federal holidays); GB-ENG: United Kingdom: England and Wales; GB-SCT: United Kingdom: Scotland; GB-NIR: United Kingdom: Northern Ireland; DE: Germany (the nine nationwide holidays); DE-BW: Germany: Baden-Württemberg; DE-BY: Germany: Bavaria; DE-BE: Germany: Berlin; DE-BB: Germany: Brandenburg; DE-HB: Germany: Bremen; DE-HH: Germany: Hamburg; DE-HE: Germany: Hesse; DE-MV: Germany: Mecklenburg-Vorpommern; DE-NI: Germany: Lower Saxony; DE-NW: Germany: North Rhine-Westphalia; DE-RP: Germany: Rhineland-Palatinate; DE-SL: Germany: Saarland; DE-SN: Germany: Saxony; DE-ST: Germany: Saxony-Anhalt; DE-SH: Germany: Schleswig-Holstein; DE-TH: Germany: Thuringia; FR: France (mainland); NL: Netherlands; IE: Ireland; BE: Belgium; AT: Austria; IT: Italy"
        },
        "timezone": {
          "type": "string",
          "examples": [
            "Europe/London"
          ],
          "description": "The IANA time zone the office hours are in."
        },
        "add_hours": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "8"
          ],
          "description": "Working hours allowed, to find the deadline. Allowed: >= 0 and <= 20000. Unit: hours."
        },
        "day_start": {
          "type": "string",
          "default": "09:00",
          "maxLength": 5,
          "description": "When work starts each day, as HH:MM. At most 5 characters."
        },
        "extra_holidays": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "date"
          },
          "maxItems": 1000,
          "minItems": 0,
          "description": "More days that are not worked, such as company closing days. Up to 1000 items."
        }
      },
      "additionalProperties": false
    }
    arguments 137 lines
  • calc_everyday_discount auth-required never probed

    Sale price after a percentage or fixed discount, an optional stacked second discount and sales tax. Applies a discount (percent or amount), then an optional second percentage discount on the reduced price (the way '20% off, then an extra 10%' works in shops), then sales tax. Each money amount is rounded to the cent and the totals are built from those rounded amounts, so the figures always add up.

    mcp-tool

    {
      "type": "object",
      "required": [
        "price"
      ],
      "properties": {
        "price": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "80"
          ],
          "description": "Original price. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=2).",
          "additionalProperties": false
        },
        "discount_amount": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Discount as an amount. Give this or discount_percent. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "discount_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "25"
          ],
          "description": "Discount in percent. Give this or discount_amount. Allowed: >= 0 and <= 100. Unit: percent."
        },
        "sales_tax_percent": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Sales tax added after the discounts. Allowed: >= 0 and <= 100. Unit: percent."
        },
        "additional_discount_percent": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "Second discount applied to the already reduced price. Allowed: >= 0 and <= 100. Unit: percent."
        }
      },
      "additionalProperties": false
    }
    arguments 68 lines
  • calc_excel_cumipmt auth-required never probed

    Total interest paid on a loan from one period to another, as Excel's CUMIPMT. CUMIPMT(rate, nper, pv, start_period, end_period, type).

    mcp-tool

    {
      "type": "object",
      "required": [
        "rate",
        "nper",
        "pv",
        "start_period",
        "end_period",
        "type"
      ],
      "properties": {
        "pv": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "125000"
          ],
          "description": "Present value (the loan amount). A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 1000000000000000."
        },
        "nper": {
          "type": "integer",
          "maximum": 12000,
          "minimum": 1,
          "examples": [
            360
          ],
          "description": "Total number of payment periods. Allowed: >= 1 and <= 12000."
        },
        "rate": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "0.08/12"
          ],
          "description": "Interest rate per period, as a decimal (0.005 for 0.5%). Write a monthly rate from an annual one as \"0.06/12\". A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 1000."
        },
        "type": {
          "type": "integer",
          "maximum": 1,
          "minimum": 0,
          "description": "0: payments at the end of each period; 1: at the beginning. Allowed: >= 0 and <= 1."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        },
        "end_period": {
          "type": "integer",
          "maximum": 12000,
          "minimum": 1,
          "examples": [
            24
          ],
          "description": "Last period to include. Allowed: >= 1 and <= 12000."
        },
        "start_period": {
          "type": "integer",
          "maximum": 12000,
          "minimum": 1,
          "examples": [
            13
          ],
          "description": "First period to include (periods start at 1). Allowed: >= 1 and <= 12000."
        }
      },
      "additionalProperties": false
    }
    arguments 95 lines
  • calc_finance_apr_us_reg_z auth-required never probed

    The annual percentage rate of a closed-end loan the way Regulation Z Appendix J defines it (actuarial method), with odd first periods and the accuracy tolerance. Computes the APR that US lenders must disclose under the Truth in Lending Act, using the actuarial method of Regulation Z, Appendix J: the rate per unit-period at which the payments, discounted back to consummation, equal the amount financed, times the number of unit-periods in a year. An odd first period is counted the way Appendix J counts it: full months back from the first payment date and the remaining days divided by 30, with simple interest for the fraction. Single-payment loans use the term as the unit-period. The equation is solved exactly and the APR is correctly rounded; the response also gives the finance charge and whether the 1/8 or 1/4 percentage point tolerance applies.

    mcp-tool

    {
      "type": "object",
      "required": [
        "amount_financed",
        "payment_amounts"
      ],
      "properties": {
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_up."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_up, decimals=2).",
          "additionalProperties": false
        },
        "payment_counts": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$"
          },
          "examples": [
            [
              "24"
            ]
          ],
          "maxItems": 100,
          "minItems": 0,
          "description": "How many payments of each amount in payment_amounts (whole numbers, same order). Omit it when every amount is a single payment. Up to 100 items. Each item: >= 1 and <= 1200."
        },
        "amount_financed": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "5000"
          ],
          "description": "The amount financed: the credit the borrower receives, after any prepaid finance charges. Allowed: > 0 and <= 1000000000000000. Unit: currency."
        },
        "payment_amounts": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$"
          },
          "examples": [
            [
              "230"
            ]
          ],
          "maxItems": 100,
          "minItems": 1,
          "description": "The payments in order. Give one amount per group of equal payments and the group sizes in payment_counts, e.g. [\"210.71\", \"220.25\"] with [24, 36]; without payment_counts each amount is one payment. 1 to 100 items. Each item: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "consummation_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "2026-01-12"
          ],
          "description": "When the loan is made (the finance charge starts). Give it with first_payment_date to count an odd first period; without both, the first payment is one full period after consummation."
        },
        "payment_frequency": {
          "enum": [
            "monthly",
            "semimonthly",
            "biweekly",
            "weekly",
            "quarterly",
            "semiannually",
            "annually"
          ],
          "type": "string",
          "default": "monthly",
          "description": "How often payments are due; this is the unit-period. Options: monthly: 12 a year; semimonthly: 24 a year; biweekly: every 2 weeks, 26 a year; weekly: 52 a year; quarterly: 4 a year; semiannually: 2 a year; annually: once a year"
        },
        "first_payment_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "2026-02-15"
          ],
          "description": "When the first payment is due. Later payments follow at the payment frequency."
        },
        "month_end_payments": {
          "type": "boolean",
          "default": false,
          "description": "Payments are due on the last day of each month, so months are counted from month end to month end (Appendix J (b)(3)(iv))."
        }
      },
      "additionalProperties": false
    }
    arguments 109 lines
  • calc_excel_days360 auth-required never probed

    Days between two dates on a 360-day year, by the US (NASD) or European method, as Excel's DAYS360. DAYS360(start_date, end_date, [method]). US method (false): a start date on the last day of a month becomes the 30th; an end date on the 31st becomes the 1st of the next month if the start day is before the 30th, otherwise the 30th. European method (true): every 31st becomes the 30th.

    mcp-tool

    {
      "type": "object",
      "required": [
        "start_date",
        "end_date"
      ],
      "properties": {
        "method": {
          "type": "boolean",
          "default": false,
          "description": "false: US (NASD) method; true: European method."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=0).",
          "additionalProperties": false
        },
        "end_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "2011-12-31"
          ],
          "description": "End date."
        },
        "start_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "2011-01-01"
          ],
          "description": "Start date."
        }
      },
      "additionalProperties": false
    }
    arguments 63 lines
  • calc_excel_db auth-required never probed

    Fixed-declining balance depreciation for one period, as Excel's DB, including its three-decimal rate and part-year first and last periods. DB(cost, salvage, life, period, [month]). The rate 1 − (salvage/cost)^(1/life) is rounded to three decimals, as Excel does. The first period covers month months; when month < 12 there is a final period life + 1 for the remainder.

    mcp-tool

    {
      "type": "object",
      "required": [
        "cost",
        "salvage",
        "life",
        "period"
      ],
      "properties": {
        "cost": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "2400"
          ],
          "description": "Initial cost of the asset. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= 0 and <= 1000000000000000."
        },
        "life": {
          "type": "integer",
          "maximum": 1200,
          "minimum": 1,
          "examples": [
            6
          ],
          "description": "Life in years (whole years). Allowed: >= 1 and <= 1200."
        },
        "month": {
          "type": "integer",
          "default": 12,
          "maximum": 12,
          "minimum": 1,
          "description": "Months in the first year (default 12). Allowed: >= 1 and <= 12."
        },
        "period": {
          "type": "integer",
          "maximum": 1201,
          "minimum": 1,
          "examples": [
            1
          ],
          "description": "The period (year) to calculate, from 1. Allowed: >= 1 and <= 1201."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        },
        "salvage": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "300"
          ],
          "description": "Value at the end of its life (can be 0). A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= 0 and <= 1000000000000000."
        }
      },
      "additionalProperties": false
    }
    arguments 85 lines
  • calc_excel_mduration auth-required never probed

    The modified Macaulay duration of a bond with periodic coupons, as Excel's MDURATION: the percentage change in price for a change in yield. MDURATION(settlement, maturity, coupon, yld, frequency, [basis]): the modified duration for an assumed par value of 100, which is DURATION divided by 1 + yld/frequency. A modified duration of 5.7 means the price falls by about 5.7% when the yield rises by one percentage point.

    mcp-tool

    {
      "type": "object",
      "required": [
        "settlement",
        "maturity",
        "coupon",
        "yld",
        "frequency"
      ],
      "properties": {
        "yld": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "0.09"
          ],
          "description": "Annual yield as a decimal. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= 0 and <= 100."
        },
        "basis": {
          "type": "integer",
          "default": 0,
          "maximum": 4,
          "minimum": 0,
          "description": "Day count basis: 0 US (NASD) 30/360; 1 Actual/actual; 2 Actual/360; 3 Actual/365; 4 European 30/360. Allowed: >= 0 and <= 4."
        },
        "coupon": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "0.08"
          ],
          "description": "Annual coupon rate as a decimal. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= 0 and <= 100."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        },
        "maturity": {
          "type": "string",
          "format": "date",
          "examples": [
            "2048-01-01"
          ],
          "description": "Maturity date."
        },
        "frequency": {
          "type": "integer",
          "maximum": 4,
          "minimum": 1,
          "examples": [
            2
          ],
          "description": "Coupons per year: 1, 2 or 4. Allowed: >= 1 and <= 4."
        },
        "settlement": {
          "type": "string",
          "format": "date",
          "examples": [
            "2018-07-01"
          ],
          "description": "Settlement date (when the buyer gets the bond)."
        }
      },
      "additionalProperties": false
    }
    arguments 93 lines
  • calc_excel_ddb auth-required never probed

    Double-declining (or any factor) balance depreciation for one period, as Excel's DDB. DDB(cost, salvage, life, period, [factor]) = min((cost − prior depreciation)·factor/life, cost − salvage − prior depreciation).

    mcp-tool

    {
      "type": "object",
      "required": [
        "cost",
        "salvage",
        "life",
        "period"
      ],
      "properties": {
        "cost": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "2400"
          ],
          "description": "Initial cost of the asset. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= 0 and <= 1000000000000000."
        },
        "life": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "10"
          ],
          "description": "Number of periods over which the asset is depreciated. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 10000."
        },
        "factor": {
          "type": "string",
          "default": "2",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "description": "Rate at which the balance declines (2 is double-declining). A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 1000."
        },
        "period": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "1"
          ],
          "description": "The period, in the same unit as life. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 10000."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        },
        "salvage": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "300"
          ],
          "description": "Value at the end of its life (can be 0). A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= 0 and <= 1000000000000000."
        }
      },
      "additionalProperties": false
    }
    arguments 82 lines
  • calc_excel_duration auth-required never probed

    The Macaulay duration of a bond with periodic coupons, as Excel's DURATION: the average time to its payments, weighted by their present value. DURATION(settlement, maturity, coupon, yld, frequency, [basis]): the Macaulay duration in years for an assumed par value of 100. It is the weighted average of the times at which the bond pays, each weighted by the present value of that payment at the given yield, and measures how sensitive the price is to the yield.

    mcp-tool

    {
      "type": "object",
      "required": [
        "settlement",
        "maturity",
        "coupon",
        "yld",
        "frequency"
      ],
      "properties": {
        "yld": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "0.09"
          ],
          "description": "Annual yield as a decimal. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= 0 and <= 100."
        },
        "basis": {
          "type": "integer",
          "default": 0,
          "maximum": 4,
          "minimum": 0,
          "description": "Day count basis: 0 US (NASD) 30/360; 1 Actual/actual; 2 Actual/360; 3 Actual/365; 4 European 30/360. Allowed: >= 0 and <= 4."
        },
        "coupon": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "0.08"
          ],
          "description": "Annual coupon rate as a decimal. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= 0 and <= 100."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        },
        "maturity": {
          "type": "string",
          "format": "date",
          "examples": [
            "2048-01-01"
          ],
          "description": "Maturity date."
        },
        "frequency": {
          "type": "integer",
          "maximum": 4,
          "minimum": 1,
          "examples": [
            2
          ],
          "description": "Coupons per year: 1, 2 or 4. Allowed: >= 1 and <= 4."
        },
        "settlement": {
          "type": "string",
          "format": "date",
          "examples": [
            "2018-07-01"
          ],
          "description": "Settlement date (when the buyer gets the bond)."
        }
      },
      "additionalProperties": false
    }
    arguments 93 lines
  • calc_excel_yield auth-required never probed

    The yield of a bond paying periodic coupons, from its price, as Excel's YIELD, proven correct to the last digit. YIELD(settlement, maturity, rate, pr, redemption, frequency, [basis]): the yield at which PRICE gives pr. With one coupon or less left it is Microsoft's closed form; otherwise the root of the PRICE equation.

    mcp-tool

    {
      "type": "object",
      "required": [
        "settlement",
        "maturity",
        "rate",
        "pr",
        "redemption",
        "frequency"
      ],
      "properties": {
        "pr": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "95.04287"
          ],
          "description": "Clean price per 100 of face value. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 1000000."
        },
        "rate": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "0.0575"
          ],
          "description": "Annual coupon rate as a decimal. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= 0 and <= 100."
        },
        "basis": {
          "type": "integer",
          "default": 0,
          "maximum": 4,
          "minimum": 0,
          "description": "Day count basis: 0 US (NASD) 30/360; 1 Actual/actual; 2 Actual/360; 3 Actual/365; 4 European 30/360. Allowed: >= 0 and <= 4."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        },
        "maturity": {
          "type": "string",
          "format": "date",
          "examples": [
            "2017-11-15"
          ],
          "description": "Maturity date."
        },
        "frequency": {
          "type": "integer",
          "maximum": 4,
          "minimum": 1,
          "examples": [
            2
          ],
          "description": "Coupons per year: 1, 2 or 4. Allowed: >= 1 and <= 4."
        },
        "redemption": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "100"
          ],
          "description": "Redemption value per 100 of face value. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 1000000."
        },
        "settlement": {
          "type": "string",
          "format": "date",
          "examples": [
            "2008-02-15"
          ],
          "description": "Settlement date (when the buyer gets the bond)."
        }
      },
      "additionalProperties": false
    }
    arguments 102 lines
  • calc_excel_eomonth auth-required never probed

    The last day of the month a number of months before or after a date, as Excel's EOMONTH. EOMONTH(start_date, months).

    mcp-tool

    {
      "type": "object",
      "required": [
        "start_date",
        "months"
      ],
      "properties": {
        "months": {
          "type": "integer",
          "maximum": 120000,
          "minimum": -120000,
          "examples": [
            1
          ],
          "description": "Months to move: positive for later, negative for earlier. Allowed: >= -120000 and <= 120000."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=0).",
          "additionalProperties": false
        },
        "start_date": {
          "type": "string",
          "format": "date",
          "examples": [
            "2011-01-01"
          ],
          "description": "Start date."
        }
      },
      "additionalProperties": false
    }
    arguments 59 lines
  • calc_excel_fv auth-required never probed

    The future value of an investment with equal payments, the same as Excel's FV. FV(rate, nper, pmt, [pv], [type]): the balance after nper periods.

    mcp-tool

    {
      "type": "object",
      "required": [
        "rate",
        "nper",
        "pmt"
      ],
      "properties": {
        "pv": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "description": "Present value: the amount now. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000."
        },
        "pmt": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "-200"
          ],
          "description": "Payment made each period (negative when you pay). A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000."
        },
        "nper": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "10"
          ],
          "description": "Total number of payment periods. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 12000."
        },
        "rate": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "0.08/12"
          ],
          "description": "Interest rate per period, as a decimal (0.005 for 0.5%). Write a monthly rate from an annual one as \"0.06/12\". A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > -1 and <= 1000."
        },
        "type": {
          "type": "integer",
          "default": 0,
          "maximum": 1,
          "minimum": 0,
          "description": "When payments are due: 0 at the end of each period, 1 at the beginning. Allowed: >= 0 and <= 1."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    }
    arguments 80 lines
  • calc_excel_ppmt auth-required never probed

    The principal repaid in one period of a loan, the same as Excel's PPMT. PPMT(rate, per, nper, pv, [fv], [type]) = PMT − IPMT for that period.

    mcp-tool

    {
      "type": "object",
      "required": [
        "rate",
        "per",
        "nper",
        "pv"
      ],
      "properties": {
        "fv": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "description": "Future value wanted after the last payment. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000."
        },
        "pv": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "10000"
          ],
          "description": "Present value: the amount now (a loan you receive is positive). A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000."
        },
        "per": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "1"
          ],
          "description": "The period you want, from 1 to nper. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= 1 and <= 12000."
        },
        "nper": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "10"
          ],
          "description": "Total number of payment periods. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 12000."
        },
        "rate": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "0.08/12"
          ],
          "description": "Interest rate per period, as a decimal (0.005 for 0.5%). Write a monthly rate from an annual one as \"0.06/12\". A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > -1 and <= 1000."
        },
        "type": {
          "type": "integer",
          "default": 0,
          "maximum": 1,
          "minimum": 0,
          "description": "When payments are due: 0 at the end of each period, 1 at the beginning. Allowed: >= 0 and <= 1."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    }
    arguments 89 lines
  • calc_excel_price auth-required never probed

    The clean price per 100 of a bond paying periodic coupons, from its yield, as Excel's PRICE. PRICE(settlement, maturity, rate, yld, redemption, frequency, [basis]). Coupon dates count back from maturity in steps of 12/frequency months (a month-end maturity keeps every coupon on a month end). The accrued interest is subtracted, so this is the clean price.

    mcp-tool

    {
      "type": "object",
      "required": [
        "settlement",
        "maturity",
        "rate",
        "yld",
        "redemption",
        "frequency"
      ],
      "properties": {
        "yld": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "0.065"
          ],
          "description": "Annual yield as a decimal. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= 0 and <= 100."
        },
        "rate": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "0.0575"
          ],
          "description": "Annual coupon rate as a decimal. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= 0 and <= 100."
        },
        "basis": {
          "type": "integer",
          "default": 0,
          "maximum": 4,
          "minimum": 0,
          "description": "Day count basis: 0 US (NASD) 30/360; 1 Actual/actual; 2 Actual/360; 3 Actual/365; 4 European 30/360. Allowed: >= 0 and <= 4."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        },
        "maturity": {
          "type": "string",
          "format": "date",
          "examples": [
            "2017-11-15"
          ],
          "description": "Maturity date."
        },
        "frequency": {
          "type": "integer",
          "maximum": 4,
          "minimum": 1,
          "examples": [
            2
          ],
          "description": "Coupons per year: 1, 2 or 4. Allowed: >= 1 and <= 4."
        },
        "redemption": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "100"
          ],
          "description": "Redemption value per 100 of face value. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 1000000."
        },
        "settlement": {
          "type": "string",
          "format": "date",
          "examples": [
            "2008-02-15"
          ],
          "description": "Settlement date (when the buyer gets the bond)."
        }
      },
      "additionalProperties": false
    }
    arguments 102 lines
  • calc_excel_pv auth-required never probed

    The present value of a series of equal payments, the same as Excel's PV. PV(rate, nper, pmt, [fv], [type]): what the payments (and fv) are worth now.

    mcp-tool

    {
      "type": "object",
      "required": [
        "rate",
        "nper",
        "pmt"
      ],
      "properties": {
        "fv": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "description": "Future value wanted after the last payment. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000."
        },
        "pmt": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "-200"
          ],
          "description": "Payment made each period (negative when you pay). A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000."
        },
        "nper": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "10"
          ],
          "description": "Total number of payment periods. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 12000."
        },
        "rate": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "0.08/12"
          ],
          "description": "Interest rate per period, as a decimal (0.005 for 0.5%). Write a monthly rate from an annual one as \"0.06/12\". A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > -1 and <= 1000."
        },
        "type": {
          "type": "integer",
          "default": 0,
          "maximum": 1,
          "minimum": 0,
          "description": "When payments are due: 0 at the end of each period, 1 at the beginning. Allowed: >= 0 and <= 1."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    }
    arguments 80 lines
  • calc_excel_rate auth-required never probed

    The interest rate per period of a loan or annuity, as Excel's RATE, proven correct to the last digit. RATE(nper, pmt, pv, [fv], [type], [guess]): the rate that solves the annuity equation. Excel iterates up to 20 times and can fail with #NUM!; here every rate above −100% is found and the one closest to guess is returned.

    mcp-tool

    {
      "type": "object",
      "required": [
        "nper",
        "pmt",
        "pv"
      ],
      "properties": {
        "fv": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "description": "Future value. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000."
        },
        "pv": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "8000"
          ],
          "description": "Present value. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000."
        },
        "pmt": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "-200"
          ],
          "description": "Payment made each period. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: >= -1000000000000000 and <= 1000000000000000."
        },
        "nper": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "examples": [
            "10"
          ],
          "description": "Total number of payment periods. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > 0 and <= 12000."
        },
        "type": {
          "type": "integer",
          "default": 0,
          "maximum": 1,
          "minimum": 0,
          "description": "When payments are due: 0 at the end of each period, 1 at the beginning. Allowed: >= 0 and <= 1."
        },
        "guess": {
          "type": "string",
          "default": "0.1",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?(/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?)?$",
          "description": "Your guess for the rate (Excel's default 0.1). Only used to choose between several solutions. A ratio of two decimals such as \"0.08/12\" is accepted. Allowed: > -1 and <= 1000."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    }
    arguments 86 lines
  • calc_finance_mortgage_affordability auth-required never probed

    The largest loan and home price an income supports, from housing and debt-to-income ratios you set (28% and 36% by default). Lenders compare monthly payments with gross monthly income. This calculator takes two limits: the share of income that may go to housing costs, and the share that may go to all debt payments together. It finds the largest housing payment that meets both, takes off property tax, insurance and fees, and turns what is left into the loan that a level monthly payment repays at the given rate and term. The ratios are inputs because lenders and loan programmes use different ones.

    mcp-tool

    {
      "type": "object",
      "required": [
        "gross_monthly_income",
        "annual_rate_percent",
        "term_years"
      ],
      "properties": {
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=2).",
          "additionalProperties": false
        },
        "term_years": {
          "type": "integer",
          "maximum": 50,
          "minimum": 1,
          "examples": [
            30
          ],
          "description": "The mortgage term in years. Allowed: >= 1 and <= 50."
        },
        "down_payment": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "40000"
          ],
          "description": "Cash paid towards the price. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "debt_ratio_percent": {
          "type": "string",
          "default": "36",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "The most of gross income that may go to housing costs and other debts together (the back-end or debt-to-income ratio). Allowed: > 0 and <= 100. Unit: percent."
        },
        "annual_rate_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "6.5"
          ],
          "description": "The mortgage's annual interest rate. Allowed: >= 0 and <= 100. Unit: percent."
        },
        "gross_monthly_income": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "6000"
          ],
          "description": "Income per month before tax. Allowed: > 0 and <= 1000000000000000. Unit: currency."
        },
        "housing_ratio_percent": {
          "type": "string",
          "default": "28",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "description": "The most of gross income that may go to housing costs (the front-end ratio). Allowed: > 0 and <= 100. Unit: percent."
        },
        "monthly_debt_payments": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "500"
          ],
          "description": "Other debt payments per month: car loans, student loans, credit card minimums. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "monthly_taxes_insurance_and_fees": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "450"
          ],
          "description": "Property tax, home insurance, mortgage insurance and association fees per month. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        }
      },
      "additionalProperties": false
    }
    arguments 101 lines
  • calc_finance_npv auth-required never probed

    Net present value of a series of periodic cash flows at a discount rate. Discounts each cash flow to today and adds them up: NPV = Σ CFₜ / (1 + r)ᵗ. By default the first cash flow happens now (t = 0) and is not discounted, the usual finance-textbook convention. Choose first_cash_flow_at = t1 to match spreadsheet NPV() functions, which discount the first value by one period.

    mcp-tool

    {
      "type": "object",
      "required": [
        "discount_rate_percent",
        "cash_flows"
      ],
      "properties": {
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=2).",
          "additionalProperties": false
        },
        "cash_flows": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$"
          },
          "examples": [
            [
              "-10000",
              "3000",
              "4200",
              "6800"
            ]
          ],
          "maxItems": 600,
          "minItems": 1,
          "description": "Cash flows in time order, one per period. Money paid out is negative, money received is positive. 1 to 600 items. Each item: >= -1000000000000000 and <= 1000000000000000."
        },
        "first_cash_flow_at": {
          "enum": [
            "t0",
            "t1"
          ],
          "type": "string",
          "default": "t0",
          "description": "When the first cash flow happens. Options: t0: now, not discounted (finance convention); t1: at the end of the first period (spreadsheet NPV convention)"
        },
        "discount_rate_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "10"
          ],
          "description": "Discount rate per period, in percent. Allowed: > -100 and <= 1000. Unit: percent."
        }
      },
      "additionalProperties": false
    }
    arguments 71 lines
  • calc_finance_refinance_break_even auth-required never probed

    How many months of lower payments it takes to earn back the closing costs of a refinance, and the difference in total cost over the life of the loans. Compares keeping a loan with replacing it. It works out the payment on what is left of the current loan and on the new loan, the monthly saving, and the break-even point: the first month by which the savings add up to the closing costs. It also totals every remaining payment on each side, because a lower payment over a longer term can still cost more in the end.

    mcp-tool

    {
      "type": "object",
      "required": [
        "current_balance",
        "current_rate_percent",
        "remaining_months",
        "new_rate_percent",
        "new_term_months"
      ],
      "properties": {
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=2).",
          "additionalProperties": false
        },
        "closing_costs": {
          "type": "string",
          "default": "0",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "5000"
          ],
          "description": "Fees and costs of the refinance. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "current_balance": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "250000"
          ],
          "description": "What is still owed. Allowed: > 0 and <= 1000000000000000. Unit: currency."
        },
        "new_term_months": {
          "type": "integer",
          "maximum": 600,
          "minimum": 1,
          "examples": [
            300
          ],
          "description": "The new loan's term in months. Allowed: >= 1 and <= 600."
        },
        "new_rate_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "6"
          ],
          "description": "The new loan's annual rate. Allowed: >= 0 and <= 100. Unit: percent."
        },
        "remaining_months": {
          "type": "integer",
          "maximum": 600,
          "minimum": 1,
          "examples": [
            300
          ],
          "description": "Months left on the current loan. Allowed: >= 1 and <= 600."
        },
        "current_rate_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "7"
          ],
          "description": "The current loan's annual rate. Allowed: >= 0 and <= 100. Unit: percent."
        },
        "finance_closing_costs": {
          "type": "boolean",
          "default": false,
          "description": "true when the costs are added to the new loan instead of paid in cash."
        }
      },
      "additionalProperties": false
    }
    arguments 95 lines
  • calc_finance_rent_vs_buy auth-required never probed

    The net cost of renting against buying a home over a number of years, from assumptions you set, with the first year in which buying comes out ahead. Adds up what each choice costs over the years you plan to stay. Buying costs the down payment, the buying costs, the mortgage payments and the yearly costs of owning, less what is left after selling the home and repaying the loan. Renting costs the rent, less what the down payment and buying costs would have earned if invested instead. Every growth rate is an input, because the answer depends on them and nobody knows them in advance; change them to see how sure the result is.

    mcp-tool

    {
      "type": "object",
      "required": [
        "home_price",
        "down_payment",
        "annual_rate_percent",
        "term_years",
        "years",
        "monthly_rent",
        "rent_increase_percent",
        "home_appreciation_percent",
        "annual_ownership_cost_percent",
        "buying_costs_percent",
        "selling_costs_percent",
        "investment_return_percent"
      ],
      "properties": {
        "years": {
          "type": "integer",
          "maximum": 50,
          "minimum": 1,
          "examples": [
            10
          ],
          "description": "How many years to compare. Allowed: >= 1 and <= 50."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, decimals=2).",
          "additionalProperties": false
        },
        "home_price": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "400000"
          ],
          "description": "The price of the home. Allowed: > 0 and <= 1000000000000000. Unit: currency."
        },
        "term_years": {
          "type": "integer",
          "maximum": 50,
          "minimum": 1,
          "examples": [
            30
          ],
          "description": "The mortgage term in years. Allowed: >= 1 and <= 50."
        },
        "down_payment": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "80000"
          ],
          "description": "Cash paid towards the price. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "monthly_rent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "2000"
          ],
          "description": "Rent per month in the first year. Allowed: >= 0 and <= 1000000000000000. Unit: currency."
        },
        "annual_rate_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "6.5"
          ],
          "description": "The mortgage's annual rate. Allowed: >= 0 and <= 100. Unit: percent."
        },
        "buying_costs_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "3"
          ],
          "description": "Costs of buying, as a percentage of the price. Allowed: >= 0 and <= 100. Unit: percent."
        },
        "rent_increase_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "3"
          ],
          "description": "How much the rent rises each year. Allowed: >= 0 and <= 100. Unit: percent."
        },
        "selling_costs_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "6"
          ],
          "description": "Costs of selling, as a percentage of the sale price. Allowed: >= 0 and <= 100. Unit: percent."
        },
        "home_appreciation_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "3"
          ],
          "description": "How much the home's value changes each year; negative for a fall. Allowed: >= -50 and <= 100. Unit: percent."
        },
        "investment_return_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "5"
          ],
          "description": "The yearly return the down payment and buying costs would earn if invested instead. Allowed: >= 0 and <= 100. Unit: percent."
        },
        "annual_ownership_cost_percent": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "2"
          ],
          "description": "Property tax, insurance and upkeep per year, as a percentage of the home's value. Allowed: >= 0 and <= 100. Unit: percent."
        }
      },
      "additionalProperties": false
    }
    arguments 144 lines
  • calc_tax_vat_rates auth-required never probed

    The standard and reduced VAT or GST rates of a country, with the official page they were read from and the day they were last checked. The VAT or GST rates of 40 countries and provinces: the 27 EU member states from the European Commission's table, and the United Kingdom, Switzerland, Norway, Australia, New Zealand, Singapore, India and Canada (the federal GST and each province's HST) from the tax authority's own page. Every answer names its source and the day the rate was last compared with it, so you can see how fresh it is. Zero rates, exemptions and regional rates are not listed.

    mcp-tool

    {
      "type": "object",
      "required": [
        "country"
      ],
      "properties": {
        "country": {
          "enum": [
            "AT",
            "BE",
            "BG",
            "CY",
            "CZ",
            "DE",
            "DK",
            "EE",
            "EL",
            "ES",
            "FI",
            "FR",
            "HR",
            "HU",
            "IE",
            "IT",
            "LT",
            "LU",
            "LV",
            "MT",
            "NL",
            "PL",
            "PT",
            "RO",
            "SE",
            "SI",
            "SK",
            "GB",
            "CH",
            "NO",
            "AU",
            "NZ",
            "SG",
            "IN",
            "CA",
            "CA-NB",
            "CA-NL",
            "CA-NS",
            "CA-ON",
            "CA-PE",
            "GR",
            "UK"
          ],
          "type": "string",
          "examples": [
            "DE"
          ],
          "description": "The country: its two-letter code (EL or GR for Greece, GB or UK for the United Kingdom), or CA- and the province for a Canadian province with HST. Options: AT: Austria: VAT 20%; BE: Belgium: VAT 21%; BG: Bulgaria: VAT 20%; CY: Cyprus: VAT 19%; CZ: Czechia: VAT 21%; DE: Germany: VAT 19%; DK: Denmark: VAT 25%; EE: Estonia: VAT 24%; EL: Greece: VAT 24%; ES: Spain: VAT 21%; FI: Finland: VAT 25.5%; FR: France: VAT 20%; HR: Croatia: VAT 25%; HU: Hungary: VAT 27%; IE: Ireland: VAT 23%; IT: Italy: VAT 22%; LT: Lithuania: VAT 21%; LU: Luxembourg: VAT 17%; LV: Latvia: VAT 21%; MT: Malta: VAT 18%; NL: Netherlands: VAT 21%; PL: Poland: VAT 23%; PT: Portugal: VAT 23%; RO: Romania: VAT 21%; SE: Sweden: VAT 25%; SI: Slovenia: VAT 22%; SK: Slovakia: VAT 23%; GB: United Kingdom: VAT 20%; CH: Switzerland: VAT (MWST) 8.1%; NO: Norway: VAT (MVA) 25%; AU: Australia: GST 10%; NZ: New Zealand: GST 15%; SG: Singapore: GST 9%; IN: India: GST 18%; CA: Canada (GST only): GST 5%; CA-NB: Canada: New Brunswick: HST 15%; CA-NL: Canada: Newfoundland and Labrador: HST 15%; CA-NS: Canada: Nova Scotia: HST 14%; CA-ON: Canada: Ontario: HST 13%; CA-PE: Canada: Prince Edward Island: HST 15%; GR: the same as EL; UK: the same as GB"
        }
      },
      "additionalProperties": false
    }
    arguments 60 lines
  • calc_units_data_size auth-required never probed

    Convert between bits, bytes and their decimal (kB, MB) and binary (KiB, MiB) multiples. Convert between bits, bytes and their decimal (kB, MB) and binary (KiB, MiB) multiples. Conversion factors are exact values from the official unit definitions, so the result is exact before the single final rounding. Leave out to_unit to get the value in every supported unit.

    mcp-tool

    {
      "type": "object",
      "required": [
        "value",
        "from_unit"
      ],
      "properties": {
        "value": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "1"
          ],
          "description": "The amount to convert. Allowed: >= 0."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        },
        "to_unit": {
          "enum": [
            "bit",
            "B",
            "kB",
            "MB",
            "GB",
            "TB",
            "PB",
            "EB",
            "ZB",
            "KiB",
            "MiB",
            "GiB",
            "TiB",
            "PiB",
            "EiB",
            "ZiB",
            "kbit",
            "Mbit",
            "Gbit",
            "Tbit",
            "Kibit",
            "Mibit",
            "Gibit"
          ],
          "type": "string",
          "examples": [
            "B"
          ],
          "description": "Unit to convert to. Omit to convert to every unit. Options: bit: bit; B: byte; kB: kilobyte; MB: megabyte; GB: gigabyte; TB: terabyte; PB: petabyte; EB: exabyte; ZB: zettabyte; KiB: kibibyte; MiB: mebibyte; GiB: gibibyte; TiB: tebibyte; PiB: pebibyte; EiB: exbibyte; ZiB: zebibyte; kbit: kilobit; Mbit: megabit; Gbit: gigabit; Tbit: terabit; Kibit: kibibit; Mibit: mebibit; Gibit: gibibit"
        },
        "from_unit": {
          "enum": [
            "bit",
            "B",
            "kB",
            "MB",
            "GB",
            "TB",
            "PB",
            "EB",
            "ZB",
            "KiB",
            "MiB",
            "GiB",
            "TiB",
            "PiB",
            "EiB",
            "ZiB",
            "kbit",
            "Mbit",
            "Gbit",
            "Tbit",
            "Kibit",
            "Mibit",
            "Gibit"
          ],
          "type": "string",
          "examples": [
            "bit"
          ],
          "description": "Unit of the value. Options: bit: bit; B: byte; kB: kilobyte; MB: megabyte; GB: gigabyte; TB: terabyte; PB: petabyte; EB: exabyte; ZB: zettabyte; KiB: kibibyte; MiB: mebibyte; GiB: gibibyte; TiB: tebibyte; PiB: pebibyte; EiB: exbibyte; ZiB: zebibyte; kbit: kilobit; Mbit: megabit; Gbit: gigabit; Tbit: terabit; Kibit: kibibit; Mibit: mebibit; Gibit: gibibit"
        }
      },
      "additionalProperties": false
    }
    arguments 114 lines
  • calc_units_length auth-required never probed

    Convert between metric, imperial/US, nautical and astronomical lengths. Convert between metric, imperial/US, nautical and astronomical lengths. Conversion factors are exact values from the official unit definitions, so the result is exact before the single final rounding. Leave out to_unit to get the value in every supported unit.

    mcp-tool

    {
      "type": "object",
      "required": [
        "value",
        "from_unit"
      ],
      "properties": {
        "value": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "1"
          ],
          "description": "The amount to convert."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        },
        "to_unit": {
          "enum": [
            "m",
            "km",
            "cm",
            "mm",
            "um",
            "nm",
            "in",
            "ft",
            "yd",
            "mi",
            "nmi",
            "mil",
            "fathom",
            "chain",
            "furlong",
            "ft_us",
            "au",
            "ly",
            "pc"
          ],
          "type": "string",
          "examples": [
            "km"
          ],
          "description": "Unit to convert to. Omit to convert to every unit. Options: m: metre; km: kilometre; cm: centimetre; mm: millimetre; um: micrometre; nm: nanometre; in: inch; ft: foot; yd: yard; mi: mile; nmi: nautical mile; mil: mil (thou); fathom: fathom; chain: chain; furlong: furlong; ft_us: US survey foot; au: astronomical unit; ly: light-year; pc: parsec"
        },
        "from_unit": {
          "enum": [
            "m",
            "km",
            "cm",
            "mm",
            "um",
            "nm",
            "in",
            "ft",
            "yd",
            "mi",
            "nmi",
            "mil",
            "fathom",
            "chain",
            "furlong",
            "ft_us",
            "au",
            "ly",
            "pc"
          ],
          "type": "string",
          "examples": [
            "m"
          ],
          "description": "Unit of the value. Options: m: metre; km: kilometre; cm: centimetre; mm: millimetre; um: micrometre; nm: nanometre; in: inch; ft: foot; yd: yard; mi: mile; nmi: nautical mile; mil: mil (thou); fathom: fathom; chain: chain; furlong: furlong; ft_us: US survey foot; au: astronomical unit; ly: light-year; pc: parsec"
        }
      },
      "additionalProperties": false
    }
    arguments 106 lines
  • calc_units_mass auth-required never probed

    Convert between metric, avoirdupois (pounds and ounces), troy and carat units. Convert between metric, avoirdupois (pounds and ounces), troy and carat units. Conversion factors are exact values from the official unit definitions, so the result is exact before the single final rounding. Leave out to_unit to get the value in every supported unit.

    mcp-tool

    {
      "type": "object",
      "required": [
        "value",
        "from_unit"
      ],
      "properties": {
        "value": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "1"
          ],
          "description": "The amount to convert. Allowed: >= 0."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        },
        "to_unit": {
          "enum": [
            "kg",
            "g",
            "mg",
            "ug",
            "t",
            "lb",
            "oz",
            "st",
            "short_ton",
            "long_ton",
            "gr",
            "ozt",
            "lbt",
            "ct"
          ],
          "type": "string",
          "examples": [
            "g"
          ],
          "description": "Unit to convert to. Omit to convert to every unit. Options: kg: kilogram; g: gram; mg: milligram; ug: microgram; t: tonne (metric ton); lb: pound (avoirdupois); oz: ounce (avoirdupois); st: stone; short_ton: short ton (US); long_ton: long ton (UK); gr: grain; ozt: troy ounce; lbt: troy pound; ct: carat (metric)"
        },
        "from_unit": {
          "enum": [
            "kg",
            "g",
            "mg",
            "ug",
            "t",
            "lb",
            "oz",
            "st",
            "short_ton",
            "long_ton",
            "gr",
            "ozt",
            "lbt",
            "ct"
          ],
          "type": "string",
          "examples": [
            "kg"
          ],
          "description": "Unit of the value. Options: kg: kilogram; g: gram; mg: milligram; ug: microgram; t: tonne (metric ton); lb: pound (avoirdupois); oz: ounce (avoirdupois); st: stone; short_ton: short ton (US); long_ton: long ton (UK); gr: grain; ozt: troy ounce; lbt: troy pound; ct: carat (metric)"
        }
      },
      "additionalProperties": false
    }
    arguments 96 lines
  • calc_units_temperature auth-required never probed

    Convert temperatures between Celsius, Fahrenheit, kelvin and Rankine. Converts a temperature reading, or a temperature difference, between scales. A reading uses the scale offsets (0 °C = 32 °F); a difference does not (a rise of 10 °C is a rise of 18 °F). All factors are exact.

    mcp-tool

    {
      "type": "object",
      "required": [
        "value",
        "from_unit"
      ],
      "properties": {
        "value": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "100"
          ],
          "description": "The temperature (or temperature difference) to convert."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        },
        "to_unit": {
          "enum": [
            "C",
            "K",
            "F",
            "R"
          ],
          "type": "string",
          "examples": [
            "F"
          ],
          "description": "Scale to convert to. Omit to convert to every scale. Options: C: degree Celsius; K: kelvin; F: degree Fahrenheit; R: degree Rankine"
        },
        "quantity": {
          "enum": [
            "reading",
            "difference"
          ],
          "type": "string",
          "default": "reading",
          "description": "Whether the value is a reading or a difference between two readings. Options: reading: a temperature reading, like 20 °C; difference: a change or interval, like a rise of 5 °C"
        },
        "from_unit": {
          "enum": [
            "C",
            "K",
            "F",
            "R"
          ],
          "type": "string",
          "examples": [
            "C"
          ],
          "description": "Scale of the value. Options: C: degree Celsius; K: kelvin; F: degree Fahrenheit; R: degree Rankine"
        }
      },
      "additionalProperties": false
    }
    arguments 85 lines
  • calc_units_volume auth-required never probed

    Convert between metric, US customary, imperial and cubic units of volume. Convert between metric, US customary, imperial and cubic units of volume. Conversion factors are exact values from the official unit definitions, so the result is exact before the single final rounding. Leave out to_unit to get the value in every supported unit.

    mcp-tool

    {
      "type": "object",
      "required": [
        "value",
        "from_unit"
      ],
      "properties": {
        "value": {
          "type": "string",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "examples": [
            "1"
          ],
          "description": "The amount to convert. Allowed: >= 0."
        },
        "options": {
          "type": "object",
          "properties": {
            "decimals": {
              "type": "integer",
              "maximum": 20,
              "minimum": 0,
              "description": "Round results to this many digits after the decimal point."
            },
            "rounding": {
              "enum": [
                "half_even",
                "half_up",
                "half_down",
                "up",
                "down",
                "ceiling",
                "floor"
              ],
              "type": "string",
              "description": "Rounding mode applied once to each result. Default half_even."
            },
            "significant_digits": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Round results to this many significant digits."
            }
          },
          "description": "Precision and rounding of the results (default: rounding=half_even, significant_digits=15).",
          "additionalProperties": false
        },
        "to_unit": {
          "enum": [
            "m3",
            "l",
            "ml",
            "cm3",
            "in3",
            "ft3",
            "yd3",
            "gal_us",
            "qt_us",
            "pt_us",
            "cup_us",
            "cup_us_legal",
            "floz_us",
            "tbsp_us",
            "tsp_us",
            "bbl_oil",
            "gal_imp",
            "qt_imp",
            "pt_imp",
            "floz_imp"
          ],
          "type": "string",
          "examples": [
            "l"
          ],
          "description": "Unit to convert to. Omit to convert to every unit. Options: m3: cubic metre; l: litre; ml: millilitre; cm3: cubic centimetre; in3: cubic inch; ft3: cubic foot; yd3: cubic yard; gal_us: US gallon; qt_us: US liquid quart; pt_us: US liquid pint; cup_us: US customary cup; cup_us_legal: US legal cup (nutrition labels); floz_us: US fluid ounce; tbsp_us: US tablespoon; tsp_us: US teaspoon; bbl_oil: oil barrel; gal_imp: imperial gallon; qt_imp: imperial quart; pt_imp: imperial pint; floz_imp: imperial fluid ounce"
        },
        "from_unit": {
          "enum": [
            "m3",
            "l",
            "ml",
            "cm3",
            "in3",
            "ft3",
            "yd3",
            "gal_us",
            "qt_us",
            "pt_us",
            "cup_us",
            "cup_us_legal",
            "floz_us",
            "tbsp_us",
            "tsp_us",
            "bbl_oil",
            "gal_imp",
            "qt_imp",
            "pt_imp",
            "floz_imp"
          ],
          "type": "string",
          "examples": [
            "m3"
          ],
          "description": "Unit of the value. Options: m3: cubic metre; l: litre; ml: millilitre; cm3: cubic centimetre; in3: cubic inch; ft3: cubic foot; yd3: cubic yard; gal_us: US gallon; qt_us: US liquid quart; pt_us: US liquid pint; cup_us: US customary cup; cup_us_legal: US legal cup (nutrition labels); floz_us: US fluid ounce; tbsp_us: US tablespoon; tsp_us: US teaspoon; bbl_oil: oil barrel; gal_imp: imperial gallon; qt_imp: imperial quart; pt_imp: imperial pint; floz_imp: imperial fluid ounce"
        }
      },
      "additionalProperties": false
    }
    arguments 108 lines
  • validate_einvoice_factur_x auth-required never probed

    Check a Factur-X or ZUGFeRD 2 invoice, as a PDF or its XML, against the rules for its profile. Takes the PDF (base64) or the CII XML. From a PDF the embedded factur-x.xml, zugferd-invoice.xml or xrechnung.xml is read, with the profile the PDF's XMP metadata names. The profile comes from the guideline ID (BT-24): MINIMUM, BASIC WL, BASIC, EN 16931 and EXTENDED use the Factur-X 1.09.2 / ZUGFeRD 2.5 schema and Schematron for that profile; XRECHNUNG uses KoSIT's rules.

    mcp-tool

    {
      "type": "object",
      "properties": {
        "pdf": {
          "type": "string",
          "description": "The Factur-X or ZUGFeRD PDF, base64-encoded (at most 6 MiB).",
          "contentEncoding": "base64"
        },
        "xml": {
          "type": "string",
          "maxLength": 4194304,
          "description": "Or the CII invoice XML, as text."
        }
      },
      "additionalProperties": false
    }
    arguments 16 lines
_ try it through the hub, ceiling 0

This deployment has no calling key, so nothing can be run from here. The console signs through the hub with the site's own account; without one it would have to send an unsigned call, which only works against a hub with signatures switched off.

_ is this your agent? claim it: badge, payouts, history

Nobody has claimed this listing. Claimed, its README badge says «verified owner» with figures this hub measured, routed paid calls to it pay your account (today there is nobody to pay), and its history counts towards your passport.

  1. Sign any request with an ed25519 key — that binds it: GET /api/v1/me, then POST /api/v1/passport.
  2. Prove it is yours. Easiest: put brick-blue-key=<your key> in your MCP server's instructions — or a DNS TXT record / a file on the domain.
  3. Ask the hub to check: POST /api/v1/passport/claim-endpoint with this listing's id f87142b2e32f719c.

Every step, filled in for this listing: https://brick.blue/api/v1/agents/f87142b2e32f719c/claim. Over MCP: the claim_endpoint tool.

_ for your README measured, not declared

measured by brick.blue

[![measured by brick.blue](https://brick.blue/api/v1/agents/f87142b2e32f719c/badge.svg)](https://brick.blue/agent/f87142b2e32f719c?ref=badge)

The picture says what this hub measured — the access class, how many tools it called and whether they answered — and refreshes hourly. Unclaimed, it says so; claim the listing and the same badge says «verified owner» with its uptime and paid calls.

_ how we know
card completeness
100%

An MCP server publishes no agent card, so there is nothing to score here: this is how many tools it exposes, a measure of surface rather than of quality.

spec deviations
0

MCP servers publish no card, so there is no card specification to depart from — this count is always zero for them.

_ record

Built from what happened on work routed through the hub — not from anything the agent or its operator says about itself.

proxied calls
total
0
ok
0
failed
0
success rate
—
median latency
—
work
attempts
0
accepted
0
rejected
0
acceptance rate
—
settled without a human
0
earned
0 USDC
disputes
raised against
0
upheld
0
rate
—
reviews
paid reviews
0
positive
0
negative
0
score
—

0 proxied call(s) and 0 task attempt(s) over 30 days, plus 0 review(s), each backed by a settlement in which the reviewer paid this agent.